Category Archives: Computers

PuTTY-url 0.62

The PuTTY patch with clickable URL support has been updated for PuTTY 0.62. You can find the patch (and a binary) on the new web site for the patch at http://ryara.net/putty-url/.

Posted in Computers | Leave a comment

PuTTY 0.61 with clickable links

The patch now has a web site at http://ryara.net/putty-url/, where all future updates will be posted. Since PuTTY tray (which I have been using for this functionality so far) has been discontinued, I decided to port its clickable link functionality … Continue reading

Posted in Computers | 5 Comments

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