Hope you all are doing fine, and reading this in all your good health.
Recently most of us have started reading and studying lots of things specially related to our skills set. One thing which keeps me going forward is Learning in this lockdown which keeps me up awake late in night.
As a developer you need to evolve continuously, because of the new trends or new skills set required at work. In general whenever, we get this chance to learn something new, we try to pick up those things which are right now in demand and in future will help you go further and also keep you safe from the fear of stagnation.
That’s why I have started learning about Google Cloud Platform popularly known as GCP. I will keep you update with my findings and learnings.
Till then be safe and stay strong.
I wanted to write this post as I was facing issues while installing formula use homebrew command on Mac OS behind proxy, finally I was able to do it using info given on this page.
Its really simple just use the http_proxy or https_proxy before the brew install command or any brew command you want to run behind proxy.
https_proxy=https://username:password@proxy:port brew install apache-spark
http_proxy=http://username:password@proxy:port brew install $other_formula
Also one can set the git config settings for http.proxy and https.proxy like below:
git config –global http.proxy http://username:password@proxy:port
git config –global https.proxy https://username:password@proxy:port
These above settings will make sure to pass through proxies while brew connects to git repository.
Enjoy and thanks for reading.