Saturday, October 8, 2011

Kindle can't be used if connected via USB even if ejected - Windows 7

On Windows 7 I plugged in the Kindle into the USB slot and it said I had to eject it if I want to use it during charging. I did it by choosing "safely remove device" from the menu of the usual USB icon in the bottom right corner, but the Kindle kept saying I have to eject it.

Turns out there is an Eject option if you click on Computer in the Start Menu and then right click on the attached Kindle device. When that Eject is selected then the Kindle can be used during charging.

Friday, September 2, 2011

How to do a partial search in your GMail account

GMail's search feature is not that great, because it cannot find mails if only the beginning of a word matches the search query. So if you search for travel then it won't find mails with the word travels.

This is very annoying and makes searching much less useful than it could be.

Luckily, there is a solution. You should index your mail with a different tool which can do these kinds of searches. One such tool is the Opera Browser which has a very capable mail client in it. Don't worry, you don't have to use Opera for browsing if you don't want to (though, it's a great browser). You can use it for GMail search only.

Here you can read about setting up Opera's mail client for GMail and make sure you set up it so that Opera only copies the mails from GMail, but leaves the originals there (probably this is the default). When you are done Opera will start copying the mails which may take some time if you have lots of emails.

When it is done then you can start searching your messages with the Opera Mail client and it will find words even if the search matches only the beginning of the word not the whole word.

Just open the Mail panel and click on the Unread view, for example, and in the top right corner there is the search box.

Thursday, August 25, 2011

Backup your files to the net automatically and securely with Dropbox and RAR

So you want an automatic backup which you set up once and then you can forget? If so then first install Dropbox. Dropbox works in a very simple way, it creates a directory (usually "My Dropbox") and everything you copy there is uploaded to Dropbox's servers automatically.

The next step is collecting the files you want to backup. RAR is a good tool for that. It can put all your files into a single archive file and it can take the directories to be archived from a file list.

So create a file in which list in separate lines the directories you want to backup and then create a batch file with a command like this:

"C:\Program Files\WinRAR\Rar.exe" u "c:\My Dropbox\backup.rar" @c:\backup_file.list

This command reads the list of files to be backed up from c:\backup_file.list and puts the result in the Dropbox directory. The command u means the archive will be updated, so only files you change is written to the archive if you run the command again and again.

Because that is what you should do and you should do it automatically, so run the batch file daily with the Task Scheduler.

Are we ready? Almost. If you want to secure your stuff (and why wouldn't you?) then you should encrypt your backup file. RAR can handle this too easily, just add two more switches to the command line in the batch file and replace password with your own encryption password:

"C:\Program Files\WinRAR\Rar.exe" -p"password" -hp u "c:\My Dropbox\backup.rar" @c:\backup_file.list


That's it. It backs up your files, encrypts them and uploads the backup to the cloud with Dropbox. And with the help of the Task Scheduler all that happens automatically. Isn't it a great thing?

Wednesday, July 6, 2011

Call batch file from other batch file

I always forget how to do it, but it's simple, use the CALL command:

CALL other.bat

Wednesday, June 22, 2011

Watching country blocked Youtube videos

Is a Youtube video blocked for your country? It sucks, doesn't it? But it's easy to circumvent the block. Just go to this site which provides a proxy video player which usually can play blocked videos just fine. Just copy the video URL and paste it.

Friday, April 1, 2011

Why there is no Android in Eclipse Galileo Preferences

You have to run Eclipse in administrator mode when installing the Android SDK, otherwise it won't work.

Wednesday, March 23, 2011

Microsoft Wireless Mouse stops working

It's always interference for me. Today it stopped working after several weeks of problem free behavior. Try putting the receiver somewhere else. It solved the problem for me.

Friday, March 4, 2011

Split a long audio mp3 file into smaller parts

I had a several hours long audiobook file and it was cumbersome to handle it with my mp3 player, because it had only rudimentary controls for moving in the file. So I wanted to split it into smaller parts and as it turned out it's quite easy. The file can simply cut into pieces, no complicated trickery is needed. I used Total Commander to split the file and it worked beautifully. Try it yourself.