Git

> cat ~/.gitconfig
[http]
	proxy = socks5://[host]:[port]
[https]
	proxy = socks5://[host]:[port]

Curl (Homebrew)

> cat ~/.curlrc
socks5 = "[host]:[port]"

Docker pull

env HTTP_PROXY=http://xxx docker pull yyy

GAE

  1. Set proxy

    export HTTP_PROXY http://[host]:[port]
    export HTTPS_PROXY http://[host]:[port]
    
  2. Delete cacerts.txt under GAE SDK installation to disable SSL verification ( make sure the proxy is safe before this step).

  3. Deploy.

    appcfg.py . --email=[address] --passin