This tip shows you how to download the favicon from a website. You can do this using the Google S2 converter. Here is the syntax: http://www.google.com/s2/favicons?domain=DomainName For example: http://www.google.com/s2/favicons?domain=sharingsolution.net
Copy/Extract HTML select options in plain textx
You want to copy HTML dropdown list options from a web page. You do right-click on the dropdown list. Oh my God !!! There is no option to do it. This article explains how to extract dropdown list options using Notepad++. Steps: 1. Open site. 2. Now you need to get the HTML source of Full Article…
Make a link to cover an entire div
If you want a link to cover an entire div, an idea would be to create an empty <a> tag as the first child: <div class=”covered-div”> <a class=”cover-link” href=”/my-link”></a> <!– other content as usual –> </div> div.covered-div { position: relative; } a.cover-link { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } This Full Article…
jQuery – How check or uncheck all checkbox
In this tutorial, we are going to see how to check or uncheck a group of checkboxes using jQuery. We can use this feature in various scenarios like selecting multiple records to perform database updates or delete. In this tutorial, we have a simple example with less code for obtaining this feature using jQuery. Form Full Article…
HTACCESS – Redirecting a web directory to another directory
Redirecting within the same domain Using htaccess in your root level of your web server, how you redirect one page to another is: RewriteRule ^url-string-to-redirect$ http://www.yourdomain.com/your-new-url-string [R=301,L] Or Redirect 301 /path/to-old-url http://www.cyourdomain.com/path/to-new-url To redirect the contents of a whole directory to another use the below: RewriteRule ^subdirectory/(.*)$ /anotherdirectory/$1 [R=301,NC,L] To redirect the contents of Full Article…
Facebook app – Making your Facebook app more secure
If security is an afterthought for you while you develop, let’s see how a few big names that have big resources to put into security are doing with protecting their user’s data: Target eBay Zappos Adobe Snapchat And remember how a little bug in OpenSSL made millions of server vulnerable to attack? Even Facebook has had Full Article…
HTML5 video doesn’t work in iOS/Safari/Google Chrome
If you use the HTML5 video element, you may see the issues with the iOS. All the browsers on iOS can’t play the HTML5 video. That issues come from the changes from the iOS that request the server supports byte range transfer. You can fix it by updating the .htaccess if you are using Apache Full Article…
Magento 2 – How to fix Exception SessionHandler
The Issue You may face the following exception during the Magento 2 installation: 12345 exception ‘Exception’ with message ‘Warning: SessionHandler::read(): open(..) failed: No such file or directory (2) ../magento2/lib/internal/Magento/Framework/Session/SaveHandler.php on line 74’ in ../magento2/lib/internal/Magento/Framework/App/ErrorHandler.php:67 The error occurs only in older code versions. To be more exact, you won’t see this exception working with versions from September 29, Full Article…
Magento 2 – Reindex Error: Index is locked by another reindex process. Skipping.
Problem During full reindex in CLI (Command Line Interface, SSH), Magento returns error message like “index is locked by another reindex process. Skipping.” Reason Error is possible if the previous reindex process wasn’t completed successfully. There are a few possible reasons for this issue: Fatal PHP error during reindexing Mysql Error (like timeout) Memory limit Full Article…
Magento – Delete Empty Null Attribute Options
By default, if you enter attribute options in the back end, you can’t add an empty option to the attribute. Maybe these empty options were added via a custom script. Here is the custom script that helps you to remove the empty options of the attributes 1.Create store_root/shell/empty.php file with code snippet: 2.Run this PHP script to Full Article…