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 1542 posted 17 years ago by jonhenshaw
0 4902 posted 17 years ago by elugardo
0 1253 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 1121 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 1009 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 861 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 1018 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 3135 posted 17 years ago by depmed
0 802 posted 17 years ago by tjhanley
1 853 posted 17 years ago by skatan
1 1121 posted 17 years ago by eethann
Use this command in Textmate to paste some text without any surrounding whitespace.
1 709 posted 17 years ago by hyperwhat
0 731 posted 17 years ago by vanne
get the image size and reduces it dynamically
3 1054 posted 17 years ago by valcartei
A simple way to build iPhone specific interface with Rails
2 839 posted 17 years ago by ctran
Taken from a lynda.com tutorial on learning actionscript. Lots of comments for the moment.
0 869 posted 17 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 876 posted 17 years ago by nicolaspar
0 765 posted 17 years ago by wintondeshong
1 ... 517 518 519 520 521 ... 554