mikeage.net Logo
mikeage.net/tag/tip/

mikeage.net @ ז' אייר תשס"ח

Posts Tagged ‘Tip’

Block spam harvesters

כ"ח תשרי תשס"ז - October 19, 2006

On my site, I have a few "special" pages who's only purpose is to ban bots that ignore robots.txt (or worse, use it as a hint for where "the good stuff" is!). Here's how I do that:
(more...)

New Section: C Stuff

ט' תשרי תשס"ז - September 30, 2006

I've been collecting nifty tricks and useful factoids about C, and I think I'll start posting them here.

Look for the first post sometime on Tuesday, with 3-4 posts weekly after that!

Ejecting Removable Media from the Command Prompt

ו' תשרי תשס"ז - September 27, 2006

How often have you wanted to be able to eject a CD, disconnect an MP3 player / USB key, etc., from the command line?

With a small little utility (courtesy of Microsoft (and me)), you can!
(more...)

Limitting concurrent runs in PHP

כ"ה אלול תשס"ו - September 17, 2006

Most PHP tasks are designed to be run concurrently, that is, several instances of the same task can run simultaneously. For example, my home page should be displayed to all viewers, even if they're trying to access it at the same time.

Other tasks, however, should only be run one at a time. For instance, an update (cron) task should probably refuse to run (or wait) if it sees another task running. Here's how to implement that.
(more...)

PHP Breadcrumbs

י"ג אלול תשס"ו - September 5, 2006

I just redid the bread crumbs code on my site to handle breadcrumbs without horribly mangling links containing slashes the query string. Details below.
(more...)

Quick Map
Content +
Personal +
Archives +
Site Stuff +
RBS Weather +
Search +
New Images
Visitors
Clustermap
Blogroll

Valid XHTML 1.1!
Printer Friendly Page
 

Last Modified: September 04, 2006 @ 09:11 CST