Welcome To Snipplr


Everyone's Recent Snippets



1 ... 246 247 248 249 250 ... 554
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 744 posted 14 years ago by errkk
0 751 posted 14 years ago by cautionsign
Find mistakes in HTML and highlight the crap out of them
2 624 posted 14 years ago by juhau
0 479 posted 14 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 712 posted 14 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 1066 posted 14 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 808 posted 14 years ago by powerthru
0 515 posted 14 years ago by JohnnyGamba
Better Client/Remote IP function
0 724 posted 14 years ago by YPY
Gets all meta data keys/values for a particular post
1 987 posted 14 years ago by mattkenefick
0 674 posted 14 years ago by nveselinov
0 616 posted 14 years ago by lromak
1 805 posted 14 years ago by nveselinov
0 618 posted 14 years ago by ff1959
1 911 posted 14 years ago by dmistriotis
This method can execute XML-RPC call and return response. Can be useful for working with XML-RPC API's like Snipplr.com XML-RPC API and other
4 1589 posted 14 years ago by dzr_gregory
0 701 posted 14 years ago by toto898
Expects all files to be in the current directory; does not recurse into subdirectories. Replace "TEXTTOREMOVE" with the text you wish to remove from the filename. Replace *.csv with a search term appropriate for your situation.
0 1049 posted 14 years ago by powerthru
Execute on the command line. Assumes all files are in the current directory; does not recurse into subdirectories. Replace "*.html" with correct search term for your situation; replace "FS-" with the leading text you wish to remove. This example remo...
0 889 posted 14 years ago by powerthru
0 558 posted 14 years ago by xeo
git branch will give us all the branches in the current repository and the current branch will be denoted by a * mark.
0 841 posted 14 years ago by arunpjohny
This will display the commit difference between the origin/master branch and the current working branch
0 752 posted 14 years ago by arunpjohny
0 548 posted 14 years ago by JohnnyGamba
1 986 posted 14 years ago by th3mus1cman
1 ... 246 247 248 249 250 ... 554