How to create website shortcuts on Samsung Galaxy

If you want a shortcut to some of your favorite websites from the home screen, you first have to add those websites as bookmarks. In Chrome i do this by pressing menu, then selecting the star icon.

Afterwards, go back to the home screen, select menu, select “add apps and widgets”, then add the bookmark widget. You will then get a list of your bookmarks which you can add to your home screen.

Adding SSH support to PHP on Ubuntu

I have previously written a post on how to add SSH support to PHP, but that post is old, and it has now become even easier to get it up and running. And therefore making it much easier to auto upgrade WordPress via SSH. (automatic, yay!)

As root, do the following:

1: apt-get install libssh2-1-dev libssh2-php

2: Check that is installed: php -m |grep ssh2

3: Restart apache: service apache2 restart

And you should now have SSH support in PHP.