30 March 2009
By Carl Mercier
In Ruby, Technology
So I’ve been trying to get Merb running on JRuby a good part of last night. I don’t know jack about Java, so this has been a little bit more challenging than it should have been. Most (if not all) of the tutorials I found were old and obsolete, so I decided to throw out my very own.
I need to give credit to this page, without which I’d still be fighting with this whole thing.
This tutorial uses JRuby 1.2, Glassfish 2.1, Merb 1.0.10 and Ubuntu 8.04 LTS. To make my life easy, I simply fired an EC2 instance based on ami-71fd1a18. I recommend you do the same. However, it should work from just any vanilla Ubuntu 8.04.
Some important comments are in the script below, make sure to read them. Enjoy!
Continue reading
deployment, glassfish, java, jruby, merb, rails, ruby, rubyonrails
16 February 2009
By Carl Mercier
In Cool/funny/stupid stuff, Technology
So you’ve always dreamed of connecting more than 1 external monitor to your Macbook (or any Mac) huh? Guess what, I just did it!
The process is not quite as straightforward as it should be, but it works pretty well.
The secret lies in a nifty application called ScreenRecycler. In a nutshell, it allows you to use a monitor connected to a second computer as an additional monitor to your main computer. So yes, you DO need 2 computers. The good news is that the second computer can be either Mac, Windows or Linux. The bad news is that it’s slightly slower if the second computer is not a Mac. My second box is running Windows and it’s very usable for e-mail and calendaring.
My setup consists of:
- 1 Dell 24″ 2405FPW (awesome monitor btw)
- 1 Samsung 22″ 2243BWX (vertical)
- 1 Unibody Macbook
- 1 custom-built PC
Screen configuration:
- Main screen: Pretty much everything happens on this screen
- Vertical screen (left): Mail.app (top), iCal (bottom)
- Macbook screen: Twhirl, Corporate MSN Messenger, Adium
The -really- cool thing about my setup is that, if I ever need to use Windows, I can just stop ScreenRecycler and my Windows desktop appears on my left screen. Because I use SynergyKM (and this), I simply have to move my mouse to the left and my keyboard and mouse automatically start controlling Windows.
For your information, clicking the image will let you see my setup it its full glory!
Continue reading
macbook, monitors, screenrecycler, setup