I find returning to terminal after a break from programming that the simple things sometimes are lost. This document's goal is to capture these, even if otherwise trivial.
$ /bin/ls . | wc -lCount all files, visible and hidden in folder
$ /bin/ls . -a | wc -lYou can delete large or troublesome files or blobs and remove them from repositories using git-filter-branch, howevever, BFG Repo-Cleaner is faster http://rtyley.github.io/bfg-repo-cleaner/
brew cask install java
brew install bfg
cd ~/project
git pull
rm troubesomefile.txt
git push origin master
bfg --deletefiles troublesomefile.txt
git push origin master
$ ipconfig getifaddr en0$ ipconfig getifaddr en0$ curl http://ipecho.net/plain; echo$ sudo mdutil -E /Volumes/DriveName$ /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain useras per http://osxdaily.com/2012/07/18/convert-dmg-to-cdr-or-iso-with-disk-utility/
hdiutil convert /path/imagefile.cdr -format UDTO -o /path/convertedimage.iso
plutil -convert xml1 /path/to/file.plist
plutil -convert binary1 /path/to/file.plist