Archive for November, 2009

29
Nov
09

me & unit testing


Just started to learn about unit testing. Insanely useful!

Advertisements
27
Nov
09

quick tip:uninstalling a specific version of a ruby gem


I had two version of ParseTree installed on my computer: 3.0.4 and 3.0.3. Here’s how I removed 3.0.4:


gem uninstall ParseTree -v 3.0.4

22
Nov
09

ka ku ta


BEST SONG EVER!

21
Nov
09

vocal bliss


Heard a nice small vocal trance mix here.

20
Nov
09

ruby’s multiline comments


If you want to comment more than one line of Ruby code, you can place them inside a:

=begin

=end

block. The thing is, =begin and =end must be at the very beginning of the line.

19
Nov
09

all i ask



Happy birthday!

18
Nov
09

setting batch variables from a file


If you need to store a variable to a file, and then need to read it back, you can do it like this:


set /p variable=<file.txt

assuming your file’s name is file.txt.




Blog Stats

  • 226,733 hits