Created
October 22, 2017 02:21
-
-
Save valorad/a1a952fe655f4aa507b2e360c2a8bce6 to your computer and use it in GitHub Desktop.
magical crossover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .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