Prevent over-scroll
When you have a scrollable element and you scroll to the end of it, the whole page starts to scroll.
When you have a scrollable element and you scroll to the end of it, the whole page starts to scroll.
A sleep function.
Overloading the global alert function.
This will create vim, vimdiff, etc. symlinks to mvim in/usr/local/bin/vim.
12345Template.layout.events({ 'mouseover .button': function (e) { $(e.target).addClass('reverse'); }});
The goal of the debounce function is to prevent execution of the same code several times in succession, which typically happens with the code bound to resize and scroll events.
Here is the code to generate 5 columns to be used with the Twitter Bootstrap framework.
Create a random string or password by passing it a string length.
Binary Search
Displaying the copyright year dynamically on a static page.