Skip to content

Instantly share code, notes, and snippets.

View qyzhaojinxi's full-sized avatar
🎯
Focusing

EricZhao qyzhaojinxi

🎯
Focusing
  • 北京
View GitHub Profile
@qyzhaojinxi
qyzhaojinxi / mvunpack.py
Created May 30, 2026 14:06 — forked from requiredinformation/mvunpack.py
Quick and dirty RPGMaker MV asset decryptor (decrypts www/img/*.rpgmvp and www/audio/*.rpgmvo)
#!/usr/bin/env python3
import glob
import json
import sys
import shutil
import os
#this might change, not sure, but probably not since 16 is a great number
HEADER_LENGTH = 16
@qyzhaojinxi
qyzhaojinxi / dummy-web-server.py
Created April 12, 2018 06:34 — forked from bradmontgomery/dummy-web-server.py
a minimal http server in python. Responds to GET, HEAD, POST requests, but will fail on anything else.
#!/usr/bin/env python
"""
Very simple HTTP server in python.
Usage::
./dummy-web-server.py [<port>]
Send a GET request::
curl http://localhost
GET /plus/v2whitelisted/people/lookup?includePeople=1&includeGal=1&type=phone&fields=kind,items(id,metadata(objectType,plusPageType,attributions),names,phoneNumbers(value,type,formattedType,canonicalizedForm),addresses(value,type,formattedType),images(url,metadata(container)),urls(value),placeDetails)&includePlaces=1&callType=outgoing&id=%2B441934834343 HTTP/1.1
Authorization: Bearer xxxxxxxxxREDACTEDxxxxxxxxxxxxx
User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; Nexus 6 Build/MMB29S)
Host: www.googleapis.com
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Expires: Fri, 29 Jan 2016 12:47:28 GMT