Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
-print0 and -0 are used to allow for spaces and other wacky chars in file names
0
1183
posted 15 years ago by jfine
-print0 and -0 are used to allow for spaces and other wacky chars in directory names
0
1071
posted 15 years ago by jfine
Used to make a Google Pie Chart, with optional labels and size from an array, using the array keys as the labels and the values for the data.
0
1166
posted 15 years ago by alexstone
Change to line in page template file to call a different sidebar.
0
1205
posted 15 years ago by lromak
Add rel="external" on link you would like to open in a new window
1
1129
posted 15 years ago by gerhardsletten
sometimes we botch an import, and end up with return or newline characters in the field. So fields which should be empty have \r in them, or fields with text data have an invisible trailing newline. This makes it impossible to match the text values....
0
1290
posted 15 years ago by powerthru
demo and FLA file at http://www.adamcoulombe.info/lab/as3/screen-to-screen.html
2
1561
posted 15 years ago by adamcoulombe
Taken from (http://jc-designs.net/blog/2009/08/background-image-on-submit-button-in-ie6/)
1
1597
posted 15 years ago by resting
use this to find all files/folders which have been given 777 (write all) permissions on a linux server
1
1034
posted 15 years ago by fillyouin
SQL query to update *wp_options* records that are specific to the host of a WordPress site. Run this query after copying the DB to another server (if this URL is different). Useful for deploying WordPress from a dev server to a live environment.
1
1313
posted 15 years ago by errkk