Disallow crawling in robots.txt
Disallow all User-agent: * Disallow: / Comments # Comments appear after the “#” symbol at the start of a line, # or after a directive User-agent: * # match all bots Disallow: / # keep them out
Disallow all User-agent: * Disallow: / Comments # Comments appear after the “#” symbol at the start of a line, # or after a directive User-agent: * # match all bots Disallow: / # keep them out
ISO-3166-1 alpha-2: BE BG CZ DK DE EE IE EL ES FR HR IT CY LV LT LU HU MT NL AT PL PT RO SI SK FI SE UK
You can connect to an SFTPÂ server via keyfile like that: $> sftp -v -o IdentityFile=”/PATH/TO/PUBLICKEYFILE(id_rsa)” -o Port=”10022″ user@host
Today I ran again into a common problem when dealing with cron based scipts that run concurrently. That’s why I had to lock shellscript process until it is finished before starting the next executing round. On Unix based systems like Linux you can achieve that with flock. flock binds a file descriptor to a certain lock […]
To Rename file to upper case or lower case (* == file selector): Convert to lower case file names Convert to upper case
To render the text-values of an multiselect in a BE-grid: <?php /** * * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * It is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * * @category AskSheldon * @package AskSheldon_Adminhtml * […]
You can download files protected by Basic Htaccess Auth via wget like that: $> wget –http-user=USERNAME –http-password=PASSWORD http://nice.file.url Or via curl like that: $> curl -u USER:PASSWORD http://www.caplantic.de
To redirect all traffic to another URL, you can use the following Redirect-declaration in your .htaccess file. Redirect 302 / https://de.linkedin.com/in/langemarcel For example this redirects all calls to my profile domain http://www.marcel-lange.info to my linkedin account.
Just a testscript to test the quality of Magento’s image processing: <?php /** * * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * It is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * * @category AskSheldon * @package AskSheldon_FeaturedProducts […]