Tool for editing ISO

I found a wonderfull little GUI tool for editing ISO under Linux, it's called ISO Master.

Linux software RAID guide

Software RAID under Linux is a rock solid solution for building RAID arrays at no cost. I personnally never had problems with software raid under Linux while i've seen expensive hardware RAID card failing and corrupting arrays. It's a little slower that hardware RAID but it remove a possible point of failure in a system and again, it's free. The only drawback is that configuration can be sometimes tricky. This guide is a collection of command you can use in different situation.

wdtler iso boot disk to fix caviar green or black in RAID

Recently I had some problems with ubuntu software RAID 1 with two caviar green 1tb. Reading forums, I learned about the TLER being disabled in non raid class WD drives.

Creating strong captcha with PHP

While was looking for a captcha class for PHP, I found securimage. It's great but not very strong "out of the box".

With some modifications, I came up with a very strong way to create captcha directly with PHP. It use a variety of fonts, backgrounds and a dictionnary of words from a random book on Gutenberg. To make sure the captcha is readable, a function calculate the luminosity difference between the text and 2 colors in the background.

UTF-8 and apache - mysql - php

Settings a LAMP server to work in full unicode UTF-8 :

Easy to use PHP MySQL database class

This is part 2 article about creating a lightweight but effective PHP framework. This class is mostly copy/paste from this page but with some useless methods removed and I added the possibility to use multiple databases. This class is nice because it offers simple debug tools and return data as object.

PHP class to output clean HTML

I was looking for a basic lightweight framework for PHP but they all offer more stuff than I need, they make coding too "automatic" for my taste so I decide to write my own classes. This is part 1, I should write in the next days a user class, DB class and some other usefull classes (validation, etc...).

Installing PHP APC (Alternative PHP Cache) on Ubuntu

Installing alternative PHP cache can greatly improve the speed of your PHP scripts by keeping a compiled version of your scripts in the ram. Installation was done on Ubuntu 8.04 LTS server with a pre-existing apache/php/mysql setup. Run the following commands :

Find and replace string in file recursively in a directory

Simple command I don't want to forget that find a string and replace it with another using sed.

Backup all mysql database every hour using mysqlhotcopy

My previous script using mysqldump was slowing down Apache, it became unresponsive for a few seconds, so I wrote this one using mysqlhotcopy. It's much faster and doesn't slow down my webserver.