Skip to content

Instantly share code, notes, and snippets.

@jesskay
jesskay / rot13words.py
Created May 13, 2017 07:36
Python 3 script to find all words that rot13 to other words (and the word list produced - input list taken from /usr/share/dict/words on Ubuntu, omitted because it's like 100K lines long)
#!/usr/bin/env python
rot13_trans = {ord(x): y for (x, y) in zip(
"abcdefghijklmnopqrstuvwxyz",
"nopqrstuvwxyzabcdefghijklm")}
def main():
with open('wordlist.txt', 'r') as wordlist:
words = [word.lower() for word in wordlist.read().splitlines()]
for word in words:
@jesskay
jesskay / keybase.md
Created April 19, 2017 13:30
Keybase identity proof

Keybase proof

I hereby claim:

  • I am jesskay on github.
  • I am homomculus (https://keybase.io/homomculus) on keybase.
  • I have a public key ASDDVTreBByYdmpVQwFqvjR4jX8-E7sQ7rCFW4oLcLGfIAo

To claim this, I am signing this object: