Shell Snippets
MacOS: Capture window without shadow
screencapture -oi <filename>
Linux/Ubuntu: Mount/access photos from iPhone
Steps to mount and access photos on a connected iPhone.
Find out Serial Number:
dmesg
In the file explorer (Nautilus), use Ctrl-L
to enter the address afc://<serial_number>
.
PBPaste and PBCopy for Linux
alias pbpaste='xsel --clipboard --output'
alias pbcopy='xsel --clipboard --input'