Posted on: 13 May 2008
I have a rather old laptop which is set up to dual boot between Windows XP and Linux (Red Hat 9) using GRUB. Unfortunately this machine now needs to be fully dedicated to Windows (it only has a 10GB disk, and we have 8GB of data to be cleansed using a Windows app), so I've had to remove Linux. This proved slightly trickier than I suspected, mainly because of my own rashness. The laptop was configured with four partitions: 1. the main Windows partition (XP was installed before Red Hat) 2. a Linux boot partition 3. a Linux OS partition
Posted on: 03 September 2008
For my sins, I am currently using Windows Vista as the OS on my main PC, and am using the build-in mail client, Windows Mail, basically a rebranded Outlook Express. It's pretty basic, but I don't need much from my email client. However, today I found a need to view the HTML source of HTML emails.
Posted on: 15 March 2009
OK, this one was entirely my own fault, but it's a useful cautionary tale to anyone running any version of Ubuntu. For some time now I've been running an Ubuntu 7.04 server as my virtual development server, and it's been working out just great. The trouble started when I needed to process incoming emails using a PHP script. Now, there's a rather handy PHP IMAP library to do just this. Thanks to Ubuntu's use of the Synaptic package manager, installing it is a simple "sudo apt-get install php5-imap" command. And that's where trouble began.
Posted on: 25 August 2009
An interesting problem for today. I was trying to fix a fairly trivial bug in one of our websites, but when I try to load a page from my webserver I get a Drupal error: user warning: Can't create/write to file '/tmp/#sql_1071_0.MYI' (Errcode: 28) query: SELECT t.* FROM term_node r INNER JOIN term_data t ON r.tid = t.tid INNER JOIN vocabulary v ON t.vid = v.vid WHERE r.vid = 39 ORDER BY v.weight, t.weight, t.name in /var/www/seo/modules/taxonomy/taxonomy.module on line 617. Errcode 28 means I'm out of disk space, but a quick df shows plenty:
Posted on: 02 October 2010
I've been using Linux as my main development environment for a couple of months new (full details over here). The transition has been pretty easy on the whole, but I've been struggling with one of the most basic tasks - copying and pasting. For historical reasons, Linux has two ways of copying and pasting: