Skip to content

Instantly share code, notes, and snippets.

Lukas superlukas

  • Germany
Block or report user

Report or block superlukas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
superlukas / util.zsh
Created Aug 21, 2014
Collection of convenience functions I use in all my .zshrc files
View util.zsh
function has {
which "$@" > /dev/null 2>&1
function server {
python -m SimpleHTTPServer "$@"
if ! [ "$#" = 1 -a -d "$1" ]; then
exit 1
cd "$1"
for sdk in iphoneos iphonesimulator; do
xcrun xcodebuild -project Xcode-iOS/SDL/SDL.xcodeproj -target libSDL \
if ! [ "$#" = 1 -a -d "$1" ]; then
exit 1
arch_ios="-arch armv7 -arch armv7s"
arch_simulator="-arch i386"
isysroot_ios="-isysroot $(xcrun --sdk iphoneos --show-sdk-path)"
You can’t perform that action at this time.