Monday, May 15, 2006

Sunday, May 14, 2006

Flooding in New Hampshire



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/

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


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