Archive for the 'Linux' Category

Spell check in vim7 / mutt

Wednesday, April 16th, 2008

Perhaps this is widespread knowledge but I didn’t know about it, and in the short time since dg pointed it out to me I have been loving it, so I thought I’d mention it here.
A few days ago I made stupid typos twice in a row in emails of a professional nature that I really […]

Sleeping deterministically in a shell script

Tuesday, April 1st, 2008

Occasionally on a Unix machine you might want a task to happen at the same time every iteration, but not have to specify the exact time. An example of this could be when getting multiple machines to mirror something from a master — you would like this to happen say every half an hour, […]

Off to FOSDEM

Thursday, February 21st, 2008

I’m off to FOSDEM in Brussels tomorrow, in the yearly pilgrimage with the Hampshire LUG lot. If you’re also there and I haven’t made it obvious that I don’t want to talk to you, feel free to say hi!

Mutt pager/index view, and colour scheme

Saturday, February 16th, 2008

I had thought that my use of mutt was completely ordinary, but after pasting a screenshot of it:

into IRC for unrelated reasons, a number of people asked how I set it up like that. The answer is I read the manual!
But for those not interested in reading the manual, the image is of the […]

Let’s have a mass debate

Sunday, January 20th, 2008

There’s some threads where you feel that everything that could ever be usefully said has already been said. That point was reached several pages past the top of the image below:

Internet drama: Just say no.

FOSDEM2008

Tuesday, January 8th, 2008

Andrew, I’ll be going. I expect a few other hantslug/bitfolk people will as well. I’m waiting for Graham to kick off talk of a mass Eurostar booking…
The Eurostar may end up slightly more expensive than a flight, but getting to/from the actual train will be a lot less hassle than by plane, and […]

Making Exim reject spam at SMTP time

Sunday, May 20th, 2007

davee, Exim now has a built in interface to spamd. That’s what I use and it’s also what we use on lug.org.uk. It’s very simple:

# put headers in all messages (no matter if spam or not)
warn message = X-Spam-Score: $spam_score ($spam_bar)
spam = nobody:true
warn message = […]

Linux virtualisation

Monday, May 7th, 2007

Andrew, I’m a big fan of Xen myself, although using it is not something one consider lightly as it’s going to involve quite a lot of learning and effort on your part. What you want to do is easily achievable in Xen though 1GB really isn’t much RAM to be working with.

Inotify

Friday, May 4th, 2007

Pete, I would suggest making any inotify functionality completely optional, as some filesystems don’t support it and not all kernels have support either.
The fact that upstart doesn’t work without it is extremely annoying sometimes (last checked in Dapper; may have been fixed since).

haproxy bafflement

Sunday, April 29th, 2007

Update 2007-05-05: I sent some strace output to the author of haproxy, Willy Tarreau, and he replied within 24 hours with a full annotation of the strace and a one line patch to fix this issue. That’s what I call support! Here’s his comments and the patch:
I think this is caused by the […]