Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
How to add an auto-incremented column to an existing table without ex- and reimporting.
0
1190
posted 15 years ago by simondiercks
SimpleSelector is a small DOM selector object with support for the most used selectors. It's also the default selector for the jLim JavaScript framework.
Why use SimpleSelector?
- very small, less than 2kb minified
- easy to use with $$()
- no...
1
1168
posted 15 years ago by freelancephp
Managing globals with the registry pattern. This class provides lazy loading functionallity. This means it is possible to add a callback or class (with arguments) which will be called or instanciated when it is being used for the first time.
0
1177
posted 15 years ago by freelancephp
This jQuery plugin can be used to detect when the user smashes their keyboard.
You can set a threshold as to how many keys need to be depressed in order to trigger the event.
1
1063
posted 15 years ago by adamcoulombe
I needed to break down a long string today and insert line breaks so I wrote this little function. You can use it to split a long string into chunks of a defined length and get them as an array or join them by a defined character (e.g. <br />)....
0
1207
posted 15 years ago by chlab
Takes an integer value of frames (a) and converts it to a text formatted timecode "00:00:00:00" using the supplied framerate (b). Mainly for use in OpenOffice Calc.
0
1061
posted 15 years ago by oprhu
Takes a video timecode (a) in text format "00:00:00:00" and converts it to frames, using the supplied framerate (b). Mainly for use in OpenOffice Calc.
0
1427
posted 15 years ago by oprhu
<a href="http://www.bestgooglekeywordtool.com">google keyword tool</a>
0
991
posted 15 years ago by uraq
Example of how to send a subscribe_user request using Notifo's api. Notifo lets you setup push notifications to mobiles - for any site.
Put the PHP into a separate file named notifo-proxy.php
0
1213
posted 15 years ago by Meander365
I found this and simply want to store it. It was done by Valentino Vranken
2
3012
posted 15 years ago by ezerick
This is to prevent ComboBox from closing when onRelease on scrollBar
0
1091
posted 15 years ago by b121417