Articles

How-to fix wireless DHCP on Mandriva 2009.0

In two words: dhcp_client sucks! And now the long story… Since the upgrade to Mandriva 2008.1, wifi stopped working on my laptop. I tried to install the 2008.1 on several machines. I tried to connect on different access points. I lowered security on the access point. I tried …
➟ Read more

How-to: e107 autogallery to Zenphoto migration

These past few days I was working on the Cool Cavemen’s photo gallery to move it to a shiny new one, powered by Zenphoto . In this post I will roughly describe how I’ve done it, code and commands included. The old gallery was based on autogallery , a e107 …
➟ Read more

How-to fix ruby’s FeedTools latin-1 parsing

While playing with FeedTools , a ruby library to parse RSS (or other) feeds, I’ve spotted a strange behavior, that at first looks like typical unicode parsing issue. So I’ve started to check that the original feed was encoded in the right format, and that its charset was clearly …
➟ Read more

Heroic journey to RAID-5 data recovery

Last week there was a power grid failure which break down my server’s RAID array. I have no UPS (as I’m a skinflint) and no automatic email alerts (because I’m too lazy to set it up). As a result, for 5 days, my 3-disk RAID-5 array …
➟ Read more

How-to add proxy support to Feedalizer ruby library

Here is a little code snippet which monkey-patch Feedalizer to let it grab web content through a HTTP proxy: # HTTP proxy settings HTTP_PROXY_HOST = "123.456.78.90" HTTP_PROXY_PORT = 8080 # Calculate proxy URL HTTP_PROXY_URL = "http://#{HTTP_PROXY_HOST}:#{HTTP_PROXY_PORT}" # Monkey patch feedalizer to support page grabbing through a proxy require 'feedalizer' class Feedalizer …
➟ Read more