Skip to content

Instantly share code, notes, and snippets.

View jcxavier's full-sized avatar

João Xavier jcxavier

View GitHub Profile
@jcxavier
jcxavier / convert_particle.py
Last active August 29, 2015 14:03
Extract images from particles exported by ParticleDesigner
import gzip
import base64
from xml.dom import minidom
import sys
import os
if len(sys.argv) != 2:
print "usage:", sys.argv[0], " <pex-file|plist-file>"
exit(1)
@jcxavier
jcxavier / DBMS.java
Created December 16, 2011 16:31
Singleton database class for Android for quickly starting developing an application with a database being created from a SQL script
/*
* Copyright (C) 2011 João Xavier
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software