Archive for May, 2006

more photos of flooding in New Hampshire

Monday, May 15th, 2006



merrimack-dam-2-pano.jpg

Originally uploaded by marcn.

Compare the above photo with this one from the summer.

Dam on Souhegan River in Merrimack, NH (scene 1)

Flooding in New Hampshire

Sunday, May 14th, 2006



merrimack-meetinghouse-park-1-pano.jpg

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: http://www.flickr.com/photos/marcn/sets/72057594135081417/

Getting ajaxMyTop to work on Ubuntu/Dapper

Thursday, May 11th, 2006

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 dbconfig.inc.php that looks something like this:


<?
$dbHost = "localhost";
$dbUser = "root";
$dbPass = "YOUR-ROOT-PASSWORD";
$db = mysql_connect($dbHost, $dbUser, $dbPass);
?>