SSH: Backup all databases
You can dump all the databases into a single .sql file like so: Or you can dump them individually to a directory with the date of backup to /home/ by…
You can dump all the databases into a single .sql file like so: Or you can dump them individually to a directory with the date of backup to /home/ by…
Use the split command to do this: That command will split bigfile.iso into files that are 1024 MB in size (1GB) and name the various parts small_file_aa, small_file_ab, etc. You…
The default hash type of Cakephp 2.0 is sha1. But when you have set a Security.Salt in the core.php this will be added before your password and before the encryption…
Magento recommends you upgrade your installation using the following guidelines in a development or test environment, separate from your existing production environment: Create a parallel development or testing system, identical to…
The script below loops over the specified directory and chmods its files, directories and subdirectories recursively.
It turns out that Magento has some really convenient functions already made at its core, which i don't know about and this is one of them. Mage category model object…
To get category's URL by its ID use the following code $category_id = 5; echo Mage::getModel("catalog/category")->load($category_id)->getUrl();

Thousands of websites are shared in facebook each day. Whenever you share a URL on facebook, it generates a feed against that url. The feed has a title, an excerpt or description and an image.
You can enhance how the shared item appears on Facebook by configuring how it gets previewed on a user’s profile and when a user tries to share it.You do this with <meta> tags. If there are no meta tags specified then Facebook share will take the site title, starting content of the site as excerpt and usually the first image shown.
In order to customize how your site looks while being shared on facebook you need to add meta tags in the <head> of your page.
(more…)