Brew

List installed brew packages

brew list

Uninstall a package installed via brew

brew uninstall <package_name>

List services

$ brew services list
Name  Status  User        Plist
redis started anuragkapur /Users/anuragkapur/Library/LaunchAgents/homebrew.mxcl.redis.plist

Disable apple security that prevents packages by unidentified developers from being opened (tested on macOS Sierra)

$ sudo spctl --master-disable
$ sudo spctl --master-enable

Utilities

Find process using a specific port

$ sudo lsof -i tcp:8080