kieranbarnes Independent PHP, WordPress & CubeCart Programmer

SpamAssassin: How to protect against current spam attacks

Posted on August 21, 2007

Christopher J. Buckley has posted a good article on protecting against current spam attacks. Go on, take a look.

Filed under: Geeky, Linux No Comments

Anonymous apache & PHP

Posted on August 9, 2007

Like to be conspicuous? Like me.

Then use the  ServerTokens and expose_php options. On a production web server I generally set these two options, pretty much stops and zero day hack attempts and other such nonsense

Cheat Sheet – Seconds to real time

Posted on August 4, 2007

Caching stuff? Expiring stuff? Crap at math(s)? Too lazy to boot up a calculator?
Here's a cheat sheet of seconds to a more readable time!

Filed under: Geeky Continue reading

My best WordPress plugins

Posted on July 30, 2007

Here are a few of my WordPress plugins that I can't do without. It is by no means conclusive, just my personal preference.

bash – Argument List Too Long

Posted on July 29, 2007

I've got several scripts that have been failing recently due to the high number of files in a directory.

Say for example, my site wide spamassassin Bayes learning script that runs nightly, it has started failing sometimes when a lot of spam has been caught by users.

I'd see

bash: /bin/rm: Argument list too long

A fix would look like this

for i in /your/directory
do
rm -rvf $i
done

find would probably also do the same job.

Filed under: Geeky, Linux No Comments

Protoculous – Prototype and script.aculo.us

Posted on July 20, 2007

An unknown Frenchman did a great job at combining and compressing Prototype & script.aculo.us into one ultra-small single Javascript file.

At the time of writing he is on version 1.0.2 which includes Prototype 1.5.1 and Scriptaculous 1.7.1 beta 3
The Protoculous file size is 54.6KB

Web 2.0 Summarised.

Posted on July 19, 2007

fos.png

Filed under: Geeky No Comments

Ubuntu sources.list Generatror

Posted on July 13, 2007

I had a problem with some slow Ubuntu sources today, instead of changing the whole sources.list manually, I stumbled over Ubuntu Nederland's Source-O-Matic.

Slam in the country you want and it generates you a nice new file. Saves at least 30 seconds!

Filed under: Geeky, Linux No Comments

Redirect a www prefixed site to a non-www prefix

Posted on July 10, 2007

I like clean URLs.

Card Reader Annoyances

Posted on July 3, 2007

My new Dell computer came with one of those 1,600 in 1 internal memory card readers. The 1,600 drives in 'My Computer' really irritated me.

OK, so I exaggerated slightly. But the extra 3 drives did irritate me. My cameras use SD cards so I can safely disable the ones I don't use.

Tagged as: , Continue reading
Page 3 of 41234