Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 353 354 355 356 357 ... 552
0 1353 posted 16 years ago by Michael01
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 2290 posted 16 years ago by benjaminpearson
0 1508 posted 16 years ago by jommy
Den folgenden Code-Fragment im Kopfbereich (header.php) einfügen.
0 1620 posted 16 years ago by Perun
0 1511 posted 16 years ago by Perun
0 1652 posted 16 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 1696 posted 16 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 1814 posted 16 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 4049 posted 16 years ago by DarkPepe
1 3057 posted 16 years ago by gms8994
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 1904 posted 16 years ago by gms8994
This properly handles transparencies for PNG/GIF.
0 1845 posted 16 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 1847 posted 16 years ago by kencyber
If the device is already being used, umonut it.
0 1349 posted 16 years ago by smoover
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 1658 posted 16 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 1725 posted 16 years ago by ReeceMarsland
used to find content that uses the PHP input filter....useful for upgrading core!
0 1899 posted 16 years ago by ReeceMarsland
This command will email the contents of emailbody.txt to [email protected] with the subject My subject line.
0 2276 posted 16 years ago by webonomic
This creates an array of various linux shell names, loops through the array and ouputs a file called shell_locations.txt showing where the shells are located on the linux system.
0 2307 posted 16 years ago by webonomic
1 1957 posted 16 years ago by revierDsign
In order to accurately get the next ID from a SharePoint list you need to access the content database for one reason: If you delete all the items from a list, and execute this simple code: list.Items[list.ItemCount -1].ID) + 1 the ID will always retu...
0 1807 posted 16 years ago by blackf0rk
0 1652 posted 16 years ago by iloveitaly
1 ... 353 354 355 356 357 ... 552