Welcome To Snipplr


Everyone's Recent Snippets



1 ... 482 483 484 485 486 ... 553
I have fixed and improved some code I found on the Internet
1 1545 posted 17 years ago by ozke
2 1685 posted 17 years ago by gfazioli
1 1267 posted 17 years ago by bpj1966
0 1110 posted 17 years ago by bpj1966
0 1179 posted 17 years ago by bpj1966
2 1391 posted 17 years ago by bpj1966
1 1014 posted 17 years ago by xuanyan
Example code would remove all files/folders recursively starting from the current folder named file_name
0 1498 posted 17 years ago by jturmel
Some times you need some specific range of lines from a file and the commands 'head' and 'tail' are not enough for you. This could be a easy solution for this problem.
2 2046 posted 17 years ago by Juanje
Sorry, the comentaries are in spanish. I will translate them some day. The examples results are indicated with: # -> [result] Usually is the "echo" result
0 1176 posted 17 years ago by Juanje
Convert an number to a position / ranking. 1 becomes 1st, 2 becomes 2nd, etc...
2 2190 posted 17 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 2014 posted 17 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 1437 posted 17 years ago by shrop
0 1217 posted 17 years ago by IanLewis
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
0 1701 posted 17 years ago by zingo
0 1145 posted 17 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 1469 posted 17 years ago by luizlopes
A bash script which installs rubygems under ubuntu hardy.
0 1156 posted 17 years ago by narkisr
0 1135 posted 17 years ago by Meestercor
0 1220 posted 17 years ago by Meestercor
0 2462 posted 17 years ago by Meestercor
2 2005 posted 17 years ago by tonic
CSS Reset. Yahoo User Interface Library
0 1486 posted 17 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 1513 posted 17 years ago by visuallyspun
1 ... 482 483 484 485 486 ... 553