Skip to content

Instantly share code, notes, and snippets.

View askinss's full-sized avatar

Akinsola Akinwale askinss

  • Andela
  • Earth
View GitHub Profile
@ikennaokpala
ikennaokpala / full_proxy_setup.sh
Last active November 1, 2018 18:03
Behind enemy lines (full proxy setup)
Export your shell environment for http proxy use
export http_proxy="http://hostname:port" or save it to your shell profile. (i.e. ~/.bash_rc)
export http_proxy='http://example.proxy_name.com:80'
For multi-user installs, use sudo -E to preserve the proxy settings in your environment:
Setting git to use a proxy
git config --global url.https://github.com/.insteadOf git://github.com/
git config --global http.proxy %http_proxy%