Usable Type

UsableType: Web Typography Guide

CSS Browser Selector

CSS Browser Selector - javascript that allows you to implement different CSS rules depending on (you guessed it) which browser a user has.

Nglayout.initialpaint.delay in Firefox

Firefox’s Nglayout.initialpaint.delay setting (found in about:config) controls the delay between receiving data from a website and displaying it in the browser. On faster connections this delay can leave you feeling like you’re taking a nostalgic trip down dial-up lane.
In about:config, right click and select new -> Integer. Call it Nglayout.initialpaint.delay and give it a value […]

Adventus

Receiving a chocolate-filled advent calendar from one’s much missed family back home never gets boring, even when you are 26 years old.

Banning Badly Behaving Bots

This code makes up the file XXXX.php, and will ban the IP address of anything that accesses it (so don’t go typing random URLs into the address bar!). I have disallowed the file in robots.txt, and it is linked to from a file in the main index of my server. Any bots that follow this […]

Don’t Mess With WeLoveCelebs.com

Out of all the celebrity news sites on the Internet, picking WeLoveCelebs.com to scrape in order to fill your Adsense spam blog with quick and easy content is a bad idea.
GossipHeadlines.com has scraped 5,000+ posts from various celebrity sites over the last few days, and unleashed a torrent of trackback spam upon our site1; both […]

Run PHP as a cron-job

To run a php-script as a regular job, point to the PHP-CLI installation on your server with the path to your script:
/usr/local/bin/php /home/username/public_html/scripts/your_script.php #

Laura on AOL Music

Check out my wife’s contributions to AOL Music’s “The Glamourous Life: 2006″ feature:

on Britney Spears
on Gwen Stefani
on Fergie from the Black Eyed Peas

The gist of the piece is that AOL asked a bunch of high-profile bloggers to sound off about their favourite celebrity-related moments of 2006.