Mac OS – Install Golang with Homebrew

# Install go/golang with homebrew brew install go –cross-compile-common # Set following env variables in ~/.bashrc or ~/.zshrc export GOPATH=$HOME/golang export GOROOT=/usr/local/opt/go/libexec export GOBIN=$GOPATH/bin export PATH=$PATH:$GOPATH export PATH=$PATH:$GOROOT/bin

Read more "Mac OS – Install Golang with Homebrew"

Mac OSX – How to open a port

Lets say you want to check if port 1234 is open, run the following command in the terminal. nmap is not available on mac osx by default.You can install it with Homebrew, my preferred package manager for mac osx. Visit homebrew site for instructions on Homebrew installation. nmap -p 1234 localhost This will output the status […]

Read more "Mac OSX – How to open a port"

Mac OS X – Lion

In case you have been wondering about the next release of Mac OSX, Apple has put up some details about the next member of the OSX family. The new born cub is called LION, Mac OS X Lion, Lion being 10.7 version of the Mac OS X clan. Interested to know more? Here are some […]

Read more "Mac OS X – Lion"