Skip to content

Instantly share code, notes, and snippets.

View neilang's full-sized avatar
😎
Just being a cool guy

Neil Ang neilang

😎
Just being a cool guy
View GitHub Profile
@neilang
neilang / t800.m
Created October 5, 2011 23:01
Idea for macro
#define iNeedYourClothes alloc
#define andYourBoots init
#define hastaLaVistaBaby release
NSObject *obj = [[NSObject iNeedYourClothes] andYourBoots];
// ...
[obj hastaLaVistaBaby];
@neilang
neilang / .vimrc
Created August 20, 2011 02:29
my .vimrc
syntax on " Syntax highlight
" set backspace=2
set backspace=indent,eol,start " Fixes backspace on unix systems
set tabstop=2 " set tab width
set shiftwidth=2
set expandtab " spaces instead of tabs
@neilang
neilang / git config
Created July 20, 2011 06:08
Add git plush command
[alias]
plush = "!sh -c 'git pull --rebase && git push'"
@neilang
neilang / .profile
Created May 6, 2011 02:20
My bash profile
alias hostname="hostname | cowsay"
alias whoami="whoami | cowsay"
alias pwd="pwd | cowsay"
alias date="date | cowsay"