Skip to content

Instantly share code, notes, and snippets.

View ellji's full-sized avatar

Chris Hayward ellji

  • Perth, Australia
View GitHub Profile
@ellji
ellji / keybase.md
Created April 14, 2015 23:47
keybase.md

Keybase proof

I hereby claim:

  • I am ellji on github.
  • I am chrishayward (https://keybase.io/chrishayward) on keybase.
  • I have a public key whose fingerprint is 05BB 6E51 2976 DB74 E021 0710 56C9 F650 5BFE 4C0D

To claim this, I am signing this object:

@ellji
ellji / html_unpacker.py
Last active August 29, 2015 14:14
html_unpacker.py
#!/usr/bin/python
""" this script
1 . unpacks a zip file
2 . looks for html files
3 . grabs all the image/wav file references
4 . lowercases them and puts it back in the file
5 . repacks the zip
"""
/*
* Copyright (c) 2013 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining