Programming



Better Permalinks to Pages

Tuesday, November 1st, 2005

For some obscure reason, using WordPress Pages together with permalinks did not work for me with latest WP installed (1.5.2). Here is my solution together with the modifications to the code.

Read the rest of this entry »

Multilingual WordPress

Tuesday, November 1st, 2005

Running a WordPress weblog in several languages simultaneously, means translating and coordinating several components in WordPress. Here are some ideas and solutions to this…

Read the rest of this entry »

Animated GIF editing

Monday, October 31st, 2005

I’ve recently found myself looking for a good way to dynamically resize and optimize animated GIFs from within a PHP driven website. These are some of the choices I found.

Read the rest of this entry »

PHPlot documentation (again)

Sunday, September 25th, 2005

I really don’t know why I haven’t uploaded this before, but here is the current documentation of PHPlot, the PHP graphing library I maintain. Well, at least I used to, because I don’t really have the time any more…

Together with the standard documentation it you will find the latest manual that the kind L. Bayuk wrote for all of us, and which the unforgivable maintainer (me) has not yet released with PHPlot…

setperms.sh

Sunday, August 28th, 2005

Quickly fix permissions under one directory. Get it. Or see it…

Read the rest of this entry »

Bazaar RPM for SuSE 9.2 64 bit

Tuesday, August 9th, 2005

Bazaar is one of several implementations of the GNU-Arch version control system (the other one being TLA), and the one we use at my job due to its simpler interface and improved usability.

Here I make available a 64bit RPM of Bazaar 1.4, with a little patch of mine which makes the environment variable ARCH_LOG available to the hook upon commit.

As usual, the package is signed with my public GnuPG key.

Helper functions

Friday, July 29th, 2005

Some functions providing nice output formatting and easier user input parsing used by some of my scripts. Get them. Or view them…

Read the rest of this entry »

replace.sh

Friday, May 13th, 2005

Poor man’s replace in files. Get it. Or see it…

Read the rest of this entry »

Video on Doja example

Saturday, April 23rd, 2005

Last week I had to test if some video in .3gp format worked on a particular handset, but I wanted to test it from a Doja app. Given that someone on doja-developer.net asked for it as well, I coded a quick example, quite similar my other JarInflater example, and here it is.

Read the rest of this entry »

JarInflater

Tuesday, April 12th, 2005

Today I’ve been toying around with some ideas to reduce download times of resources in Doja applications. We have this big game here which has to download somewhere around 200KB and it just takes too much time.

After a little reading it appeared as obvious to use JarInflater, which is handily available on Doja 2.5 Overseas Edition, the platform we develop for here, and which basically reads JAR (aka ZIP) files from an InputStream and returns another InputStream for each filename we request.

Read the rest of this entry »