Setup Setting up GitHub and Git on the terminal is pretty important. Checking available SSH keys First we check if existing SSH keys are present: ls -al ~/.ssh Generate a new SSH Key Now we generate a new SSH Key ssh-keygen -t rsa -b 4096 -C "email@example.com" Adding SSH key to ssh-agent eval "$(ssh-agent -s)" ssh-add -K ~/.ssh/id_rsa Modifying passphrase in the keychain Go to ~/.ssh/config Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.
Today, I’m recreating my Terminal setup from scratch. Installing Homebrew Homebrew is the package manager for OSX terminal. Let’s install this first: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" After install completes, run brew doctor and brew update Installing MySQL and mongodb brew install mysql brew install mysql brew services start mysql mysqladmin -u root password '[some passwoord]' brew install mongodb Confirm MongoDB installed correctly by running mongo --version and ensure version info is displayed
Truly Sublime! This post will be pretty self-explanatory. When I’m not using Vim, I use Sublime. Packages Package Control SendText SendCode RBox Markdown Editing Searching Mac in normal, Windows in brackets Files: Command + P [Ctrl + P] Line Numbers: : Fuzzy: # Code: Command + P [Ctrl + P] + @ Exclude: binary_file_patterns: [".xtension"] Command Palette Command Palette: Command [Ctrl] + Shift + P Format Paste: Command [Ctrl] + Shift + v IDE Sidebar: Command [Ctrl] + K, Command [Ctrl] + B