John 3:16 in PHP $son = $god->loved($the_world); foreach($whosoever as $person) { if($person->believe($son)) { $son->everlasting_life($person); } } John 3:16 in Ruby son = god.loved(the_world) whosoever.each do |person| son.everlasting_life!(person) if person.believe?(son) end
Quickly Folding Functions In Vim

The is really a Vim tip on how to fold any code block including functions. It’s really helpful if you want to collapse a function or any other type of code block. Best of all, it is quick and easy to do. Navigate your cursor somewhere inside of the code block you want to fold. […]
Quote A Word In Vim

Here is a quick, but awesome little vim tip. To put quotes around a word, put your cursor anywhere on a word and then type: ysiw’ or if you want double quotes ysiw”