1 May, 2009
I was on #ubuntu-fr trying to help people, and a person talked about irssi-notify script. It's a irssi script written in perl, that when there is message with your name in it (even highlights should work too), a notification pops-up (using the ubuntu notification system).
That's very helpful. Plus it says the channel! Here's a screenshot:

Read the rest of this entry »
――
5 Mar, 2009
I recently scheduled some backup tasks on my VPS using backup-manager which is a neat program for this job. Everything is fine for that.
Then I wanted to set up a cron on my home computer to download the backup archives everyday. This wasn't as easy as it sounded at first.
You might even get those errors:
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]
I need to connect to my VPS using a SSH key that is protected by a passphrase (password). This ssh key is added to my ssh agent (at login time).
The main problem is that cron is run using a restricted environment, meaning it doesn't give environment variables like SSH_AUTH_SOCK.
This variable is needed by the ssh client in order to communicate with the ssh agent that will provide the information on the ssh key.
Here's a workaround for it. It's a quite secure way to fix this.
Read the rest of this entry »
――
20 Feb, 2009
I'm posting here the .vimrc I use for both my desktop computer and my server. It works through SSH too!
It gives the following features to vim:
- Syntax coloring
- Dark background every time
- Highlight search
- Case insensitive search
- Autoindent
- Mouse support (for selecting text, moving cursor)
- Safe Pasting (Push F2 to activate/deactivate)
- Always shows current line number
Read the rest of this entry »
――
13 Feb, 2009
On huge project, like Firefox, Seamonkey, Iceweasel, Glib, etc..., compile time can take a very, very long time. If you are a proud owner of a dual-core or multi-core processor, you can reduce the compile by increase the number of simultaneous jobs that make can have.
Read the rest of this entry »
――