James McDonald

Access

Blog History

Rackspace Cloud Server a Good Move

So I've been running on the Rackspace cloud for a week or so. The server stays up: w 22:45:08 up 4 days, 17:23, 1 user, load average: 0.34, 0.10, 0.10 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 cpe-XXX-XXX-XXX- 22:45 0.00s 0.01s 0.00s w And it uses memory but...

read more

mod_security2 sigh

Good Concept Just be prepared for head scratching I had a post with this as the URL /it-tips/getting-screenshots-working-the-way-i-like-in-lxde couldn't access with mod_security running. The reason it didn't like the word "like" in the Permalink tag. So I've changed...

read more

pidof

This will seem really simple to those that know about these things, but hey I'm easily amused. Here is a snippet from an /etc/init.d script HTTPD=/httpd/bin/httpd PIDFILE=/httpd/logs/httpd.pid if pidof $HTTPD | tr ' ' '\n' | grep -w $(cat $PIDFILE); then return 0 fi...

read more

Who owns that Barcode?

Just discovered GEPIR the "Global Electronic Party Information Registry" You can enter a limited number of barcodes (it has a query request limit) and it may return the company that owns the barcode prefix. I say may because some of the barcodes I sampled didn't...

read more