Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This PHP class lets you clean and repair html code. WHAT IT DOES: delete closed tags without their opening tag, fix open tag without close, closing them automatically, check bad nesting and fix them, fix bad quotes in attributes, merge different styl...
2
2666
posted 15 years ago by ginoplusio
When tailing a log file, its sometimes handy to only show parts of it that you are interested in, this simple pipe does the job.
2
964
posted 15 years ago by edeustace
PHP encrypts your E-mail address and generates the javascript that decrypts it. Most bots and spiders can't execute javascript and that is what makes this work.
3
1370
posted 15 years ago by fackz
themes the primary links adding spans (useful for sliding doors technique) and nice ID's based on the link title rather than the standard ugly menu-851 classes etc.
1
1153
posted 15 years ago by ReeceMarsland
make a tarball of only the changed directories in a git repos, since last tag.
replace {tagname_last} with any name you siwh to give the tarball
replace {tagname_previous} with a git reference (like a tag) from which you want to zip the changes.
0
1199
posted 15 years ago by berkes
The following is just a list of actions you can remove. Just grab the ones you need.
1
801
posted 15 years ago by chrisdpratt
Array associativa de estados brasileiros com sigla pra chave e nome para valor.
0
1144
posted 15 years ago by rudwolf
> <code>__Usage:__<br>
> ./svn-export.sh [repository/subdir] [rev1] [rev2]</code>
0
990
posted 15 years ago by tcmacdonald
Wizzlern, a Dutch Drupal trainer, has a Dutch article online on how to remove the "search this site" label in the Drupal search-block.
2
1145
posted 15 years ago by berkes