Skip to content

Instantly share code, notes, and snippets.

View mjr5749's full-sized avatar

Michael Richards mjr5749

View GitHub Profile
@dlo
dlo / .vimrc
Created June 28, 2012 15:53
Relative Line Numbers in Vim
set rnu
au BufEnter * :set rnu
au BufLeave * :set nu
au WinEnter * :set rnu
au WinLeave * :set nu
au InsertEnter * :set nu
au InsertLeave * :set rnu
au FocusLost * :set nu
au FocusGained * :set rnu
@erikh
erikh / hack.sh
Created March 31, 2012 07:02 — forked from DAddYE/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@sjl
sjl / gist:1006307
Created June 3, 2011 13:11
Stop apps from spamming the system logs (both files are in /etc/, use `killall syslogd` to restart it after editing).
We couldn’t find that file to show.