Skip to content

Instantly share code, notes, and snippets.


Sanqui Sanqui

Block or report user

Report or block Sanqui

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
import colorsys
import png
import datamijn
from datamijn import dmtypes
VGATLAS_DIR = "/home/sanqui/romhacking/vgatlas/vgatlas"
name = "pokered"
rom_filename = "pokered.gbc"
View gist:5ed5c51ec913171d662201734800b45d
143245| sanqui@kuriputoraido:~ $ /home/sanqui/Downloads/Telegram/Telegram
Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig error: line 6: invalid attribute 'translate'
Fontconfig error: line 6: invalid attribute 'selector'
Fontconfig error: line 7: invalid attribute 'xmlns:its'
Fontconfig error: line 7: invalid attribute 'version'
Fontconfig warning: line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
View pokered-arrays_diff.diff
diff --git a/constants.asm b/constants.asm
index 0b24ea0..58339bc 100644
--- a/constants.asm
+++ b/constants.asm
@@ -30,3 +30,8 @@ INCLUDE "constants/credits_constants.asm"
INCLUDE "constants/music_constants.asm"
INCLUDE "constants/tilesets.asm"
INCLUDE "constants/starter_mons.asm"
+INCLUDE "constants/misc.asm"
import struct
from sys import argv, stderr
from gbaddr import gbaddr, gbswitch
def readbyte(): return struct.unpack("B",[0]
def readshort(): return struct.unpack("<H",[0]
rom = open(argv[1], "rb")
# TODO load symfile
from sys import argv
def gbaddr(arg):
if ":" in arg:
bank, pointer = arg.split(":")
bank = int(bank, 16)
pointer = int(pointer, 16)
address = None
if bank == 0 and pointer < 0x4000:
Sanqui / dlxasm.lang.xml
Created Nov 28, 2016
dlx asm syntax highlighting for gedit. sudo cp dlxasm.lang /usr/share/gtksourceview-3.0/language-specs/
View dlxasm.lang.xml
<?xml version="1.0" encoding="UTF-8"?>
Author: Sanqui
License: Public domain
<language id="dlxasm" _name="dlxasm" version="2.0" _section="Sources">
<property name="mimetypes">text/x-dlxasm</property>
Sanqui /
Last active Dec 7, 2015
Setting up Let's Encrypt with nginx

The Let's Encrypt client doesn't have an automatic module for nginx yet. But don't worry, it's super easy anyway!

First of all, install letsencrypt-auto:

git clone
cd letsencrypt

Next, we'll run letsencrypt-auto once with no action: this will only install dependencies.

View cards.yaml
- name: Venusaur
lv: 56
hp: 140
type: Grass
weakess: Fire
retreatcost: 4
- name: Giga Drain
- energy: GG**

Keybase proof

I hereby claim:

  • I am sanqui on github.
  • I am sanqui ( on keybase.
  • I have a public key whose fingerprint is C55A D67C 92CF 682F D641 45CF E9AE D11B F096 3207

To claim this, I am signing this object:

Sanqui / 0_tables
Last active Aug 29, 2015
pokedex game data table extravaganza
View 0_tables
"A game-specific physical instance of a location_area"
* location_area
* version_collection (?)
* width
* height
"A physical connection between two maps"
* map0
You can’t perform that action at this time.