Monday, May 15, 2006

Sunday, May 14, 2006

Flooding in New Hampshire


Originally uploaded by marcn.

I drove around town and took a few photos of the flooding.

School is cancelled on account of rain. Seriously.

The rest of the photos:

Thursday, May 11, 2006

Getting ajaxMyTop to work on Ubuntu/Dapper

I'm sitting in MySQL bootcamp today and wanted to have some ajaxMyTop eyecandy running on my laptop while doing the labs.

Unfortunately ajaxMyTop is written to PHP5 and I'm using PHP4 on Ubuntu/Dapper. These are the steps needed to get it working:

* Install php4-domxml (apt-get install php4-domxml)

* Restart apache2 ( sudo /etc/init.d/apache2 restart )

* Grab the modified processlist.php from the ajaxMyTop forum on sourceforge here and replace the one provided by the 0.5.5 kit.

* Create a that looks something like this:

$dbHost = "localhost";
$dbUser = "root";
$db = mysql_connect($dbHost, $dbUser, $dbPass);