rsync -avz -e 'ssh -p [port]' [localfile] [remoteuser]@[remotehost]:[remotepath]
Tuesday, 30 March 2010
Thursday, 18 March 2010
When deleting files a few days ago with file vault enabled (your home directory is encrypted) on OS X I deleted 10+ gigs of files to make room for some photos and videos, but the space wasn't reclaimed when emptying the trash!
Additionally, file vault won't clean up if you're on battery power and time machine won't back up a file fault on battery power.
Friday, 12 March 2010
Thursday, 11 March 2010
Anyway thanks to this
It confirms my suspicions that you have to go into "Preferences" > "Accounts" > tick "Move deleted messages to trash" and tick "Store deleted messages on the server".
Then find your "Bin"/"Trash" mail box in apple mail, then click mailbox from the menu bar, then click use as, and click trash.
I wanted to disable IPV6 on ubuntu (I don't use it).
How to do it? Use the following:
echo "net.ipv6.conf.all.disable_ipv6=1" > /etc/sysctl.d/60-noipv6.conf
That will disable it on reboot, and to disable on this session use
thanks to http://www.linode.com/forums/viewtopic.php?t=5250&highlight=ipv6
To do the same on debian lenny add
alias net-pf-10 off
alias ipv6 off
Monday, 8 March 2010
Saturday, 6 March 2010
When running php I got the following error
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'gd.so' in Unknown on line 0
Turns out that because I used sources that I compiled php with instead of a fresh untar'd copy it didn't compile properly...weird!
So if you ever see that error, try using fresh sources.