Skip to content

Instantly share code, notes, and snippets.

View vviikk's full-sized avatar
🙃

Vik Ramanujam vviikk

🙃
View GitHub Profile
@vviikk
vviikk / proxyscript.sh
Created May 27, 2016 12:19 — forked from kamermanpr/proxyscript.sh
Bash script to toggle proxy server settings for the terminal, git, and R based on network location setting (OSX)
#!/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
########################