Work Around for ADB Drivers in x64 Windows XP

My final year project is a ticket booking system for a mobile device, and I’ve chosen to target Android and develop an application for my HTC Hero.

I followed the set up instructions in my copy of Android Application Development (which are pretty much the same as the instructions on the Android Dev site), but when I tried to run a simple Hello World type app on my handset I had problems.

I would plug my phone in, as per the instructions, but it wouldn’t be detected. Eclipse is supposed to recognise my phone as valid build target and be able to install and run the app on my phone via USB, but it didn’t.

Read More »

Posted in Android | Tagged , | Leave a comment

Automatically Deleting Sent Mail Stored By Mutt

The Problem

I was recently doing some housekeeping on my websever: removing archived software downloads that I no longer needed and looking for any problems when I found one that initially had me stumped. Looking at the size of my home directory, I found it was around 600mb with no immediately obvious reason as to why.

I have hardly any files in my home directory, so I quickly located the problem to ~/Mailbox/.Sent/cur, which is, as the path suggests, related to my email server. It looked like copies of my sent mail was being stored and not deleted.

Read More »

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

Counting All Files in a Linux Directory

To count how many files there are in a directory using the terminal on a Linux machine you can combine 2 commands:

  • find
  • wc

We’ll use the find command to locate all the files (and exclude directories and other non-files) and then the wc command to count the files.

Read More »

Posted in linux | Tagged , , | Leave a comment

Hello world!

Welcome to my new blog. It’s fairly basic right now, but as I explore the customisation options and start adding to it, I’ll make this little piece of the web my own and post articles related to what I’m working on (which is generally related to computer science or management).

Posted in Uncategorized | 1 Comment