Author: tom

Donegal, Ireland

We took the Derry Road out of Dublin, soon renamed to the Londonderry Road when we left Monanghan and entered the North. Some towns en-route had helpfully corrected the signs back to 'Derry' using spray paint. Other towns were flying big massive Union Jacks - this was July, the marching season... best head straight through

Dingle, Ireland

320km from Dublin, a 4 hour casual ride to possibly the most scenic area in the wildest county of Ireland. We're staying one kilometre to the east of Annascaul, in the Dingle Gate Hostel. Comfortable enough, we have a private en-suite room, there's a fire in the lounge and parking hidden from the road.

Linux CPU Scaling Governor – Performance and Overheating

On my previous laptop I suffered with repeated over-heating problems whenever CPU load went high for a prolonged period. After several emergency shutdowns (performed by ACPI) I discovered the problem: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor returned the result: “performance” Inserting the following line before the ‘exit’ line in /etc/rc.local: echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor resolved the problem. For all

Search and replace in vi (or sed)

Search and replace in vi is both quick and simple:X,Ys/search/replace/g (where x – start line number, y – end line number. optional) One very useful feature is the ability to use parts of the search regular expression within the replace string. For example, where the selected lines contain values between 2000-2999 and all these values