Skip to content

Instantly share code, notes, and snippets.

View HMPerson1's full-sized avatar

Michael Zhang HMPerson1

View GitHub Profile
@HMPerson1
HMPerson1 / keybase.md
Created May 4, 2017 00:15
Keybase GitHub Proof

Keybase proof

I hereby claim:

  • I am hmperson1 on github.
  • I am hmperson1 (https://keybase.io/hmperson1) on keybase.
  • I have a public key ASDSwbt-CYJ9D1G8Jdxkf84dxB9udF4rY2xSFBvGTvVbfAo

To claim this, I am signing this object:

@HMPerson1
HMPerson1 / main.py
Created February 16, 2018 18:54
Janky Python CFG Generator
#!/usr/bin/env python3
import dis
import opcode
import argparse
import io
OP_RETURN_VALUE = opcode.opmap['RETURN_VALUE']
OP_JUMP_ABSOLUTE = opcode.opmap['JUMP_ABSOLUTE']
OP_JUMP_FORWARD = opcode.opmap['JUMP_FORWARD']
@HMPerson1
HMPerson1 / nb.ipynb
Last active July 8, 2019 04:10
primer tweet
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
value = $0200 ; 2 bytes
; tmp1 is (tmp1H):Y:X
tmp1H = $0202 ; 1 bytes
tmp2 = $0203 ; 3 bytes
MOD10_LUT:
.byte 0
.byte 1
.byte FF