Skip to content

Instantly share code, notes, and snippets.

@gngrwzrd
gngrwzrd / fix-xcode.py
Last active December 23, 2015 11:28 — forked from rnapier/fix-xcode
#!/usr/bin/python
#original script by Rob Napier <robnapier@gmail.com>
#updates by github.com/gngrwzrd
#Script to link in all your old SDKs every time you upgrade Xcode
#Create a directory somewhere to store older SDKs in
#Under it, put all the platform directories:
# MacOSX.platform iPhoneOS.platform iPhoneSimulator.platform
#Under those, store the SDKs:
@Boldewyn
Boldewyn / ttf2png.py
Created April 5, 2012 17:30
Convert font to a series of PNG images
#!/usr/bin/python
"""Convert all defined glyphs from a font to PNG images
Needs FontForge, ImageMagick and pngcrush installed."""
import fontforge as ff
import os
import subprocess
import sys