Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is an regular expression to match an HTML Tag from a given input.
0
1355
posted 15 years ago by rupakdhiman
Instructions for enabling multiple virtual hosts on Mac OSX. Based on default Apple Apache install. If you don't want to be manually changing these files, checkout the very slick GUI application - VirtualHostX (http://clickontyler.com/virtualhostx/)
3
1561
posted 15 years ago by benjaminpearson
Den folgenden Code-Fragment im Kopfbereich (header.php) einfügen.
0
1025
posted 15 years ago by Perun
This is using list items to create the calendar so it is very flexible with CSS. Right now it's just displaying dummy data, but you can easily integrate a mysql call into the loop.
3
1106
posted 15 years ago by SmpleJohn
I found the tablesorter - jQuery plugin cool and easy to-be implemented. Plugin is written by Christian Bach and my snippet uses tablesorter version 2.0.3. Images are stored on my server as well as inlcuded .js files in example directory. Project's s...
1
1203
posted 15 years ago by lukaz
This helps to avoid the "duplicated content" indexation by google on wordpress comment pages by changing the post content to the_excerpt ONLY in comment pages.
0
3299
posted 15 years ago by DarkPepe
Since PHP doesn't have a builtin imagecreatefrombmp, this allows users to upload bmp files and you can handle them and create a different image type from it.
0
1310
posted 15 years ago by gms8994
Searches the code for all functions in the current database and returns results containing the function name, the character index where the first match was found, and a portion of the code where the match occurred.
1
1288
posted 15 years ago by kencyber
There's no built-in "loop" property on the Silverlight mediaElement control. Add a listener to any mediaElement and this function will loop it.
0
1116
posted 15 years ago by johnlync
used to copy the contents of one folder into another on mac replacing only the files that are duplicates (like windows)
0
1110
posted 15 years ago by ReeceMarsland
used to find content that uses the PHP input filter....useful for upgrading core!
0
1281
posted 15 years ago by ReeceMarsland
This command will email the contents of emailbody.txt to [email protected] with the subject My subject line.
0
1540
posted 15 years ago by webonomic