Welcome to gnomedia codeworks!

This is a blog, a collection of articles, some software projects, some miscellaneous scripts, a kitchen sink... I hope you'll find something useful or interesting.

Update to Slimming Down WordPress

August 10th, 2005

Back in February I wrote a short piece about stripping down WordPress to a more basic functionality (see [WordPress on a Diet](http://codeworks.gnomedia.com/archives/2005/programming/wordpress/wordpress-lite/) ) and now I’ve just undertaken it for another site, so here is a bit more information, also making use of the latest version, [WordPress](http://wordpress.org) ‘StrayHorn’ 1.5.1.3.
Read the rest of this entry »

Blogs and Spam

August 5th, 2005

Yes, blogs (such as this one) also collect spam, mainly for online p0ker and casin0′s, and they mostly get moderated and sent off to the great black pit ‘/dev/null’. But more are getting through and moderating them takes time… so, as part of an upgrade to the site code, I’ve put in a new Spam catcher:
[Spam Karma 2](http://unknowngenius.com/blog/wordpress/spam-karma)

Read the rest of this entry »

LVM recovery tale.

June 1st, 2005

Over the weekend I had the worrying experience of losing my LVM settings and potentially all my data… a quick search on the web showed a confusing set of information, much of it for older versions of LVM and therefore rather suspect.

Well, I recovered all my data and it was really quite simple, so I’ve written up what I did in the hope that someone else, in a similar situation, will find it useful. It’s a scary thing, losing the whole hard disk and knowing that, in reality, its all there.

Read the rest of this entry »

WordPress Lite – WordPress on a diet.

February 10th, 2005

Back when WordPress was a little wee thing known as B2, it was easy to install and train users in the use thereof. Now WordPress is a full featured blogging system (and very good it is too) but, for some it is overly complex. Here is a look at how to simplify the installation and use of WordPress. WordPress-Lite if you like.

[Note: since WordPress 2.0 has hits the stands, a lot of this article is moot. WordPress 2.0 has a simpler set of permissions for users which give them simpler administration screens]. Read the rest of this entry »

Moved to WordPress

October 29th, 2004

Astute observers may note that the site has changed a little… well quite a lot really. All the articles and notes have been moved over to the WordPress blogging software and the site slightly redesigned to accomodate that. Much of the site is based on the Kubrick set of templates.

Read the rest of this entry »

WordPress file loading

October 27th, 2004

This is the order of loading of files when WordPress loads up. I’m assuming a default installation and this is according to 1.3alpha4 as pulled from CVS.

Read the rest of this entry »

KdeAm updated.

September 14th, 2004

I recently upgraded the kernel on my workstation to kernel 2.6.8 and, of course, some things didn’t work as they had previously. One of those things was the ISDN card (which was previously using the ISDN2Linux tools). So, I took the opportunity to switch over to using CAPI instead. Which required upgrading KdeAm (the KDE answering machine) to read the files produced by CapiSuite. CapiSuite of course doesn’t use the same format for the audio files as vbox, nor does it store them in the same place, so there are a few modifications to be done.

Read the rest of this entry »

Krefty on Sourceforge.

August 16th, 2004

I’ve set up the krefty project on Sourceforge, an experience in itself. I’ve gained a lot of admiration for people who go through the whole process of creating and distributing software in the Free Software world. Writing the code sometimes seems like the easy bit of the work. Writing documentation, creating and testing the distribution packets, setting up a home page, creating and uploading projects on places like freshmeat.net and sourceforge takes a fair bit of work in itself.

The project is here and locally here.

SubberZ newsletter subscription script.

July 25th, 2004

I had a need for a simple, basic, easy to install PHP script for some websites to allow visitors to subscribe/unsubscribe from a newsletter. I found plenty on HotScripts but they were all far too big, complex and hard to modify.
So, I wrote my own and called it “SubberZ”. In the end I called it “SubberZ[Lite]” as I have ideas for making it a bit more complicated and capable, but rather than create one big set of scripts, I’ve decided to create a family of scripts, the “SubberZ” family. So, there will be “SubberZ[Lite]” and “SubberZ”. And maybe even a “SubberZ+”!

Further details available on the SubberZ page.

Krefty released

June 11th, 2004

Today saw the first release of Krefty, a Quick Reference Application written for KDE.

A quick reference sheet is a handy look up page of all the hot-keys, command parameters, options and so on for various programs. I’ve put together sheets for such things as GNU-Find, GNU Tar and so on, there is one for FlightGear, one for Vim. The data files are standard XML files, so the hope is that some of you will contribute a few more Krefty sheets to the pile, I can distribute them from here.

Source code, krefty files and some docs available on the Krefty pages.