http://orteil.dashnet.org/cookieclicker/
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
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger ([email protected]) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
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
from django.utils import simplejson | |
from django.http import HttpResponse | |
class JsonResponse(HttpResponse): | |
""" | |
JSON response | |
""" | |
def __init__(self, content, mimetype='application/json', status=None, content_type=None): | |
super(JsonResponse, self).__init__( | |
content=simplejson.dumps(content), |
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
<!-- Iterate N times (replace N with a number --> | |
{% for i in "x"|ljust:"N" %} | |
<!-- Access numeric variable (0-based index) --> | |
{{ forloop.counter0 }} | |
<!-- Access numeric variable (1-based index) --> | |
{{ forloop.counter }} | |
{% endfor %} | |
<!-- For example, iterate from 0 to 3 --> |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"breadcrumbs.enabled": true, | |
"editor.acceptSuggestionOnEnter": "on", | |
"editor.detectIndentation": false, | |
"editor.fontFamily": "'Source Code Pro', Menlo, Consolas, Courier, monospace", | |
"editor.fontSize": 11, | |
"editor.formatOnSave": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.quickSuggestions": { |