Author Archives: tobbez

Patch for FiSH for irssi with recode

This patch fixes a buffer overflow (causing a segfault) that would happen if an ISO-8859-1 sent a string consisting of many instances of a single extended character (å, ä, ö etc). The patch is against FiSH v1.0-RC5, and is only … Continue reading

Posted in Computers | Leave a comment

libucfg

I just released libucfg, a small configuration library in ANSI C. You can find it here.

Posted in Computers | Leave a comment

ld-preload-reverse

I though I would post this piece of code since it has been laying around for quite a while. ld-preload-reverse is a LD_PRELOAD library that overrides the most common functions for writing text to a terminal, and reverses their output: … Continue reading

Posted in Computers | Leave a comment

lighttpd rewrite rules for Symphony CMS

For Symphony 2.0.6. url.rewrite-once += ( “^/symphony/favicon.ico$” => “$0″, “^/symphony/symphony/(assets|content|lib|template)/.*$” => “$0″, “^/symphony/workspace/[^/]+/.*$” => “$0″, “^/symphony/image/(.+\.(jpg|gif|jpeg|png|bmp))$” => “/symphony/extensions/jit_image_manipulation/lib/image.php?param=$1″, “^/symphony/symphony/?(\?(.*))?$” => “/symphony/index.php?mode=administration&$2″, “^/symphony/symphony(/(.*/?))?(\?(.*))?$” => “/symphony/index.php?symphony-page=$1&mode=administration&$4″, “^/symphony/([^?]*/?)(\?(.*))?$” => “/symphony/index.php?symphony-page=$1&$3″ ) Replace the first occurrence of ‘symphony’ on every line with the location … Continue reading

Posted in Computers | 1 Comment

Google wave nominations

Seeing as I now have 19 nominations left from the second and third batch I received, I’ll offer the same thing as Ax0n over at H-I-R did: be among the first 19 to post your email address as base64 in … Continue reading

Posted in Random stuff | 12 Comments

Amsterdam & beginnings of Hacking at Random

Just posting these few photos before I go to sleep today. Since I didn’t get my real camera with me all of them are taken with my mobile phone camera, so quality isn’t really that great (slight understatement). Anyway, most … Continue reading

Posted in Random stuff | Tagged | 2 Comments

Ebuild for libsummer

I wrote an ebuild for the broadcatching library libsummer, that recently released version 0.1.0: # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION=”A broadcatching library” SRC_URI=”http://flukkost.nu/libsummer/${P}.tar.bz2″ HOMEPAGE=”http://wrya.net/services/trac/summer/” KEYWORDS=”~x86 … Continue reading

Posted in Computers | Leave a comment

Mailman with lighttpd and Postfix on Gentoo

This post details how to setup mailman using lighttpd and postfix on gentoo. Before starting I assume that you have: * Lighttpd setup and working * Postfix setup to handle mail from one domain * MX records setup for the … Continue reading

Posted in Computers | Tagged , , , | Leave a comment

Quake Live

So today I got around to trying out Quake Live, which went into open beta the other day. If you didn’t know already, Quake Live is very similiar to Quake 3, with the exception that it’s played in a browser. … Continue reading

Posted in Games | 3 Comments

Ebuild for yubikey pam auth

(If you don’t know what a yubikey is, have a look here) So I wrote up ebuilds for yubico-pam and its dependency yubico-c-client. You can get them here. Just extract the tarball into your portage overlay and emerge pam_yubico. If … Continue reading

Posted in Computers | Tagged , | Leave a comment