Skip to content

Instantly share code, notes, and snippets.

View tagplus5's full-sized avatar

tagplus5 tagplus5

View GitHub Profile
tagplus5 /
Created April 3, 2022 06:53 — forked from skrajewski/
Automate your macOS backup to Backblaze B2 using Restic and launchd.
if [ -f "$PID_FILE" ]; then
if ps -p $(cat $PID_FILE) > /dev/null; then
echo $(date +"%Y-%m-%d %T") "File $PID_FILE exist. Probably backup is already in progress."
exit 1
tagplus5 /
Created February 25, 2023 10:41 — forked from squarism/
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)