Skip to content

Monthly Archives: March 2008

Automatic cPanel Backup via Curl&Cron

27-Mar-08

[UPDATE2 2012-03-14] Use Automatic Dropbox backup instead. [UPDATE 2008-05-20] Please see the updated version for this script Justin Cook wrote an article how to backup your cPanel stuff with PHP&Cron. Well, the PHP part didn't really work for me, so I had to create an alternative approach. Enter curl. Put the following in an executable file […]

SSH Public Key Login - You Know It SHOULD Work..

27-Mar-08

SSH public/private key login not working on your brand new web hosting account although everything is in place? Make sure ~/.ssh directory has 700 rights and the authorized_keys2 file inside it as 644 rights.

Tab Completion for ssh hosts

25-Mar-08

Put the following line in .bash_profile in ~. complete -W "$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" ssh (via macosxhints.com)

Send SMS's From Dashboard via Your Phone

12-Mar-08

There seems to be several "free" and non-free dashboard widget alternatives for sending text messages via internet in Apple's email & messaging downloads page, but none of those free ones covered Finland, and the ones that cost something were more expensive than my current deal. So I tried the two widgets that use your phone instead. emitSMS's number search is faster than […]

Switch Your Windows Like a Maniac

11-Mar-08

Mac OS X has a Windows like feature to change applications. However, in Windows (ctrl+tab) you change, well, windows - but in OS X (cmd+tab) you change applications. So, if you have a dozen Word documents open and you want to switch to some document other than the latest one, you're out of luck. But […]