I hereby claim:
- I am pak21 on github.
- I am pak21 (https://keybase.io/pak21) on keybase.
- I have a public key ASDx3nPSWh-qvSLCYipPG2vPVEEiavfQLd7wcy6zeiNy4Ao
To claim this, I am signing this object:
| 1//1;print("Hello from Python");""" | |
| console.log("Hello from node.js")/* | |
| """ | |
| #*/ |
| #!/usr/bin/env python3 | |
| import json | |
| import re | |
| bad_json_string = '{"key1":"This string contains the word (None) in parentheses","key2":None}' | |
| maybe_good_json_string = re.sub(r'(?<=\W)None(?=\W)|^None|None$', 'null', bad_json_string) | |
| good_json = json.loads(maybe_good_json_string) | |
| print(json.dumps(good_json)) |
| #!/usr/bin/env python3 | |
| RACE_DATA = { | |
| 'ork': { | |
| 'colour': 'green' | |
| }, | |
| 'human': { | |
| 'colour': 'pinkish' | |
| } | |
| } |
| #!/usr/bin/env python3 | |
| CAPACITIES = [9, 7, 4, 2] | |
| INITIAL_STATE = [9, 0, 0, 0] | |
| TARGET_STATE = [3, 3, 3, 0] | |
| todo = [INITIAL_STATE] | |
| seen = {tuple(INITIAL_STATE): []} | |
| while todo: |
I hereby claim:
To claim this, I am signing this object:
| diff --git a/z80/z80_ops.c b/z80/z80_ops.c | |
| index aba785c8..670d2687 100755 | |
| --- a/z80/z80_ops.c | |
| +++ b/z80/z80_ops.c | |
| @@ -332,6 +332,7 @@ z80_do_opcodes( void ) | |
| END_CHECK | |
| end_opcode: | |
| + printf("%04x\n", PC); | |
| PC++; R++; |