Author Archives: mcmlxxii

Drupal Calendar 0000 glitch

If you use the Drupal calendar module and wonder why the navigation links always link to the year 0000, there is a simple fix. Open up the file sites/all/modules/calender/theme/theme.inc and after this stanza (lines 19-23): // Create the links to … Continue reading

Posted in Drupal | Tagged , , , , , , | Leave a comment

imap sent or sent items?

Imap rocks, especially since Thunderbird 3.0 and its smart folders allow all email accounts to look like local folders. Emails can be left on the server, where proper backups can be configured, and emails can be accessed from any number … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Siemens SE 587 Dynamic DNS Update script

Quick script I knocked up to update dynamic dns record at freedns.afraid.org, querying the router for its IP address. Uses expect to login via telnet to the router and curl to GET the http update url. #!/bin/bash # Siemens SE … Continue reading

Posted in Linux | Tagged , , , , , , , , , | Leave a comment

AR5008 and Network Manager.

In both Ubuntu Jaunty and now Karmic, I have been experiencing pretty dreadful wireless performance using a combination of the Atheros AR5008 chipset and the default GNOME connection management tool Network Manager. I have read elsewhere that Network Manager scans … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Turning Firefox into a web screensaver using a bash script

There’s a little program available for windows that lets you turn your browser into a screensaver, looping through various web content. However, there are 2 things wrong with it. Firstly it costs money. Secondly it doesn’t run on linux. So … Continue reading

Posted in Linux | Tagged , , , , , , , | Leave a comment

Gedit document words autocompletion plugin

I followed a submission to reddit the other day highlighting a few choice plugins for gedit, as I am fond of using the default GNOME text editor. One plugin in particular caught my eye, the document words autocompletion plugin, written … Continue reading

Posted in Linux | Tagged , , , , , , , , , , | Leave a comment

PHP class using Imagick – resize, reflect or drop shadow

I’ve been spending a bit of time getting to know PHP classes over the Christmas holiday, and I’ve written a couple to test out my knowledge. The first is an image uploading class, which checks for various problems with files … Continue reading

Posted in Linux | Tagged , , , , , , , , , | 2 Comments

Nvidia 180 on Ubuntu Intrepid Ibex

EDIT: It seems the packages needed are in Intrepid updates now, so as long as they are enabled in System > Applications > Software Sources they should be installed with a simple sudo apt-get update && sudo apt-get install nvidia-glx-180 … Continue reading

Posted in Linux | Tagged , , , , , , , , | 4 Comments

How good is Ilford XP2?

I’m a very amateur photographer – I like the results of taking photos enough to have developed an interest in the process. To this end I still use a 1970s vintage Pentax MX, which has forced me to learn a … Continue reading

Posted in Photography | Tagged , , , , , , , | Leave a comment

No! Please don’t do it!

There are some highly entertaining examples on the net of command line program output, but it’s great when you’re doing some system maintenance in Linux on your own machine and a gem unexpectedly crops up: :~$ sudo /etc/init.d/dovecot restart [sudo] … Continue reading

Posted in Linux | Tagged , , | Leave a comment