Skip to content

Instantly share code, notes, and snippets.

View whazor's full-sized avatar

Nanne whazor

  • 18:27 (UTC +02:00)
View GitHub Profile
@ches
ches / pow
Created April 14, 2011 07:43
A quick script to switch between running Pow and Apache on OS X
#!/bin/sh -e
#/ Usage: pow [on|off]
#/ Toggle between running Pow (http://pow.cx) and Apache on Mac OS X.
# Show Usage
function usage {
grep '^#/' "$0" | cut -c4-
exit 2
}
[ -z "$1" -o "$1" = "--help" ] && usage