Skip to content

Instantly share code, notes, and snippets.

Anthony Bennett wolfhammer

  • Brown Paper Tickets
Block or report user

Report or block wolfhammer

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
View gist:e64ebf1138caffce8fa2
#
# "Wi-Fi" is the name of your internet service. View your OS X
# network settings to see a list of your services.
#
work-proxy () {
if [ "$1" == 'off' ]; then
networksetup -setsocksfirewallproxystate "Wi-Fi" off
kill $(ps aux | grep '[s]sh -Nf -D 7070 user@proxy.work.com' | awk '{print $2}')
else
ssh -Nf -D 7070 user@proxy.work.com
You can’t perform that action at this time.