Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃

Vik Ramanujam vviikk

🙃
View GitHub Profile
@vviikk
vviikk / proxyscript.sh
Created May 27, 2016 — forked from kamermanpr/proxyscript.sh
Bash script to toggle proxy server settings for the terminal, git, and R based on network location setting (OSX)
View proxyscript.sh
#!/bin/bash
# By Peter Kamerman (peter.kamerman@gmail.com)
##########
# FUNCTION
##########
# Script to toggle the proxy configurations of the terminal, git, and R
# for use behind a proxy server (e.g., at work) and no proxy (e.g., home).
########################
# DISCLAIMER and LICENSE
########################