Just installed the Syntax Highlighter from Alex Gorbatchev, and like it quite a bit… here’s an example. public int factorial( int number ) { if( number == 1 ) { return 1; } return number * factorial( number – 1 ); } The key is to use a name=”code” and class=”java” (or xml, or others…)… Continue reading Syntax Highlighter
Month: February 2008
PHP Installation
Just because I find it frustrating how obtuse the install directions for PHP are… Download and install Apache Download, install, and configure MySQL Download PHP and unzip to somewhere like “C:\php5.2” Update php.ini file in PHP install directory; update or uncomment the following line: extension=php_mysql.dll SMTP = localhost Copy these two files from the php… Continue reading PHP Installation
Kill the XP Language Bar
For those of us confined to one language in Windows XP, it is annoying to have the language bar constantly try to re-assert itself in your task bar. Here are the rather obtuse steps to turn that off.
Backup Software
I’ve been pretty happy with mozy as an intermediate backup solution. It gives me automatic backups in the background to an offsite, secure location. Basically I have mozy running a backup of my Outlook and Firefox profile — stuff that changes every day. Then on the weekends I back everything up to a USB hard… Continue reading Backup Software
Javascript on Multiple Monitor Systems
I have a preference to keep my browser windows a certain width (1024 pixels for various reasons), flush against the right side of my monitor display, and taking the full height of the screen. To do this, I have the following javascript on my start page: resizeTo( 1024, screen.availHeight ); moveTo( (screen.availWidth – 1024), 0… Continue reading Javascript on Multiple Monitor Systems
Monitor Placement
This isn’t really about technology, but more about the human-technology interface. Keep in mind the traditional eye-movement triggers while placing your monitor(s) in your workspace.