Hi guys, Today I was looking into event log searching. I run a script that does a chkdsk on reboot but then when the machine boots I want to see the log from that report. To do this, I search the registry for the most recent event within a certain…

Read More

I was having terrible difficulty getting Merb to work with RSpec. Turns out that Merb now uses Bundler, and if you don’t edit your Gemfile to include rspec it bails on you.

This was solved by adding the line to the bottom of the Gemfile in the project root….

Read More

Posting this mostly for my reference so I don’t lose it again later.

Read More

Yesterday I used Virtualbox for the first time, to create a Beowulf cluster. Today, I am migrating my Ubuntu VM from VMWare Player to VirtualBox. This is dead simple with a linux client: Copy your VMware image to your Virtualbox VM location Open up VirtualBox and go File->Virtual Media Manager…

Read More

Read More

Ever get this error when installing a gem?

It happens when you don’t have the development library installed. Easy enough to fix, just install ruby1.9-dev. For ubuntu:

Read More

Someone over at MUDBytes asked about sending emails from within their game. They were looking to do this from C++, which as we all know is a pain in the ass. I wrote up this quick utility script in ruby for sending emails easily, without the risk of passing stuff…

Read More

If you find that you are having negative ping times, check to see if you are using an AMD dual-core. AMDs require their CPU driver to be installed to keep their CPUs in sync.

Read More

Beware if you are developing ruby applications with rails installed. Requiring ‘commands.rb’ will always load Rail’s version of commands.rb, disregarding you and being very confusing!

Read More