Category Archives: Computers

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

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

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

Compiling SDL_gfx (2.0.17) on Visual Studio 2008 (VS9)

IMPORTANT: Turns out I was wrong about why SDL_gfx doesn’t compile – thanks to sweetlilmre for pointing it out. I strongly suggest using his suggestions for steps 2 and 8, whereas step 4 merely is a matter of preference. You … Continue reading

Posted in Computers | 20 Comments

Flash cycler

Since I had a some time on my hands I decided to make a web page that cycles through a collection of flash movies and shows each one for a specified amount of time. It should work in most modern … Continue reading

Posted in Computers | 1 Comment

Super smash bros: Brawl (USA) on PAL Wii

I finally got SSBB working, and here’s how. But let’s start with what does NOT work. First, my setup: PAL Wii with latest firmware (Bought on the release date) WiiKey (Firmware 1.9s) Try 1 (No go): Enabling update blocker on … Continue reading

Posted in Computers | 3 Comments