Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 484 485 486 487 488 ... 552
Simple command line option parser snippet
1 2185 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 2199 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 2130 posted 18 years ago by shrop
0 1471 posted 18 years ago by swfgeek
0 1655 posted 18 years ago by mattkenefick
Recursively trace an array or object in Actionscript.
0 1766 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 1619 posted 18 years ago by mattkenefick
0 1860 posted 18 years ago by benpjohnson
1 1791 posted 18 years ago by Juego
7 4139 posted 18 years ago by Juego
Hat tip: Allan Odgaard
1 1899 posted 18 years ago by breakerjump
0 1536 posted 18 years ago by cristiana
This was taken out of a presentation by eZ systems on PHP Best Practices
0 1983 posted 18 years ago by luizlopes
IE can't handle [ option disabled="disabled" ] tags, so this htc will help
0 2404 posted 18 years ago by localhorst
Generates a ChangeLog from git repository.
1 1808 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 2092 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 2097 posted 18 years ago by kergoth
0 1748 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 1941 posted 18 years ago by bassdas
Rewrite your urls for domain.co.uk to www.domain.co.uk including full url
3 2051 posted 18 years ago by catchamonkey
include file protection...
2 1910 posted 18 years ago by skywalker
Another way of showing long text to end user...
0 1977 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 1904 posted 18 years ago by claytron
1 2271 posted 18 years ago by iTony
1 ... 484 485 486 487 488 ... 552