Skip to content

Instantly share code, notes, and snippets.

Avatar

Angel Velásquez angvp

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am angvp on github.
  • I am angvp (https://keybase.io/angvp) on keybase.
  • I have a public key ASADVe7OWGqEHE9kIoMlVOIQIVmZTZuOQmJYVIpkg7MLFAo

To claim this, I am signing this object:

View spotifyplaylistparser.py
#!/usr/bin/python2
import sys
def convert(url):
return url.replace('https://player.spotify.com',
'spotify').replace('/', ':')
if __name__ == '__main__':
View keybase.md

Keybase proof

I hereby claim:

  • I am angvp on github.
  • I am angvp (https://keybase.io/angvp) on keybase.
  • I have a public key whose fingerprint is 4077 6A52 21EF 5AD4 68A4 906D 42A1 DB15 EC13 3BAD

To claim this, I am signing this object:

View random_text.py
from random import choice
def random_text():
wl = open('/usr/share/dict/words', 'r')
wordlist = wl.readlines()
wl.close()
# 2 palabras creo que esta bien
return "%s %s" % (choice(wordlist), choice(wordlist))
@angvp
angvp / delpyc.sh
Created Dec 17, 2012
Snippet to delete all the .pyc files on the current dir
View delpyc.sh
delpyc() {
find . -name "*.pyc" -delete
}
You can’t perform that action at this time.