Skip to content

Instantly share code, notes, and snippets.


Craig Anderson intrepidws

View GitHub Profile


Generate an SSH key, using PEM (and not the new default RFC4716): ssh-keygen -m PEM -t rsa -b 4096 -C ""

For an older key that needs to be converted to PEM, run this: ssh-keygen -p -m PEM -f ~/.ssh/id_rsa

To copy the public key to the clipboard, do: pbcopy < ~/.ssh/

intrepidws /
Created Oct 16, 2019 — forked from nguyenkims/
Sync sequel pro favorites between macs

The sequel pro favorites can be shared between Macs using cloud storage service like Dropbox, Google Drive, OneDrive, etc.

The trick is to create a file that will be synced using these cloud services and sequel pro favorites file is just a symlink to this file.

The below script is used for OneDrive but it can also work for Dropbox and other cloud storages.

  1. Copy the current sequel pro favorites file

cp ~/Library/Application\ Support/Sequel\ Pro/Data/Favorites.plist ~/OneDrive/SequelPro.plist

View Create Sequel Pro Favorites Symlink
View Create Homestead.yaml Symlink
View countries.csv
location alcohol
Belarus 0
Moldova 0
Lithuania 0
Romania 0
Ukraine 0
Andorra 0
Hungary 0
Czech Republic 0
Slovakia 0