Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 245 246 247 248 249 ... 552
1 1388 posted 16 years ago by rebel2000
Change to line in page template file to call a different sidebar.
0 1893 posted 16 years ago by lromak
Add rel="external" on link you would like to open in a new window
1 1818 posted 16 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 1975 posted 16 years ago by powerthru
0 2002 posted 16 years ago by ssolen
Great for formatting.
1 2131 posted 16 years ago by trusktr
strips the www from all URLs on your domain
0 1669 posted 16 years ago by arrowj
demo and FLA file at http://www.adamcoulombe.info/lab/as3/screen-to-screen.html
2 2269 posted 16 years ago by adamcoulombe
useful in conjunction with curl and examining headers
0 2180 posted 16 years ago by thiswayup
0 1254 posted 16 years ago by michaelss
Add on first line of wp-config.php
0 1768 posted 16 years ago by BoNzO
0 1805 posted 16 years ago by phantomas
3 2215 posted 16 years ago by luglio7
Taken from (http://jc-designs.net/blog/2009/08/background-image-on-submit-button-in-ie6/)
1 2308 posted 16 years ago by resting
List all FTP users on server
0 1994 posted 16 years ago by fillyouin
use this to find all files/folders which have been given 777 (write all) permissions on a linux server
1 1654 posted 16 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 2055 posted 16 years ago by errkk
0 1830 posted 16 years ago by cautionsign
Find mistakes in HTML and highlight the crap out of them
2 1676 posted 16 years ago by juhau
0 1363 posted 16 years ago by mphuongz
We set up a voting page, where supporters would choose one of three candidates (only two are shown in the snippet). By clicking the checkbox, the supporter would add themselves to a Salsa group. This way only one vote for a candidate by a supporter w...
0 1780 posted 16 years ago by powerthru
Notes:\r\n\r\n(1) your namespace\'s using section should include the following:\r\nusing System.Net.Mail;\r\n\r\n(2) my example code places the email-sending code in a Button\'s Click() event-handler
3 2581 posted 16 years ago by kyrathaba
this is a way to deal with the fact that we can\'t reliably make checkboxes look larger on forms. So instead, we surround the form with a colored div, and set it up so that when the user clicks on the label next to the checkbox it checks the box.
0 1981 posted 16 years ago by powerthru
1 ... 245 246 247 248 249 ... 552