Simple file transfer between devices/computers with Gmail

You ever wanted to simply move one or more files like images or couple mp3s between workstation, laptop or mobile device, but don't really have dropbox or similar service configured?

For this purpose I've found myself using Gmail as intermediate stop. Just start a new message, upload some stuff as attachment and save the message as draft.

Open up Gmail on the other computer or device, download the attachments and delete the message. And like that, you've just used Gmail as ftp-server!

The only limitation to this method are google's attachment restrictions. In short, up to 25 megabytes and avoid dangerous file types like executables.

Useful subversion alias

After using subversion from terminal for a while now, i've found following command so useful, I've turned it into an alias.

Add new files ready to commit

svn st | grep "^?" | awk '{print $2}' | xargs svn add

This command is a mouthful but saves you from adding each file individually.

When you want to use this alias you'll have to take care of the nested quotes and escape them.

alias sa='svn st | grep "^?" | awk '\''{print $2}'\'' | xargs svn add'

One could make several variations on this alias for svn remove, revert or others. You'll just have to change the grep and xargs arguments.

StuBru latest tracks Android widget (v1.4)

I've created a small Android widget which shows the latest (or currently) played tracks on Belgian radio station Studio Brussel.

Clicking on the widget shows a list of the recently played tracks. Auto refresh can be enabled in the widget preferences.

Install app/widget from Android market:

https://market.android.com/details?id=be.niob.apps.nowplaying

v1.4

- Show title and date in list of tracks

- Check network connection before retrieving tracks and inform user

v1.3

- Replaced refresh and preferences button icons with better ones on widget

v1.2

- Set auto refresh off by default to preserve battery

- Added preferences screen for enabling auto refresh and setting refresh frequency

- Added manual refresh button to widget

v1.1

- Widget shows latest tracks and auto refreshes itself

- Show list of played tracks when cliking on the widget