Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1272
posted 17 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
1127
posted 17 years ago by shrop
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
840
posted 17 years ago by mattkenefick
This was taken out of a presentation by eZ systems on PHP Best Practices
0
1004
posted 17 years ago by luizlopes
IE can't handle [ option disabled="disabled" ] tags, so this htc will help
0
1365
posted 17 years ago by localhorst
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
1152
posted 17 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
1120
posted 17 years ago by kergoth
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
1094
posted 17 years ago by bassdas
Apache
301 Rewrite domain.co.uk to www.domain.co.uk like the search engine friendly developer you are!
Rewrite your urls for domain.co.uk to www.domain.co.uk including full url
3
1259
posted 17 years ago by catchamonkey
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
1042
posted 17 years ago by claytron