Skip to content

Author: halfgaar

http://www.halfgaar.net/

Halfgaar is Wiebe. Wiebe is a contributing author on this weblog. He also has a lot of stuff (such as long, in-depth articles) on his personal website.

Wiebe works at YTEC, where he is a senior developer of customer-specific tailor-made software (“klantspecifieke maatwerk software“) for clients in a few select markets: wholesale, printing and healthcare.

Adding locales in Ubuntu

I wanted the dates on my Kubuntu system to be shown as Dutch dates. Therefore, I needed to add a locale. The place to do it is in /var/lib/locales/supported.d/local. It now contains this: Read More »

Increasing (encrypted) disk image size with dd

When you have a raw disk image file, you may need to increase its size at some point. With dd, you can do this: Read More »

Encoding a motion jpg video produced by a canon A430 to xvid

mencoder, motion jpeg, xvid, canon a430 Read More »

Silent change in URLs of Ruby on Rails svn repository

I don't know why, but everything associated with Ruby on Rails seems to change all the time, without notice, or (in the case of URLs) without redirect. Read More »

Creating a custom device node for specific hardware with udev

Sometimes you want specific hardware to get a specific device name in /dev. For example, I want my backup hard disk to have the same device name. I can't automate anything if sometimes the device is sdc and other times it's sdd. Read More »

Clonezilla as disk imager

I was always using partimage to make backups of the hard disks of workstations. When trying to restore one the other day, it just started giving CRC errors. After recreating the image and running a simulated restore, it gave CRC errors again. So, apparently, it's not incidental. It must be due to the experimental NTFS support. So, I set out to find a new tool. And that's how I found Clonezilla, which gives me a very good first impression. Read More »

Ultra Cheap dual Eizo monitor setup

As people who know me know, I passionately hate TFT screens, for reasons not relevant right now. It is unfortunate that marketing has caused the superior type of monitor, the CRT, to disappear. Read More »

Finding and deleting duplicate files

I needed to remove all duplicates In a collection of hundreds of thousands of files. I first came across this, which generates a script with commented out rm statements, but I quickly found another tool, fdupes, which made life a lot easier for me; I didn't want manual control. I just wanted to have all the duplicates deleted, except one of them. Read More »

Decoding djvu files on the command line

So, you have djvu files on a remote machine that you have SSH access to, and the local machine you're working on doesn't have djvu tools. What do you do? Simple, use ddjvu to decode the djvu files to images. Read More »

PostgreSQL back-end for Ruby on Rails confusion

I just need to add a quick summary of what postgres back-end tool our Ruby on Rails application uses, and how we've configured it, because it's quite confusing... Read More »