Welcome To Snipplr


Everyone's Recent Snippets



1 ... 517 518 519 520 521 ... 554
This will create a State select list for Textpattern if you're using the zem_contact_reborn form plugin
0 2063 posted 17 years ago by jonhenshaw
0 5190 posted 17 years ago by elugardo
0 1478 posted 17 years ago by iblis
This randomly displays 1 of the 5 arrays (amount of arrays to choose from can be reduced or increased)
3 1294 posted 17 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 1239 posted 17 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 1027 posted 17 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 1210 posted 17 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 3778 posted 17 years ago by depmed
0 1043 posted 17 years ago by vanne
0 967 posted 17 years ago by tjhanley
1 1005 posted 17 years ago by skatan
1 1322 posted 18 years ago by eethann
Use this command in Textmate to paste some text without any surrounding whitespace.
1 868 posted 18 years ago by hyperwhat
0 912 posted 18 years ago by vanne
get the image size and reduces it dynamically
3 1258 posted 18 years ago by valcartei
A simple way to build iPhone specific interface with Rails
2 1013 posted 18 years ago by ctran
Taken from a lynda.com tutorial on learning actionscript. Lots of comments for the moment.
0 1045 posted 18 years ago by 1man
Convert 12hs format to 24hs format. In example: 10:00:00 a.m. return timestamp for 22:00. Or use: strtotime('1970-01-01 '.$hora);
1 1048 posted 18 years ago by nicolaspar
0 1037 posted 18 years ago by eethann
0 955 posted 18 years ago by wintondeshong
1 ... 517 518 519 520 521 ... 554