Skip to content

coltonfitzgerald/proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Developing while under a proxy

Node JS / NPM

Setting

$ npm config set proxy http://proxy.company.com:8080
$ npm config set https-proxy http://proxy.company.com:8080

Removing

$ npm config delete proxy
$ npm config delete https-proxy

Ruby

Quick Use

$ gem install --http-proxy http://proxy.company.com:8080

Setting

$ export http_proxy="http://example.proxy_name.com:80"
$ export ALL_PROXY="http://example.proxy_name.com:80"

Removing

$ unset http_proxy
$ unset ALL_PROXY

Git

Setting

$ git config --global http.proxy http://proxy.company.com:8080

Removing

$ git config --unset --global http.proxy

Curl

One Time Use

$ curl -x http://proxy.ccsd.net:8080 <command>

Setting (Add to ~/.curlrc)

proxy = example.proxy_name.com:80

Removing (Delete this line from ~/.curlrc)

proxy = example.proxy_name:80

##Bower (Add to bower.json)

"search": [
    "http://localhost:8000",
    "https://bower.herokuapp.com"
  ]

About

Commands to run when coding under a proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages