Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 353 354 355 356 357 ... 552
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 2395 posted 16 years ago by benjaminpearson
0 1623 posted 16 years ago by jommy
Den folgenden Code-Fragment im Kopfbereich (header.php) einfügen.
0 1731 posted 16 years ago by Perun
0 1616 posted 16 years ago by Perun
0 1757 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 1775 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 1915 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 4157 posted 16 years ago by DarkPepe
1 3194 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 2015 posted 16 years ago by gms8994
This properly handles transparencies for PNG/GIF.
0 1950 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 1946 posted 16 years ago by kencyber
If the device is already being used, umonut it.
0 1468 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 1783 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 1840 posted 16 years ago by ReeceMarsland
used to find content that uses the PHP input filter....useful for upgrading core!
0 2019 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 2415 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 2452 posted 16 years ago by webonomic
1 2071 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 1908 posted 16 years ago by blackf0rk
0 1765 posted 16 years ago by iloveitaly
0 2142 posted 16 years ago by hanzwurzt
1 ... 353 354 355 356 357 ... 552