Skip to content

Instantly share code, notes, and snippets.

color twilight
set guifont=Monaco:h12.50
set cc=80
let g:NERDTreeWinPos = "right"
set spell
set cursorline
" strip trailing whitespace on save
autocmd BufWritePre * :%s/\s\+$//e
@artiom
artiom / gist:5612483
Last active December 17, 2015 12:49
password through openssl
# from http://www.tech-recipes.com/rx/1264/generate-passwords-with-openssl/
openssl rand -base64 12
@artiom
artiom / authorised keys
Created February 18, 2013 07:52
remote user init authorised keys file
mkdir ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 644 ~/.ssh/authorized_keys
@artiom
artiom / gist:3814750
Created October 1, 2012 22:03
osx 10.8 rvm ruby install
brew install libksba
brew tap homebrew/dupes
brew install apple-gcc42
curl -L https://get.rvm.io | bash -s stable
rvm pkg install openssl
rvm pkg install libyaml
rvm pkg install iconv