Using UUID for USB harddrives in fstab
If you use a number of USB hard drives attached to a server (or desktop), you will notice that they (can) come up with different device names after each reboot. Because of the different names, it is difficult to use the names in /etc/fstab. To avoid this problem, it is possible to use UUID instead, which is an unique id number for each partition.
If you fstab line for the USB disk looks like
/dev/sdc2 /nas/data ext3 errors=remount-ro 0 1
You should get the UUID of /dev/sdc2 by running
blkid /dev/sdb2
Which gives something like
/dev/sdb2: LABEL="maxtor_b_data" UUID="b7a042b2-60c6-4116-8324-065a3d23520d" TYPE="ext3"
Change the fstab line to
UUID=b7a042b2-60c6-4116-8324-065a3d23520d /nas/data ext3 errors=remount-ro 0 1
And you are ready to go :)
PHP function to get current SVN ID
Make a function like the below in you PHP file
function get_rev() { return (int)substr(substr('$Rev: 168 $', 6), 0, -2); }
And add the Revision keyword to the properties of the file
svn propset svn:keywords Revision your_file.php
"$Rev: 168 $" will then automatically be updated on every commit.
Evolution 2.30.1 for Ubuntu 10.04 64 bit
For some reason Ubuntu 10.04 is shipped with Evolution 2.28.3, which for me is quite unstable. Crashes with Segmentation Fault very often. However, Jacob Zimmermann has a PPA with Evolution 2.30.1:
sudo add-apt-repository ppa:jacob/evo230
sudo apt-get update
sudo apt-get dist-upgrade
I hope this is more stable!