Skip to main content

macOS / OS X

Mac install sshpass
brew tap esolitos/ipa
brew install sshpass
Vagrant bash completion

brew install vagrant-completion

add to .bash_profile:

if [ -f `brew --prefix`/etc/bash_completion.d/vagrant ]; then
    source `brew --prefix`/etc/bash_completion.d/vagrant
fi
Ignore .DS_Store globally

echo ".DS_Store" > ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global

Update macOS DB File

/usr/libexec/locate.updatedb

Launch VS Code from Terminal

In VS Code do ⇧⌘P and type Shell Command: Install 'code' command in PATH
In Terminal, reload user source ~/.bash_profile

Find process PID by port

lsof -i tcp:8080

Mac equivalent to netstat -lntp

netstat -p tcp -van | grep LISTEN

Reset Final Cut Pro Trial

mv -v ~/Library/Application\ Support/.ffuserdata ~/.Trash