Skip to content

Instantly share code, notes, and snippets.

View shubhamshuklaer's full-sized avatar

Shubham Shukla shubhamshuklaer

View GitHub Profile
@shubhamshuklaer
shubhamshuklaer / npm_proxy_settings.md
Created May 2, 2016 08:24
Proxy settings for npm
  • sudo npm set -g proxy http://user:pass@proxy:port
  • sudo npm set -g https-proxy http://user:pass@proxy:port
  • Set http_proxy and https_proxy environment variable to http://user:pass@proxy:port
  • Do not use https instead of http in https_proxy and https-proxy, it causes problem.
@shubhamshuklaer
shubhamshuklaer / gradle.properties
Created May 2, 2016 08:21
Android gradle proxy settings
systemProp.http.proxyHost=proxy
systemProp.http.proxyPort=port
systemProp.http.proxyUser=user
systemProp.http.proxyPassword=pass
systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
systemProp.https.proxyHost=proxy
systemProp.https.proxyPort=port
systemProp.https.proxyUser=user
systemProp.https.proxyPassword=pass