Useful bits.
date -Iseconds
creates an ISO 8601 timestamp with seconds; e.g. pbpaste > "SubscriberNetworkConnectivityTests-Logs/tests-$(date -Iseconds).txt"
base64 -d | xxd -ps -c0
tmux save-buffer foo.txt
saves the tmux “clipboard” to a file-w
in git show
etc to ignore whitespace — this really helps with changes that have huge amounts of indentation changesorigin/HEAD
: git remote set-head origin -a
git cherry-pick -m1 0064f74f473d4af3b5f51cfda9b697d2e8cba15f
exiftool -a foo.pdf