Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 3978 posted 16 years ago by mrjohnsly
0 1044 posted 16 years ago by funkadelicsoul
Smoothness of fade out animation needs work
0 1135 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 1371 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 3515 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 1123 posted 16 years ago by dvdrtrgn
0 1199 posted 16 years ago by iloveitaly
Flash has a weird cache mechanism, this makes sure that the browser isn't caching any data.
0 2614 posted 16 years ago by iloveitaly
check out why the get_include_path() was appended to the new path.
0 1269 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 1091 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 1589 posted 16 years ago by brownrl
0 1351 posted 16 years ago by tiki16
Simplifies a button to use only one function for URL navigation.
1 1075 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 1246 posted 16 years ago by sunkist
0 1208 posted 16 years ago by jonniespratley
1 1428 posted 16 years ago by jonniespratley
0 1308 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 4667 posted 16 years ago by superuntitled
1 ... 393 394 395 396 397 ... 553