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 1558 posted 17 years ago by ozke
2 1712 posted 17 years ago by gfazioli
1 1285 posted 17 years ago by bpj1966
0 1123 posted 17 years ago by bpj1966
0 1194 posted 17 years ago by bpj1966
2 1409 posted 17 years ago by bpj1966
1 1026 posted 17 years ago by xuanyan
Example code would remove all files/folders recursively starting from the current folder named file_name
0 1519 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 2069 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 1195 posted 17 years ago by Juanje
Convert an number to a position / ranking. 1 becomes 1st, 2 becomes 2nd, etc...
2 2215 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 2049 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 1475 posted 17 years ago by shrop
0 1238 posted 17 years ago by IanLewis
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
0 1718 posted 17 years ago by zingo
0 1157 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 1486 posted 17 years ago by luizlopes
A bash script which installs rubygems under ubuntu hardy.
0 1172 posted 17 years ago by narkisr
0 1152 posted 17 years ago by Meestercor
0 1230 posted 17 years ago by Meestercor
0 2476 posted 17 years ago by Meestercor
2 2022 posted 17 years ago by tonic
CSS Reset. Yahoo User Interface Library
0 1502 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 1529 posted 17 years ago by visuallyspun
1 ... 482 483 484 485 486 ... 553