INCLUDE_DATA

Category Archives: How To

Internal PC Speaker Beep on Startup and Shutdown

Pretty neat trick by Craig Perry at http://ubuntuforums.org/showthread.php?t=462960. The following is pretty much word-for-word reposted. Since I have an old 400mhz Pentium 2 under my desk that I use as a Tomcat development box. I also find it useful to use it as a development platform that gives immediate feedback of suboptimal code, and it’s [...]

How to retrieve the ID after a MySQL Insert in Python

The MySQLdb documentation mentions conn.insert_id(), however this appears to have been deprecated, maybe? This really should be on the cursor object anyway. And behold! There is a lastrowid on it! It’s just a little bit undocumented

How to remove iGoogle

To remove iGoogle and revert to the classic vanilla google homepage, click “Classic Home” in the upper right corner of the screen.

Enable mod_userdir for Apache2 on Ubuntu 8.10

To enable mod_userdir, so your server’s Apache httpd server will respond to requests like “http://www.yourserver.com/~someuser”, use the a2enmod command, then restart Apache to pickup the change:
sudo a2enmod userdir
sudo /etc/init.d/apache2 restart

Installing SAS 9.1.3 on Ubuntu Linux 8.10

It works. Just follow the instructions.