This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
letter_order = 'APZLGITYEOXUKSVN' | |
gg_order = [ | |
['A', 'E', 'P', 'O', 'Z', 'X', 'L', 'U'], | |
['G', 'K', 'I', 'S', 'T', 'V', 'Y', 'N'], | |
] | |
# returns the two game genie codes associated with the given input | |
def create_code(addr, data, cmp=None): | |
indices = [] | |
if cmp == None: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am fractal161 on github. | |
* I am fractal161 (https://keybase.io/fractal161) on keybase. | |
* I have a public key ASAuA3Cc7QuAdi6fimgmxEQDbxR6XBSDMmXWgZkc6K8lXAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Utility for merging orchestra parts in a printer-friendly manner | |
Motivation: print.mit.edu has an unfortunate quirk where only one document can | |
be uploaded at a time. This is quite inconvenient when printing a bunch of | |
orchestral parts because there are many instruments. | |
Only dependencies are python and the pypdf package. Its generic usage is of the | |
form |