This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# Usage: $0 proxy.pac url | |
import pacparser | |
import sys | |
import urlparse | |
pacfile, url = sys.argv[1:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
diskutil erasevolume HFS+ "BuildDisk" `hdiutil attach -nomount ram://9323440` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |