Welcome To Snipplr


Everyone's Recent Snippets



1 ... 484 485 486 487 488 ... 552
Simple command line option parser snippet
1 2194 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 2208 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 2138 posted 18 years ago by shrop
0 1477 posted 18 years ago by swfgeek
0 1660 posted 18 years ago by mattkenefick
Recursively trace an array or object in Actionscript.
0 1771 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 1622 posted 18 years ago by mattkenefick
0 1864 posted 18 years ago by benpjohnson
1 1795 posted 18 years ago by Juego
7 4150 posted 18 years ago by Juego
Hat tip: Allan Odgaard
1 1904 posted 18 years ago by breakerjump
0 1543 posted 18 years ago by cristiana
This was taken out of a presentation by eZ systems on PHP Best Practices
0 1989 posted 18 years ago by luizlopes
IE can't handle [ option disabled="disabled" ] tags, so this htc will help
0 2409 posted 18 years ago by localhorst
Generates a ChangeLog from git repository.
1 1812 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 2098 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 2103 posted 18 years ago by kergoth
0 1755 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 1950 posted 18 years ago by bassdas
Rewrite your urls for domain.co.uk to www.domain.co.uk including full url
3 2056 posted 18 years ago by catchamonkey
include file protection...
2 1919 posted 18 years ago by skywalker
Another way of showing long text to end user...
0 1984 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 1910 posted 18 years ago by claytron
1 2273 posted 18 years ago by iTony
1 ... 484 485 486 487 488 ... 552