Welcome To Snipplr


Everyone's Recent Snippets



1 ... 143 144 145 146 147 ... 552
0 1709 posted 15 years ago by ragnarokkrr
0 1781 posted 15 years ago by ragnarokkrr
Extend Date object to have isLeapYear() boolean (true for Leap Years) Taken from https://raw.github.com/vitch/jquery-methods/master/date.js
0 1764 posted 15 years ago by tomasdev
Returns the same string, except with links wrapped in <a href=""> tags. Works on www.snipplr.com and on http://snipplr.com A variation of the script on the attached URL.
0 3003 posted 15 years ago by nebojsac
Takes the seconds, and returns minutes. Will wrap it in a function is anyone is interested. Example: 92s -> 1m 32s
0 2444 posted 15 years ago by nebojsac
This is a simple accordion plugin that i wrote. Hope it comes in handy.
0 1781 posted 15 years ago by neilp123
0 1725 posted 15 years ago by prianto
A very simple HTTP Server written in Python out of boredom. USAGE : 1 . Create a htdocs folder in the directory of this script 2 . create an index.html file and you are good to go. This works with multiple pages however index.html is...
0 2020 posted 15 years ago by Affix
0 2116 posted 15 years ago by raz
you want to block other sites to hotlink your images or media files.
0 2017 posted 15 years ago by silviud
Somewhere along the road the people behind canvas decided that all image scaling is anti-aliased by default. Firefox has 'mozImageSmoothingEnabled' while Chrome et company don't. This is a proof of concept script to resize 'virtualCanvas' two time...
0 1916 posted 15 years ago by volvis
0 1436 posted 15 years ago by tcelestino
0 2312 posted 15 years ago by magicrebirth
Is there a command like cat in linux which can return a specified quantity of characters from a file?
0 1889 posted 15 years ago by lamebollock
0 2210 posted 15 years ago by magicrebirth
Full email validation with regex.
0 3971 posted 15 years ago by nebojsac
The function returns the "sanitized" version of user input. Use before putting variables into SQL code.
0 2094 posted 15 years ago by nebojsac
0 1811 posted 15 years ago by kbrown
1 1496 posted 15 years ago by stuartleitch
This piece of code is at least ten years old and I don't remember exactly, where I have found it. Probably it had been stolen from my friend VeZyR;)
0 2874 posted 15 years ago by michaJlS
1 ... 143 144 145 146 147 ... 552