solutions

Dumb tester_elf

This tester_elf script is very dumb, which is uncharacteristic of elves in general. Why did I name it tester_elf? Well, it’s a Santa’s little helper type of elf as opposed to an individual of Tolkien’s highly cultural race. I do crave some nice D&D RPG experience but there aren’t any good new games in that [...]

yui_compressor_fu

Please welcome a new thingie I just released – yui_compressor_fu.

Point

yui_compressor_fu delicately minifies all your assets (linked with javascript_include_tag, stylesheet_link_tag helpers) with YUI Compressor. It abides Rails caching rules. All you have to do is install the plugin, and minifying will automatically kick-in when rails performs its normal caching routines.

Tale

Today I was having my usual cup [...]

Installing Sphinx with Postgres on Leopard

I didn’t find a quick short guide to installing sphinx on Leopard with PostgreSQL, hence here goes (this assumes you already installed PostgreSQL).

Compile dependencies

These two libs are required by sphinx according to this blog post.

  ~% mkdir src   ~% cd src   ~% curl -O http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.tar.gz   ~% tar xzf libiconv-1.13.tar.gz   ~% cd libiconv-1.13   ~% ./configure –prefix=/usr/local   [...]