Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
creates a user that has only access to one database, from any host
1
1235
posted 15 years ago by manuelstofer
this will convert bytes to a readable format with 2 decimal places
1
1242
posted 15 years ago by rondog
Esquema de sentencias para el control de errores en SP de MYSQL. Es un metodo basico
0
1250
posted 15 years ago by xaviles
In AS2 forward slashes got url-encoded to %2F when you escaped them. But in AS3 they get ignored and left as they are. In some situations I have found that this can cause problems. So you can do it manually using this regular expression.
0
1239
posted 15 years ago by adrianparr
Note that you don't actually need a temporary branch, you can do this with a 'detached HEAD', but you need to take a note of the commit id generated by the git commit --amend step to supply to the git rebase command rather than using the temporary br...
0
1474
posted 15 years ago by alvarezrilla
This can be used to check if an update of a CMS (or blog, plugin, ...) changed something in the frontend (content or HTML).
Run the script with the file that contains the urls as parameter:
`wiff.sh urllist.txt`
urllist.txt contains the urls...
0
1052
posted 15 years ago by ascarion
It was based in Markjnet example here:
>> http://www.markj.net/iphone-asynchronous-table-image/
4
1540
posted 15 years ago by rabc
Show/hide an paragraph when you click on the h2, suppose you have:
<h2><a href="#">Designer info</a></h2>
<p>Lorem ipsum dolor sit amet.</p>
You can show/hide the paragraph with the code below.
0
732
posted 15 years ago by marcelodornelas
Just a blank example where you replace the xxxxx figure with your tracking code
1
872
posted 15 years ago by wanderlusts