turnings :: daniel berlinger

passions :: perfections :: peoples :: stuffs

Archive for June 12th, 2008

GemStone Seaside

leave a comment »

GemStone Seaside: If you are just getting started with GemStone, we strongly recommend the GLASS Virtual Appliance, which provides a completely pre-configured, ready-to-run GLASS system packaged as a VMware Virtual Appliance. It contains a Squeak image you can use to develop Seaside applications.
GLASS Virtual Appliance beta9 (~780 MB) [Really cool stuff.]

Written by Daniel

June 12, 2008 at 2:10 pm

Posted in design, tech

A quick Ruby hack to steal some OS X goodness

leave a comment »

A quick Ruby hack to steal some OS X goodness:

I really like the open command on OS X, but I was too lazy to look for its Linux equivalent.

Actually, my solution probably took less time than sifting through a google search:

system(case ARGV[0]
when /\.pdf/
“epdfview”
when /\.html/
“firefox”
when /\.(rb)|(pl)|(pm)/
“vim”
end + ” #{ARGV[0]}”)

Source: O’Reilly Ruby

Written by Daniel

June 12, 2008 at 1:55 pm

Posted in code, tech

Follow

Get every new post delivered to your Inbox.

Join 424 other followers