I hereby claim:
- I am Sanqui on github.
- I am sanqui (https://keybase.io/sanqui) on keybase.
- I have a public key whose fingerprint is 1228 DF20 EE44 31F7 C932 FA02 C431 F762 0475 722A
To claim this, I am signing this object:
// how the hell do I do this | |
function script() { | |
this.turn_player() // instant action, so it's cool | |
this.speak("Hello!") // blocking - must wait for user input | |
answer = this.ask("Are you feeling well?") // uh oh... | |
if (answer) { // runtime condition | |
this.speak("That's nice!") //welp. | |
} | |
else { |
all: game.gb | |
game.o: game.asm | |
rgbasm -o game.o game.asm | |
game.gb: game.o | |
rgblink -n game.sym -m $*.map -o $@ $< | |
rgbfix -jv -i XXXX -k XX -l 0x33 -m 0x01 -p 0 -r 0 -t game $@ | |
clean: |
I hereby claim:
To claim this, I am signing this object:
map | |
"A game-specific physical instance of a location_area" | |
* location_area | |
* version_collection (?) | |
* width | |
* height | |
map_connection | |
"A physical connection between two maps" | |
* map0 |
I hereby claim:
To claim this, I am signing this object:
- name: Venusaur | |
lv: 56 | |
hp: 140 | |
type: Grass | |
weakess: Fire | |
resistance: | |
retreatcost: 4 | |
moves: | |
- name: Giga Drain | |
- energy: GG** |
; Option A: Using DCPU registers for storing 16-bit Z80 registers | |
; x, y, z, i = FA, BC, DE, HL | |
; reading B: ; cycles | |
; set a, y ; 1 | |
; shr a, 8 ; 2 | |
; reading C: | |
; set a, y ; 1 | |
; and a, 0x00ff ; 2 | |
; reading BC: | |
; set a, bc ; 1 |
from flask import request, url_for | |
# Supports multiple query args with the same key. | |
def url_for_here(**changed_args): | |
args = request.args.to_dict(flat=False) | |
args.update(request.view_args) | |
args.update(changed_args) | |
return url_for(request.endpoint, **args) | |
app.jinja_env.globals['url_for_here'] = url_for_here |
from flask import abort | |
# Callable decorator | |
def minpowerlevel(powerlevel): | |
def decorator(function): | |
@wraps(function) | |
def f(*args, **kvargs): | |
if g.user.powerlevel >= powerlevel: | |
return function(*args, **kvargs) | |
else: |
game: | |
tilesets: | |
- tileset: &tileset0 | |
name: Overworld | |
file: overworld.png | |
colisions: | |
[1, 0] | |
maps: | |
- map: &map0 |