$ defaults write com.apple.screencapture location ~/Screenshots
$ killall SystemUIServer
This notebook is a collection of code snippets and technical "how to" instructions.
# REPO HEAD updated: February 13, 2018
function repo_reset()
{
source activate py27
cd ~/REPO/my-repo-name
pwd
#repo sync
repo forall -vc "git clean -xdf"
repo forall -vc "git reset --hard HEAD"
ls -alt
}
# ls with sort - updated: February 13, 2018
function list()
{
if [ "$1" != "" ]; then
ls -a $1 | sort
fi
ls -a | sort
}