Ruby in Emacs, Multi-line Strings and Git for Subversion Users

Ruby in Emacs

Ruby syntax highlighting in Emacs

Multi-line Strings

Different ways:

lorem = "
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
Sed vehicula tempor mauris at convallis. Maecenas feugiat libero 
et mi dignissim facilisis ut vel lacus. Sed tempus risus sit amet tellus 
facilisis fermentum. Maecenas orci massa, consectetur non mattis 
ornare.
"

or

def doStuff str
  print str.upcase
end
doStuff(<<PIECE_OF_STR)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
Sed vehicula tempor mauris at convallis. Maecenas feugiat libero 
et mi dignissim facilisis ut vel lacus. Sed tempus risus sit amet tellus 
facilisis fermentum. Maecenas orci massa, consectetur non mattis 
ornare.
PIECE_OF_STR

Git for SVN Users

Hard to go a day without stumbling on a git project. I have rarely dealt with git projects, so very often I have to look up the commands to be used… This page, Git for Subversion users (not quite its name, but it should be) is deadly: it makes the parallel between git commands and subversion ones.

 
---

Comment

your_ip_is_blacklisted_by sbl.spamhaus.org

---