Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 482 483 484 485 486 ... 552
Convert an number to a position / ranking. 1 becomes 1st, 2 becomes 2nd, etc...
2 2707 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 2552 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 1881 posted 18 years ago by shrop
0 1658 posted 18 years ago by IanLewis
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
0 2163 posted 18 years ago by zingo
0 1493 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 1955 posted 18 years ago by luizlopes
A bash script which installs rubygems under ubuntu hardy.
0 1545 posted 18 years ago by narkisr
0 1547 posted 18 years ago by Meestercor
0 1622 posted 18 years ago by Meestercor
0 2961 posted 18 years ago by Meestercor
2 2608 posted 18 years ago by tonic
CSS Reset. Yahoo User Interface Library
0 1966 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 1969 posted 18 years ago by visuallyspun
You
5 2515 posted 18 years ago by abhiomkar
0 4044 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 2435 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 1693 posted 18 years ago by panatlantica
0 1924 posted 18 years ago by mikegreen
1 2163 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 2298 posted 18 years ago by trey
I deleted the old one by accident trying to edit it.
9 3814 posted 18 years ago by mattkenefick
0 1722 posted 18 years ago by Meestercor
Eric Meyer's newest version
2 1548 posted 18 years ago by Mikker
1 ... 482 483 484 485 486 ... 552