Archive for Linux
Here’s a Python script to remove Textile mark-up from a Wordpress blog.
Download the script here: untextile.py
proc is a program that ‘compiles’ Pro*C into C or C++. It’s shocking that a big company like Oracle could produce something so shoddy. Read the rest of this entry »
I’ve just spent a rather dry afternoon working out how to create a service on AIX. In brief, AIX doesn’t provide any real support for SysV style Unix services, instead it has its own scheme, which does not use the familiar start/stop wrapper scripts. Read the rest of this entry »
Late last year I went to the Ordnance Survey to see a demonstration of their new OpenSpace mapping service. It was there that I met Artem Pavlenko, who wrote Mapnik. We talked briefly about a few things, one of which was the Boost C++ libraries. I suggested that using such libraries makes software harder to build and install… “Oh no,” he said, “Boost’s all in the header files, so there are no library dependency problems.”
Well that turned out to be a big fat lie.
I have one of these mice and I love it. Instead of a scrollwheel, it has a little “joystick” just behind the middle button. And what’s more, it lights up blue!
Anyway, I keep having to set up my
xorg.conf file for it, and I always have to puzzle out the correct configuration. (Yes my hard drive failed and I’m having to rebuild my whole machine.) Well, here it is:
My sound disappeared after upgrading from Firefox to Iceweasel. Irritating, but the problem is easily solved:
Ensure that alsa-oss is installed. Then, edit /etc/iceweasel/iceweaselrc and set:
(Thanks to macewan.)
I’ve stupidly bought a VIA EPIA motherboard. It’s a tiny, low power server board, with two built-in VIA-Rhine ethernet controllers. I’ve added a Prism based wireless PCI card. I use it as a firewall and WiFi base-station. Read the rest of this entry »
A simple C++ interface to NASA’s SRTM Elevation data. I use this code in my Flood Maps project. This code will only run on a Unix operating system.
Download it here: nasagrid.tgz
I’ve just started using BackupPC to backup my file server. It’s a disk-based solution – so if you want to archive to removable media such as DVD-R or tape, you need a separate archive step.
The advantage of BackupPC is supposed to be that it can do remote backups of every machine on your network, without needing special software to be loaded on each client machine. That’s true, but a little misleading. If you want to maintain security, then you need to do a little bit of setup on each client.
Configuration seemed unnecessarily awkward. Here’s what I did. Read the rest of this entry »