Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
demo and FLA file at http://www.adamcoulombe.info/lab/as3/screen-to-screen.html
2
2269
posted 16 years ago by adamcoulombe
Taken from (http://jc-designs.net/blog/2009/08/background-image-on-submit-button-in-ie6/)
1
2308
posted 16 years ago by resting
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
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