php

smart_resize_image now hosted on GitHub

A while ago I wrote a php function for image resizing with preservation of transparency. It seems to have been quite popular, but until now there was no good way to fork the code, and/or submit changes. That’s why I decided to make this function available on GitHub. Fork away!

Terminal Hacking Tool For Fallout 3

Recently I had to relax, was playing Fallout 3, and realized that when you hack terminals in the game, you follow the same algorithm. So I wrote a tiny tool that will walk you through hacking. It should get it every time. I think.

Terminal Hacking tool for Fallout 3

Conveniently Programming RSS Feeds in Drupal

Drupal feeds most of the content out of the box. If it doesn’t do what you want, it allows you to use format_rss_item() and format_rss_channel(). This stuff is simple to use, but not very convenient by itself. There are two things that I like to do when building feeds:

Use theme functions to format items. [...]