Welcome To Snipplr


Everyone's Recent Snippets



1 ... 393 394 395 396 397 ... 553
All credit to Richard Clarke, code taken from HTML 5 Doctor. Posted here for quick access from TextMate.
6 3868 posted 16 years ago by mrjohnsly
Smoothness of fade out animation needs work
0 1063 posted 16 years ago by funkadelicsoul
Needed to retire a staging domain, so I'm redirected all traffic to the equivalent page in the root directory in the .htaccess file
1 1270 posted 16 years ago by canarymason
By default ps2pdf re-encodes images, which usually reduces their quality. The commandline below prevents that. It also embeds fonts into the PDF, making it more portable. Substitute -sPAPERSIZE=letter if you are American.
0 3398 posted 16 years ago by deepsoul
Keeps your page intact if you don't wish to add to (just visit) Snipplr, by opening a new tab... also, this one works in both, Firefox + Safari/Opera.
1 1049 posted 16 years ago by dvdrtrgn
0 1111 posted 16 years ago by iloveitaly
Flash has a weird cache mechanism, this makes sure that the browser isn't caching any data.
0 2511 posted 16 years ago by iloveitaly
check out why the get_include_path() was appended to the new path.
0 1172 posted 16 years ago by iTony
In this tutorial we are going to use the :before pseudo-element to create a 3D style box. This effect will not work in Internet Explorer since it does not support the :before attribute. IE users will only see the element's themselves, and nothing els...
0 1021 posted 16 years ago by myrebel420
Here is a small function that I use to update records in a database. It coincides with the insertFromPost function that I have posted earlier. The element names in the form need to have the same name as in the DB and the field names should all...
1 1485 posted 16 years ago by brownrl
0 1244 posted 16 years ago by tiki16
Simplifies a button to use only one function for URL navigation.
1 1001 posted 16 years ago by MacEvelly
Rather than hard-coding values shared between classes/methods/servlets, it's good to use content params in web.xml.
0 1174 posted 16 years ago by sunkist
0 1122 posted 16 years ago by jonniespratley
1 1338 posted 16 years ago by jonniespratley
0 1206 posted 16 years ago by crs
This snippet will create an array of all images in a directory and sub-directories and display them randomly.
4 4518 posted 16 years ago by superuntitled
1 ... 393 394 395 396 397 ... 553