Me!

This is the homepage of Martin Tournoij, also known as Carpetsmoker and arp242 on the web. I write about stuff on this page, occasionally.

I currently work as a Ruby (on Rails) developer to pay my bills; I consider myself fairly lucky, since this is what I actually enjoy doing. In previous bill-paying endeavors, I used PHP, Python, JavaScript, and CoffeeScript. I’ve also programmed in C, Scheme, Haskell, and Perl.
I like to use FreeBSD or OpenBSD, but I’ve also Linux a lot. In general, I feel UNIX is the way to go. I also have a BitBucket page with my open source projects.

I play the guitar & bass guitar, both after a fashion. I like all sorts of music

I can be found on StackOverflow, the FreeBSD Forums, DaemonForums, and a number of other places.
You can email me at martin@arp242.net.

Digging for hosts on FreeBSD 10

Created on 08 Mar 2014

FreeBSD 10 removed bind, and with that the commandline utilities dig(1) & nslookup(1)

Repeat the last shell command in Vim

Created on 09 Feb 2014

Vim script to repeat the last shell command you used (such as !make)

Generate passwords from the commandline

Created on 03 Feb 2014

Many websites offer a solution for this, but many proposed solutions are dubious at best

Creating temporary files in PHP

Created on 05 Dec 2013

mktemp() isn’t good enough; here’s something that’s (slightly) better.

Opera 11 onload bug

Created on 27 May 2011

Recent Opera versions don't execute onload when Microsoft .eot webfonts are used.

Tunnelling SSH though a firewall with ssh -L

Created on 13 Dec 2010

Here's a little tip on how to tunnel ssh through another machine with the -L option.

Online Unreal Tournament server browser with pcntl fork()

Created on 27 Jun 2010

Browse Unreal Tournament servers in a web browsers.

Manage Unreal Tournament cache files

Created on 24 Jun 2010

Manage Unreal Tournament 99 cache files with a Python script.

Minimal Apache configuration for subversion

Created on 18 May 2010

This is a minimal Apache configuration file for use with subversion access with SSL.

Run multiple services on one port and use PF's overload to switch between them

Created on 14 May 2010

I would like to access both ssh and a subversion HTTPS repository at my server.

Copyright © 2010-2014 Martin Tournoij <martin@arp242.net>
You may do anything with this work that copyright law would normally restrict, so long as you retain the above notice(s) and this license in all redistributed copies and derived works. There is no warranty.