$ export https_proxy='87.248.188.202:8080'
$ export http_proxy='87.248.188.202:8080'
$ curl https://icanhazip.com
87.248.188.202
$ curl http://icanhazip.com
87.248.188.202
$ curl -sS https://getcomposer.org/installer | php
(alternative: just download https://getcomposer.org/composer.phar
, duh)
$ php composer.phar diagnose
@wagnermarques sorry man, this gist was notes I wrote down 6 years ago to solve a specific issue I had, I know nothing more than what is written here :)