Reference: http://forum.cs-cart.com/topic/29499-speed-up-and-optimise-cs-cart-version-3/ In store root .htaccess DirectoryIndex index.html index.php <IfModule mod_rewrite.c> RewriteEngine on # Pleas note that RewriteBase setting is obsolete use it only in...
Found this test from the internet (Download: JavaScript_Skill_Test-blank) Tried to solve without using Google. FAILED. With help from Google, solved questions. There was someone's solution for...
Summary 1. Create "templatetags" folder at the same level as models.py, views.py. 2. Create "__init__.py" file in "templatetags" folder. The content will be empty. 3....
To make faster webpage loading, use Gzip compress and Enable keep-alive in htaccess <ifModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </ifModule>...
Using jQuery, determine that user has been scrolled until the end of element. Reference: http://stackoverflow.com/questions/6271237/detecting-when-user-scrolls-to-bottom-of-div-with-jquery $('.scrollable').bind('scroll', function(){ if($(this).scrollTop() + $(this).innerHeight() >= $(this)[0].scrollHeight) { alert('end reached'); }...
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="dns-prefetch" href="//www.robgravelle.com/"> ... "The recommended best practice is to have your prefetch requests queued...
When use input[type=image] for form submission, the image is stretched when use Retina Display mobile. Since you cannot change 'src' attribute using CSS, I had...
Wordpress JSON API (http://wordpress.org/plugins/json-api/) is a powerful plugin that allows RESTful API for Wordpress. However, I needed specific post query such as "Get posts since...
Mac Application -> Aptana Studio 3 -> Click "AptanaStudio3.app" -> Right Click "Show Package Contents" -> Contents -> MacOS -> Open "AptanaStudio3.ini" with any...
To re-size images with keeping aspect ratio and fitting to certain dimensions function _create_thumbnail($actual_filepath, $folder_path, $target_filename, $width, $height) { // $this->load->library('image_lib'); // $image_lib_config = array(...
During development for SQLite, I have got this error could not prepare statement (1 too many SQL variables) Accroding to this article, this error is...
A BEGINNER'S GUIDE TO USING THE APPLICATION CACHE - Reference: http://www.html5rocks.com/en/tutorials/appcache/beginner/ ...................................................... Using the cache interface gives your application three advantages: Offline browsing -...
Codeigniter MongoDB Library Reference & Download: https://github.com/alexbilbie/codeigniter-mongodb-library/tree/v2 Using with CodeIgniter: Add the file Mongo_db.php to your /application/libraries folder. Add the file mongodb.php to your /application/config...
To cover all screen resolution including portrait and landscape screens. Found from stuff & nonsense (http://www.stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/) /* Smartphones (portrait and landscape) ----------- */ @media...