On Mac, Homebrew is the de-facto package manager, and Homebrew Cask is the app manager. I’m going to use Cask to install Java 7 and 8.
Install Homebrew Cask first if you haven’t:
brew update
brew tap caskroom/cask
"Use Vim settings, rather then Vi settings (much better!). | |
"This must be first, because it changes other options as a side effect. | |
set nocompatible | |
let mapleader="," | |
"fonts and other gui stuff | |
"make sure to install the powerline patched font | |
"version of the font you like | |
"https://github.com/Lokaltog/powerline-fonts |
POSTGRESQL_VERSION="9.1.4" | |
# Installing DB (one-time) | |
cd $OPENSHIFT_DATA_DIR | |
wget http://ftp.postgresql.org/pub/source/v${POSTGRESQL_VERSION}/postgresql-${POSTGRESQL_VERSION}.tar.gz | |
tar xf postgresql-${POSTGRESQL_VERSION}.tar.gz | |
rm postgresql-${POSTGRESQL_VERSION}.tar.gz |
In penance for cracking stupid jokes on Twitter, here's my Emacs cheat sheet. Emacs has a steep learning curve, so I've tried to order them by importance so you could learn them in stages.
One overall rule of thumb: pay attention to the minibuffer (the line at the bottom of the editor). It will often guide you through a process, and also gives you hints about what state you're in, such as the middle of a multi-chord sequence.
The other rule of thumb: when in doubt, C-g it out.
You simply can't get by without having these at your fingertips.
As configured in my dotfiles.
start new:
tmux
start new with session name: