Humble Indie Bundle 3: Pay what you want for 7 or 12 awesome multiplatform games!

Humble Indie Bundle 3

Little more than three days is left for the Humble Indie Bundle 3, a GREAT offer to acquire seven great multiplatform games (they work on Windows, Mac and Linux!). This is a GREAT offer because you put the price, you pay WHAT YOU WANT for all of these awesome games! Part of your purchase goes to developers and part to charity foundations (EFF and Chil’d Play) and you decide how it is divided. Besides, you can install the games whatever times you may like since all of the games are DRM free! You can redeem them on Steam and Desura even.

But if it is not enough to convince you, if you pay $6 or more, you get five more games that were part of the Humble Indie Bundle 2!

I’ve already made my purchase, what are you waiting for? Go to and enjoy!

How to show a progress bar when extracting a file

Recently, I found about a nice tool for showing the progress when extracting a compressed tar file on the command line: pv. pv monitors the progress of data as it goes through a pipe, so we need to send the file to tar using a pipe:

$ pv file.tgz | tar xzf - -C target_directory

This will show elapsed time, percentage completed with a progress bar and an estimated time to completion (ETA), something like this

1.16MB 0:00:20 [6.06MB/s] [==================>               ] 55%  ETA 0:00:37

Some more info about pv and examples at: A Unix Utility You Should Know About: Pipe Viewer.


Nicer progress bar using dialog

The command above showed very useful, but I wanted to be able to show the progress of extraction using dialog. This is an example script of a progress bar using dialog:
Continue reading How to show a progress bar when extracting a file

Nice notifications with notify-send

I’ve been writing some simple BASH scripts lately (no, I’m not good with bash), and was looking for a method to get notified when certain parts of the scripts finished, I’ve found notify-send serves perfectly for this purpose, besides being used by Epiphany for notifying when a new message arrives ;).

Get notify-send

# aptitude install libnotify-bin

Test it

$ notify-send Title Message

This will show a notification balloon on the top rigth corner of your screen with the indicated title and message. Really, it’s been really useful for my everyday use, I can start a batch process and go on with my other activities, then I receive a notification when the process finishes or requires my attention :).

A very simple example is to compile a big program such as alsa:

$ ./configure && make && notify-send "Ready to install"

Or a more elaborated and really nice one :).

How to use the PICkit2 programmer under Linux

I’ve been using the Microchip PICkit2 development programmer for a long time now, under Windows and Linux :), it’s a very good piece of hardware and I think the recommended companion for hobby PIC micro controller developers.

These days I had to install the software for Ubuntu Lucid (32 bits) at work, and I think I’ll list the required steps to have it working so that I don’t forget them ;), and maybe it can be of help.
Continue reading How to use the PICkit2 programmer under Linux