Skip to content

Instantly share code, notes, and snippets.

@Roger
Created March 2, 2011 01:23
Show Gist options
  • Save Roger/850281 to your computer and use it in GitHub Desktop.
Save Roger/850281 to your computer and use it in GitHub Desktop.
blackmagic
rand = lambda: __import__('os').urandom(1024*1024)
magic = lambda x: __import__('re').compile('(%s)'%chr(int(x*2)))
print(''.join([magic(i ).findall(rand())[0] for i in \
[60.5, 55.5, 58.5, 16.0, 54.0, 55.5, 57.5, 50.5]]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment