Welcome To Snipplr


Everyone's Recent Snippets



1 ... 484 485 486 487 488 ... 552
Simple command line option parser snippet
1 2228 posted 18 years ago by mikegreen
This function uses the power of regexp to check if some bad word are on the text, also offers the posibility to change those word for something else. Examples:\r\n\r\n$texto = \'fuck off!\';\r\nfiltrado($texto); returns true since a bad word has been...
1 2245 posted 18 years ago by oso96_2000
View to use with the docs at http://drupal.org/node/144725 for creating image gallery using cck, views and thickbox.
3 2177 posted 18 years ago by shrop
0 1498 posted 18 years ago by swfgeek
0 1694 posted 18 years ago by mattkenefick
Recursively trace an array or object in Actionscript.
0 1798 posted 18 years ago by mattkenefick
Just to include and implement the SWFObject to an HTML body from a generic "/js/" directory with some basic varibles. [applies to OLD version of SWF Object]
1 1654 posted 18 years ago by mattkenefick
0 1911 posted 18 years ago by benpjohnson
1 1827 posted 18 years ago by Juego
7 4219 posted 18 years ago by Juego
Hat tip: Allan Odgaard
1 1947 posted 18 years ago by breakerjump
0 1564 posted 18 years ago by cristiana
This was taken out of a presentation by eZ systems on PHP Best Practices
0 2022 posted 18 years ago by luizlopes
IE can't handle [ option disabled="disabled" ] tags, so this htc will help
0 2454 posted 18 years ago by localhorst
Generates a ChangeLog from git repository.
1 1843 posted 18 years ago by felipec
A Views export for Drupal 5. A block that only site admin and site manager roles can access, showing unpublished comments for blog entry content type.
3 2140 posted 18 years ago by shrop
This is useful if you have some optional functionality being done which is quite slow on nfs. For example, I have a script that adds scm (svn/git/etc) info to my prompt, but I wouldn't want that when I'm in a repository on an nfs mount.
0 2151 posted 18 years ago by kergoth
0 1788 posted 18 years ago by vanne
Bugfix/Lösungsvorschlag: Es ist offensichtlich, dass die Zelle mit der ID cell3467 und dem definierten "margin-right: 3.09%" falsch berechnet wird - nämlich mit realen 16 Pixeln anstatt 8 - und auf den obersten Basis-Wert der "DIV width" zurück...
1 1993 posted 18 years ago by bassdas
Rewrite your urls for domain.co.uk to www.domain.co.uk including full url
3 2110 posted 18 years ago by catchamonkey
include file protection...
2 1952 posted 18 years ago by skywalker
Another way of showing long text to end user...
0 2037 posted 18 years ago by skywalker
Little utility script I wrote to find subversion working copies and update them. If no arguments are given the script starts from the current directory.
0 1941 posted 18 years ago by claytron
1 2316 posted 18 years ago by iTony
1 ... 484 485 486 487 488 ... 552