Wordpress - mcapewell.wordpress.com - WordPress.com News
General Information:
Latest News:
IE6 duplicate / random content 9 Mar 2007 | 05:49 am
I had a strange issue with IE6 recently where there appeared to be a random character that was displayed when the page was rendered: It became apparent that it was actually the last letter from the a...
Debug and time ASP.NET code using tracing 8 Mar 2007 | 12:05 am
It is easy to get debug and process timing information out of an ASP.NET page. To turn on tracing for a single page use: <%@ Page Trace="true" %> or to enable it at the application level put the fo...
Draw a straight line in The GIMP 8 Feb 2007 | 04:02 am
Ever wondered where the line tool is in The GIMP? All you have to do is select the ‘pencil’ tool, click on your image where you want the line to start, press and hold down the shift key and then clic...
Restart Apache in Mac OS X 23 Sep 2006 | 09:34 am
To restart the Apache webserver service you can run the following command in a Mac OS X Terminal window: sudo /usr/sbin/apachectl restart
Editting a file from the Mac OS X Terminal 23 Sep 2006 | 09:31 am
To edit a file (for example /private/etc/httpd/httpd.conf) from the Mac OS X Terminal you can run the following command: sudo pico /private/etc/httpd/httpd.conf
Enabling mod_rewrite on Mac OS X 23 Sep 2006 | 09:27 am
In the file /private/etc/httpd/httpd.conf change the following line: AllowOverride None to: AllowOverride All In the file /private/etc/httpd/users/[user].conf change the line: AllowOverride None ...
Hosting ASP.NET 1.1 websites along side ASP.NET 2.0 websites 8 Sep 2006 | 07:21 am
I haven’t been able to find much info on this but it is possible to run two websites (one .NET 1.1 and one .NET 2.0) on a single Windows Server 2003 server. The key is to have them run in different a...
How to make a transparent PNG image for IE6 using The GIMP 8 Sep 2006 | 07:11 am
I recently made what I thought was a transparent PNG but when I uploaded it onto the website it was transparent in Firefox but not in IE6. After doing some searching, I found the following solution. ...
Create Mac OS X AppleScript application to call Unix/terminal commands 3 Sep 2006 | 09:38 am
To do this, load up the AppleScript editor and enter the following: do shell script "..." Replacing … with the command that you wish to run. If the command requires administrator privileges then ap...
Calling PHP from a Cron job 3 Sep 2006 | 09:07 am
There are a number of options available to call a PHP script page from a Cron job. The option to use depends very much on your web host and how they have their servers configured. Option 2 is the one ...