Setting up MacOS Sierra for Rails DevelopmentDecember 15, 2016 |
One of the only differences I've noticed is installing mysql is slightly different.
Install xcode.
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
brew install rbenv ruby-build openssl
Useful SSH Server Conf TricksApril 24, 2016 |
/etc/ssh/sshd_conf
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
sudo service ssh restart
ChallengeResponseAuthentication yes
PasswordAuthentication yes
UsePAM yes
/etc/ssh/ssh_config
Fixing MacVim Fullscreen in YosemiteMarch 17, 2015 |
Many long term users of Macvim like myself have been annoyed that fullscreen mode cuts off the first couple lines and shows a bar on the right when using OSX Yosemite. After trying out multiple forks that kind of fixed it but also introduced other problems I finally found a satisfactory fix. Just run this in the terminal to turn off yosemites fullscreen method on macvim.
$ defaults write org.vim.MacVim MMNativeFullScreen 0
My vimrcNovember 12, 2012 |
" " ========================================================================
" " Isaac Sloan - Vim Configuration 2012
" " ========================================================================
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
" My bundles
Bundle 'ervandew/supertab'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-rails'
Bundle 'tpope/vim-haml'
Bundle 'slim-template/vim-slim'
Vim Commands You Need to Know: Episode 1October 08, 2013 |
Most people who have spent any time using the command line have learned to use vim well enough to edit conf files: moving the cursor, entering insert mode, and saving and quitting the file :wq
. I know because I was one of those people for years. It wasn't until I found a few magical commands that I truly understood why vim was a true competitor in a world of IDE's and Textmate clones.