One liners, snippets & short code stuff that I’m always forgetting:

Passwordless SSH login:
Generate a key:

ssh-keygen -t rsa

Send the key to remote server


Finding iCloud Documents from Terminal
(doing a ln -s in Home Dir is helpful, wrap paths in quotes though because of spaces)

~/Library/Mobile\ Documents/com~apple~CloudDocs

Create a static copy of a dynamic website: 

wget -k -K -E -r -l 10 -p -N -F --restrict-file-names=windows -nH 

Renew a let’s encrypt certificate

sudo certbot [either --nginx or --apache] renew