I’ve just backported qemu 0.9 to Mandriva 2007. This release include the kqemu 1.3.0pre11 kernel module, which was released under the GPL some weeks ago.
As usual, this package is available in my RPM repository.
Free Softwares, Computers & Linux
I’ve just backported qemu 0.9 to Mandriva 2007. This release include the kqemu 1.3.0pre11 kernel module, which was released under the GPL some weeks ago.
As usual, this package is available in my RPM repository.
Three months after the last version, here is a big update of my backup scripts for websites. The script was greatly improved and among new features, the most important is the support of backups over SSH and backups of MySQL databases.
Change log:
backup_list must specify the type property (FTP, FTPs, SSH, MySQLdump or MySQLdump+ssh).site is now host./ftp-mirror folders renamed to /mirror.rsync whenever it’s possible for bandwidth efficiency.lftp make the decision for you to send your clear password on the net.mysqldump.pexpect lib to simulate user password input.If you were using a previous version of my backup script and want to use this updated version, take care of changes, especially the ones describes in the first 3 items of the change log above.
Tonight I found the ultimate regex to get HTML tags out of a string. It was written a year ago by Phil Haack on his blog. His regex is quite bullet-proof: it’s able to parse HTML tags written on multiple lines which contain any sort of attributes (with or without a value, with single or double quotes).
Unfortunately his regular expression was designed for Microsoft .NET, so I’ve spend some time to convert it to PHP. Here is the result:
$regex = "/<\/?\w+((\s+\w+(\s*=\s*(?:\".*?\"|'.*?'|[^'\">\s]+))?)+\s*|\s*)\/?>/i";
And finally, my version based on the one above:
$regex = "/<\/?\w+((\s+(\w|\w[\w-]*\w)(\s*=\s*(?:\".*?\"|'.*?'|[^'\">\s]+))?)+\s*|\s*)\/?>/i";
The latter include the following enhancement:
Yesterday I’ve build a new K2 style based on the legacy Sapphire 1.0 Wordpress theme by Michael Martine. This is the result of my love to the blue bend of Sapphire and the versatility of K2.
As you can see in the footer of that blog, I’m using my Sapphire 0.1 style right now. So if you like the look and feel of that blog, don’t ask yourself and download Sapphire 0.1 for for K2 !
To install it, unzip the archive to your /wp-content/themes/k2/styles/ folder.
I’ve released a new version of my e107 migration script for WordPress. This release is numbered v0.7.
Here is the change-log:
Warning 2” on the screenshot) to make the import process easier.Because of its de-facto standard status, my import script is now packaged as a .zip file. It can be downloaded from my Linux Scripts section.
Latest comments
RSSBrad
Helge, funis, andreW, Duncan, kev, Jo, Jo [...]
Pink Vaio, Pink Laptoper
kev, Javi