Category Archives: Tips’n’Tricks

Keeping script kiddies at bay with mod_evasive and iptables

mod_evasive is a nice Apache module that helps to protect your server against DoS attacks. However, when a client is blocked, it will keep on using resources on your server. Even if the request will result in a 403 error, … Continue reading

Posted in SysAdmin, Tips'n'Tricks | Tagged , , , , | 10 Comments

The Lion, the Witch and the Xcode

…or maybe it was “The Lion, the Bug and the Xcode“? Anyway, if you just upgraded your system to Lion, then downloaded the new Xcode from the App Store, tried to run it just to get welcomed by a sparkling … Continue reading

Posted in Software Development, Tips'n'Tricks | Tagged , , , | 10 Comments

A cure for Firefox freezing on download.cnet.com

It’s been a loooong time since I’ve been able to browse download.cnet.com without having Firefox freeze on article pages. Something’s very nasty on that site (or Firefox/one of the plugins I use is very bugged). Some guy on mozillazine suggests … Continue reading

Posted in Tips'n'Tricks, Uncategorized | Tagged , | Leave a comment

Attributes, reflection and PHP

After a long exposure to .NET, when I get back to PHP I sometimes find myself missing some cool functionality (and a good IDE too… none of those I’ve tried so far can compete with the comfort of VisualStudio + … Continue reading

Posted in Software Development, Tips'n'Tricks | Tagged , , , | Leave a comment

Note to self: what to do when the hard disk fails (Linux)

It’s been a bad day. One of my Linux box hard drives decided to fail this morning. Luckily, it’s not totally failed, but the superblock is gone AWOL. Let’s recap what I did to revive it until a replacement can … Continue reading

Posted in Tips'n'Tricks | Leave a comment

Resizing your Parallels 3.0 disk image

You’ve just upgraded to Parallels 3.0 but you realize that your virtual HD is almost full. Well, no problem: luckily there’s this ImageTool that allows you to resize disk images… uhm… no, wait… can’t find it… but… but… I was … Continue reading

Posted in Tips'n'Tricks | Leave a comment

Updating your website using rsync

Since I’ve moved my website to a new hosting, I’ve begun to use rsync instead of ftp to maintain it. There are a couple of major gains in doing so: it’s more secure: rsync is tunnelled through an SSH connection. … Continue reading

Posted in Tips'n'Tricks | Leave a comment