Salvaging a deleted message from Thunderbird

Suppose you got an important mail, but by accident deleted the message – and to make matters worse, you also decided that emptying the mailbox was a pretty neat idea. Is then time to Panic?

Well it might, but there is a chance you might be able to undelete the message – and quite easily if you’re on a Mac or a Linux machine. Here are the few steps, which has helped recover a lost mail or two… First close Thunderbird. Then located the mail directory (on Linux it’s located in the subdirectory .mozilla-thunderbird in you home directory – on windows most likely somewhere in C:\Documents and Settings*\Application Data\Thunderbird – In there you’re looking for the “Local Folders” directory.

Ubuntu: Changing your IP number

Sure it doesn’t happen that often, but sometimes you might need to change the IP number of your machine running Ubuntu. Either to configure it with a static IP number on your LAN or temporarily to configure a Wifi router - the latter being my case.

The first shot at changing the ip number, was going to the “System” menu, choosing Administration and Network Tools. It sounded just about right - but it’s wrong. Sure you view settings and some statistics, but it’s all read only.

Android – installing apps

Picking up from the last post, I’d share a little more of my Android experience.

Once I had configured the phone with my basic settings – voicemail number, wifi networks and so on – and moving my contacts to the phone, installing software is probably the next step. There is an Android market, but it’s just as good (or bad) as the Apple Apps store – finding the best applications may be a pain.

Moving to Android (mobile)

I’ve been using SonyEricsson mobile phones ever since the launch of the P800 some years ago – all with the Symbian OS. Until a few days ago that is. Now I’m on Android. I’m still in the process of finding my way around Android, but I’ll try to post some of the tips and tricks of running Android here. This first post covers the very basics.

The Phone

My Android phone is the HTC Hero. It seems well build and solid – and the case seem to be crammed full with just about any imaginable feature available in a mobile phone. The only exception seems to be an FM radio, but frankly I doubt I’ll miss it much. I didn’t really use it on my most recent P1i.

Filling a select drop-down with ajax data using jQuery

In user interfaces, it’s sometimes the case, that you need to have dropdowns with content dynamically loaded from a database, and sure you can query the database and place the content in the HTML-source as regular markup, but you can also write a few lines of jQuery powered javascript, and provide the data from an ajax-source.

Here’s how to do it.

First make the drop-down and as the single option make a “loading” message - just to let the user know something is happening.