Skip to content

Instantly share code, notes, and snippets.

@valorad
Created October 22, 2017 02:21
Show Gist options
  • Save valorad/a1a952fe655f4aa507b2e360c2a8bce6 to your computer and use it in GitHub Desktop.
Save valorad/a1a952fe655f4aa507b2e360c2a8bce6 to your computer and use it in GitHub Desktop.
magical crossover
# .bashrc
mcross() {
export http_proxy=http://127.0.0.1:1080;
export https_proxy=http://127.0.0.1:1080;
}
mback() {
unset http_proxy;
unset https_proxy;
}
# usage
mcross # open up magical crossover via port specified
mback # shut down magical cross over
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment