Monthly Archive:: November 2009

Config: .vimrc

" Ali Rizvi's Vim Settings set number set shiftwidth=4 set incsearch set hlsearch set textwidth=80 " from lindes: syntax on hi Comment term=bold ctermfg=Cyan guifg=Cyan set autoindent " from benji fisher to turn on the matchit plugin automatically and more filetype plugin on " ...Read More

Config: .screenrc

# # Example of a user's .screenrc file # # This is how one can set a reattach password: # password ODSJQf.4IJN7E # "1234" # no annoying audible bell, please vbell on # detach on hangup autodetach on # don't display the copyright page ...Read More

Ruby: String += vs <<

Learned this interesting tidbit on Seattle.rb mailing list that appending a string with << is 10 times more efficient than +=. This would matter if you are doing a lot of string concatenation. From: Joe Van Dyk Date: Fri, Nov 20, 2009 at 10:20 ...Read More