Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
## Install Java Development Kit (JDK) without all the junk
# Strips the non-jdk stuff (Updater, Applet, Web Start, file associations) out of the installer.
# NB: this also removes the pre-installation checks and will install the JDK unconditionally
# to /Library/Java/JavaVirtualMachines/ with possible but unlikely dire consequences
@leovandriel
leovandriel / gist:3775603
Created September 24, 2012 11:53
Xcode Run Script for building static framework for Cocoa Touch iOS
# Xcode Run Script for building iOS static framework.
# Requires a preconfigured Cocoa Touch Static Library.
# Usage:
# 1. Open project > Add Target > iOS Aggregate > Finish
# 2. Add Build Phase > Add Run Script > Paste
# 3. Manually assign PROJECT, TARGET, HEADERS, PRODUCT, OUTPUT
# 4. Run outputs to ${SRCROOT}/build
#
# License: Public Domain
# Author: Leonard van Driel, 2012