Welcome To Snipplr


Everyone's Recent Snippets



1 ... 516 517 518 519 520 ... 553
This snipped adds columnstriping to cells. It works fine for most cases, but will behave strange when combined with colspan. Cells get an additional class 'even-col' or 'odd-col'
2 2070 posted 18 years ago by berkes
2 1930 posted 18 years ago by Bonky
2 1458 posted 18 years ago by JuliaKM
Simple snippet on how to get/set a cookie
0 1446 posted 18 years ago by jsbournival
Email validation routine Dave Child
8 2320 posted 18 years ago by IanLewis
This utility function attaches listeners to a text field or text area. It supports default text for instructional copy. The original text in the field is used as the instructional/default text. When the box gets focus, it disappears and the user can...
0 1595 posted 18 years ago by elli
This will create a State select list for Textpattern if you're using the zem_contact_reborn form plugin
0 4272 posted 18 years ago by jonhenshaw
0 5803 posted 18 years ago by elugardo
0 2066 posted 18 years ago by iblis
This randomly displays 1 of the 5 arrays (amount of arrays to choose from can be reduced or increased)
3 1783 posted 18 years ago by jonhenshaw
A one-liner to remove any temporary files modified over one day ago. Removes files from /tmp/ Run without the '-exec rm {} \;' part to check that it is matching the right set of files - this can be dangerous if run by root! If you want to remove fi...
1 1887 posted 18 years ago by wolfie
[quote] Verbose booting shows you the actual process of Mac OS X's startup. You'll see drivers get loaded and services launch. This command should work on any recent (New World) Macintosh: sudo /usr/sbin/nvram boot-args="-v". The -v flag tells the s...
0 1484 posted 18 years ago by rhockens
"...UNIX systems run scheduled maintenance routines — known as maintenance scripts — to clean up a variety of System logs and temporary files. By default, these are executed between 03:15 and 05:30 hours local time, depending on the script. If...
1 1780 posted 18 years ago by rhockens
Inserts the values of an array into a table. Also supports specifying if a specific field needs to be encoded using PASSWORD() Parameters: Table: Name of table to insert into Data: array of $field->$value of new data Password Field: Which field i...
3 6530 posted 18 years ago by depmed
0 1528 posted 18 years ago by vanne
0 1374 posted 18 years ago by tjhanley
1 1427 posted 18 years ago by skatan
1 1908 posted 18 years ago by eethann
Use this command in Textmate to paste some text without any surrounding whitespace.
1 1286 posted 18 years ago by hyperwhat
0 1344 posted 18 years ago by vanne
1 ... 516 517 518 519 520 ... 553