Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1876
posted 15 years ago by powerthru
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
2818
posted 15 years ago by dzr_gregory
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
2600
posted 15 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
2166
posted 15 years ago by powerthru
git branch will give us all the branches in the current repository and the current branch will be denoted by a * mark.
0
1948
posted 15 years ago by arunpjohny
This will display the commit difference between the origin/master branch and the current working branch
0
1943
posted 15 years ago by arunpjohny
Well almost ;) This should really cover most any browser out there. If no HTML5 support will fall back to flash, so for this example Flowplayer is required, but any flash video would work.
also FP will play many different formats not just flv.
5
3091
posted 15 years ago by myke
This is just a quick and dirty template that I use to begin writing my apps. If you know of a better way to approach various portions of this code I would love to hear it. It\'s assuming you are using the latest PHP SDK and is positioned around Ifram...
3
2376
posted 15 years ago by chrislorenz