On many occasions, I had to change laptops, which meant I had to install everything again from scratch.
So I wrote this basic script to automate the process
Install x-code which contains dev env for mac:
chmod 755 setup.sh
./setup.sh
- Automate dot files
- Store secrets ie .aws, cers
- Hidden script to move/apply secrets
- Settings for vscode
Google Chrome: Ensure to sign in and turn on sync in Chrome to keep your browser customizations - bookmarks, extensions etc
Vs Code Sync: You can turn on Settings Sync using the Turn On Settings Sync... entry in the Manage gear menu at the bottom of the Activity Bar.
VS Code Settings Sync Documentation
plugins=(z, zsh-autosuggestions)
eval "$(starship init zsh)"
To Generate an SSH key:
ssh-keygen
cat ~/.ssh/id_rsa.pub | pbcopy
If you are on version 2.1.17 or greater, paste the text below to generate a GPG key pair.
gpg --full-generate-key
Use the gpg --list-secret-keys --keyid-format=long command to list the long form of the GPG keys
gpg --list-secret-keys --keyid-format=long
Copy Id after the sec 4096R/
gpg --armor --export **GPG key ID**
Daily websites I use: