Yeah, oh.
Political rap.
Yo, yo.
Demon apathy.
Yo, zappity.
Get ready.
Government,
Where you went?
#!/usr/bin/env python | |
# Try to determine if a pile of text is American English or British English. | |
# Give it a list of files on standard input. e.g. find /usr/share/doc/python-doc | ./puddlejump.py | |
import fileinput | |
from os import path | |
from HTMLParser import HTMLParser | |
files = [] |
derp! :) |
Say you have someones public key at pubkey.pub
:
$ echo "potato" | openssl rsautl -encrypt -pubin -inkey <(ssh-keygen -f pubkey.pub -e -m PKCS8) -ssl | openssl base64
Now send the result to them, e.g. message.txt
, and they have their private key at ~/.ssh/id_rsa
$ cat message.txt | openssl base64 -d | openssl rsautl -decrypt -inkey ~/.ssh/id_rsa
export DATABASE_URL="`echo $DATABASE_URL | sed -e 's/^mysql:/mysql2:/'`" |