Google’s Dynamic Rounded Images For Div Corners

December 16th, 2008

While logged into gmail:

http://mail.google.com/mail/rc?a=af&c=fff1a8&w=30&h=30

Adjust the color width and height of the circle on the fly… fruity.

Getting Website Hit Stats

December 8th, 2008

As easy as it is to plug in Googles Analytics JS code into the base of your website, you still wont get a good idea of what spiders are crawling your site, and how often, as well as a few other limitations / omitted abilities.

That is a simple way to use your own custom code to log what’s happening on your site. No fancy graphs here. The fact that it’s completely server-side cleans up the front end code and simplifies the loading of said HTML, with no external references on each page load. Sending it to a database would be one of the first desirable improvements.

NOTE: Be wary of using a single log file that isn’t purged, its fine for a few lines, but once it reaches a few thousand PHP needs to cycle right through it which drastically reduces performance, and pageload.

The following line creates a new file each day, which depending on how many pageloads are expected, should be fine…

$myFile =  "hide_melogs/".date(dMy).".txt";

Interesting Read about Mambo

December 4th, 2008

http://blog.phil-taylor.com/2006/05/08/troubled-times-for-mambo-open-source-cms/

Proxy ‘pac’ Scripts

November 6th, 2008

I’ve been meaning for a while to get my head around these… and why certain functions / formating cause errors in Citrix…

The function the browser looks for is:

function FindProxyForURL(url, host)
{
return "DIRECT";
}

“Return DIRECT” tells the browser to look locally for the address.

return “PROXY 192.168.0.254:80″ tells the browser to send the request to the specified proxy.

Trail Riding

October 21st, 2008

It can be a bit tricky to find the often disputed technicalities and obligations behind riding on public land.

Vicroads, The DSE, Parks Victoria and the Police all seem to have a say in the rules and regulations that riders need to conform to while riding on public land. Amongst the ambiguity are the restrictions and requirements placed upon the “recreational registration”.

Some useful Info:

DSE Riding Guide

Riding On Public Land

Optus BGP Route Viewer

October 20th, 2008

Handy free view of Optus AS7474 National routes

telnet route-views.optus.net.au

Common Linux Commands

September 24th, 2008

These should save some time… Common Linux Commands

Disable PHPSESSID

September 20th, 2008

If you want to turn it off, put

ini_set("url_rewriter.tags","");

immediately before

session_start();

HTML CSS Reference

July 24th, 2008

Over at Sitepoint they have launched (a while ago) a very useful HTML and CSS reference.

JavaScript is coming soon too (doesn’t say when unfortunately) which I will be looking forward to most of all.

Good work guys, keep em coming :)