Skip to content

Instantly share code, notes, and snippets.

View categulario's full-sized avatar
🚲
Always remote

Abraham Toriz Cruz categulario

🚲
Always remote
View GitHub Profile
@categulario
categulario / xkcd.py
Created November 4, 2016 22:29
Downloads comics from xkcd.com
import requests
import os
import re
def get_line(iterator, condition):
counter = 0
for line in iterator:
if condition(line):
return line
counter += 1

Keybase proof

I hereby claim:

  • I am categulario on github.
  • I am categulario (https://keybase.io/categulario) on keybase.
  • I have a public key whose fingerprint is 5443 81E7 7008 CCC2 AEC3 1AA4 0DD5 A530 A716 D609

To claim this, I am signing this object:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@categulario
categulario / vimunstaged.sh
Created June 2, 2017 18:38
Open all unstaged (edited) files of repository as vim tabs
vimunstaged() {
vim -p $(git status -s | grep -E '^.(A|M)' | sed -E 's/^.{3}//')
}
@categulario
categulario / dijkstra_1.geojson
Last active June 10, 2017 06:35
Dijkstra's first result
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@categulario
categulario / map001.geojson
Last active June 12, 2017 20:46
First shortest path between two points using OSM's oneway tag
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@categulario
categulario / xalapa-rust.svg
Last active June 22, 2017 16:25 — forked from saibatizoku/xalapa-rust.svg
Propuesta de logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.