Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 272 273 274 275 276 ... 552
Reworked CSS reset I use in projects. *Updated, added input type font inheritance and removal of firefox button outline, removed depreciated items; center, font, applet, big, s, u, tt, strike, menu & acronym. Uncompressed version in the link above.
3 2949 posted 16 years ago by vagrantradio
A snippet setup to grab an XML file, parse it, and return the data contained within.
2 1709 posted 16 years ago by joshharbaugh
2 2036 posted 16 years ago by jiewmeng
1 2149 posted 16 years ago by yeremiloli
A password generator in one line!
2 2088 posted 16 years ago by koko
easy but I tend to forget
0 1642 posted 16 years ago by dmistriotis
1 2830 posted 16 years ago by scholli
By default wordpress does not include post thumbnails in RSS Feeds. Enable in by add this code the functions.php located inside your themes folder.
1 2632 posted 16 years ago by mediamilan
Paste the code in a file named style.php. Don’t forget to include your css files . Once done, open your HTML document and import style.php as you’ll import a css stylesheet.
3 2131 posted 16 years ago by math89
Turn a html source into a full text document by removing all html tags and other unneeded code.
0 2115 posted 16 years ago by math89
0 1778 posted 16 years ago by therobot
This JavaScript code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
1 1836 posted 16 years ago by DADU
This PHP code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
2 2363 posted 16 years ago by DADU
Generic function to test whether and element supports a particular element in HTML5.
0 1894 posted 16 years ago by vagrantradio
1 2160 posted 16 years ago by jmcd
0 1507 posted 16 years ago by jamiebrwr
This custom function is useful if you want to get the ID of a page.
1 2068 posted 16 years ago by simonbouchard
Place into fucntions.php
3 1639 posted 16 years ago by jamiebrwr
Place into fucntions.php
0 1669 posted 16 years ago by jamiebrwr
This code will list all children pages from a parent page. This method is useful when you don\\\'t want to list all parent pages when you are on a parent page that have no children pages.
0 1656 posted 16 years ago by simonbouchard
Place into fucntions.php
0 1780 posted 16 years ago by jamiebrwr
Place into fucntions.php
1 1535 posted 16 years ago by jamiebrwr
Place into fucntions.php
0 1770 posted 16 years ago by jamiebrwr
This custom loop will list all sub pages from a parent page including grand childrens. Example use: Car models listing
1 1526 posted 16 years ago by simonbouchard
Place into fucntions.php
1 1587 posted 16 years ago by jamiebrwr
Place into fucntions.php
0 1879 posted 16 years ago by jamiebrwr
0 1600 posted 16 years ago by gilesb
This is what I wanted:\r\nI had a structure like this:\r\n-Artist\r\n --Peter Miller\r\n ---Pictures\r\n ---Press\r\n ---Videos\r\n\r\nand wanted to have the sub-sub-Menu when located on the \"Peter Miller\"-Page. \r\nSo that on \"Peter...
0 1874 posted 16 years ago by zartgesotten
1 ... 272 273 274 275 276 ... 552