Linux Zip and Unzip Commands

The following examples illustrate typical uses of the command zip ,unzip To zip a single file $ zip myfile.txt To create a zip archive of several files: $ zip file1.txt photo.jpg script.js To zip up a whole directory named downloads: $ zip -r downloads To create a zip archive of files and [...]

Delay twitter bootstrap typeahead

While working on some auto suggestions sometimes we may need to avoid AJAX requests on every keystroke. Solution for this is to delay the request by some millisecond, which means we will only send AJAX request when user stopped typing. Below is the code snippet for Twitter Bootstrap typeahead $(document).ready(function(){ var timeout; $(‘#location’).typeahead({source: function(query, process){ [...]

Pure CSS Layered Paper Effect

Layered Paper HTML <div class=”layered-paper“>Howdy</div> CSS .layered-paper { background: #eee; box-shadow: 0 1px 1px rgba(0,0,0,0.15), /* The top layer shadow */ 0 10px 0 -5px #eee, /* The second layer */ 0 10px 1px -4px rgba(0,0,0,0.15), /* The second layer shadow */ 0 20px 0 -10px #eee, /* The third layer */ 0 20px 1px [...]

Pure CSS3 Tags Design

This is a rather simple pure CSS trick you can use to style your blog post tags, usually placed at the bottom of the posts. Pure CSS post tags uses at least 2 CSS tricks such as CSS triangles and CSS circles. For CSS triangles you need to manipulate borders of an element that has [...]

List of free content delivery networks(CDN)

A content delivery network (CDN) is a massive distributed system of servers deployed in multiple data centers within the internet. The goal of a CDN is to serve content to end-users with high accessibility and high performance. CDNs serve an oversized fraction of the web content these days, including web objects (text, graphics, URLs and [...]