Skip to content

Instantly share code, notes, and snippets.

View tuxpeople's full-sized avatar

Thomas Deutsch tuxpeople

View GitHub Profile
@monkeydom
monkeydom / applestorede.sh
Created March 24, 2011 21:02
Apple store is down script
#!/bin/bash
WaitForDown=true
while true; do
StoreUp=`curl -s http://store.apple.com/de | grep "Mac kaufen" | wc -l`
if [ $StoreUp -eq 0 ]; then
if $WaitForDown; then
@monkeydom
monkeydom / EraseAndCreateBuildDisk.sh
Created February 8, 2012 12:19
Script to create build ramdisk on mac os x
#!/bin/sh
diskutil erasevolume HFS+ "BuildDisk" `hdiutil attach -nomount ram://9323440`
@digulla
digulla / proxy-pac-debug.py
Created August 29, 2013 12:41
Command line utility to test and debug proxy.pac files. Depends on https://code.google.com/p/pacparser/
#!/usr/bin/env python2
# Usage: $0 proxy.pac url
import pacparser
import sys
import urlparse
pacfile, url = sys.argv[1:]