Welcome To Snipplr


Everyone's Recent Snippets



1 ... 482 483 484 485 486 ... 552
Convert an number to a position / ranking. 1 becomes 1st, 2 becomes 2nd, etc...
2 2718 posted 18 years ago by distinctdev
This snippet shows how to serialize action script object to strings, the serialization method is AMF based, note also that each object must meet three basic rules in order to be serialized properly: ¨1. The constructor must take no arguments...
1 2556 posted 18 years ago by narkisr
I use this code to place in blocks or pages to show a link to the user registration page if the user is not currently logged in. An example is a block I have setup on the home page of http://www.lightentheload.net. If the user is logged in, the block...
0 1886 posted 18 years ago by shrop
0 1663 posted 18 years ago by IanLewis
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
0 2174 posted 18 years ago by zingo
0 1498 posted 18 years ago by manec
This can be used as a general function to get the value stored in any of the possible input sources. use
0 1961 posted 18 years ago by luizlopes
A bash script which installs rubygems under ubuntu hardy.
0 1550 posted 18 years ago by narkisr
0 1551 posted 18 years ago by Meestercor
0 1629 posted 18 years ago by Meestercor
0 2966 posted 18 years ago by Meestercor
2 2615 posted 18 years ago by tonic
CSS Reset. Yahoo User Interface Library
0 1975 posted 18 years ago by visuallyspun
Find deprecated elements and attributes using CSS. Simply add the CSS below to the end of your style sheet and it will highlight bad code.
5 1975 posted 18 years ago by visuallyspun
You
5 2523 posted 18 years ago by abhiomkar
0 4054 posted 18 years ago by webonomic
I wrote this very quickly for a form I parse that allows a user to send a page to up to 5 friends. The script adds a click event to an image of a + sign beside an input box. When clicked if the user hasn't already added 5 friends to email, additional...
9 2443 posted 18 years ago by dmosher
This is a stipped-down version of the original page.tpl.php from Drupal 5.x's Bluemarine theme. Just add your own DIVs.
2 1696 posted 18 years ago by panatlantica
0 1928 posted 18 years ago by mikegreen
1 2166 posted 18 years ago by mikegreen
Good for when you did a checkout when you meant to do an export or what-have-you.
2 2301 posted 18 years ago by trey
I deleted the old one by accident trying to edit it.
9 3818 posted 18 years ago by mattkenefick
0 1727 posted 18 years ago by Meestercor
Eric Meyer's newest version
2 1550 posted 18 years ago by Mikker
1 ... 482 483 484 485 486 ... 552