Isaac Sloan - Web Developer, Photographer, Musician and Citizen of Earth
Banner700

Setting up MacOS Sierra for Rails Development

December 15, 2016

One of the only differences I've noticed is installing mysql is slightly different.

Step 1: Install XCode Command Line Tools

Install xcode.

xcode-select --install

Step 2: Install and prepare Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update

Step 3: Install rbenv

brew install rbenv ruby-build openssl
Setting up MacOS Sierra for Rails Development

Useful SSH Server Conf Tricks

April 24, 2016

Turning password login off

Edit /etc/ssh/sshd_conf
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
Restart ssh

sudo service ssh restart

Turn on password login

ChallengeResponseAuthentication yes
PasswordAuthentication yes
UsePAM yes
Restart ssh

Copy and pasting from remote vim

1. Edit /etc/ssh/ssh_config
Useful SSH Server Conf Tricks

Fixing MacVim Fullscreen in Yosemite

March 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
Fixing MacVim Fullscreen in Yosemite

My vimrc

November 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'
My vimrc

Vim Commands You Need to Know: Episode 1

October 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.

Vim Commands You Need to Know: Episode 1