Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 272 273 274 275 276 ... 553
Format number using a comma as a separator
3 1709 posted 15 years ago by Tmeister
Sequence is used to generate auto incrementing numbers
0 1085 posted 15 years ago by mprabhuram
1 1681 posted 15 years ago by 3k-
I switched the h1 to a span to stop the hover from being effective from the other side of the page. Take a look at it [here](http://jsbin.com/okepo4/6/,\"here\")
1 1699 posted 15 years ago by s0l1dsnak3123
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 2161 posted 15 years ago by vagrantradio
A snippet setup to grab an XML file, parse it, and return the data contained within.
2 1169 posted 15 years ago by joshharbaugh
2 1427 posted 15 years ago by jiewmeng
1 1537 posted 15 years ago by yeremiloli
A password generator in one line!
2 1454 posted 15 years ago by koko
easy but I tend to forget
0 1116 posted 15 years ago by dmistriotis
1 2238 posted 15 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 1877 posted 15 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 1473 posted 15 years ago by math89
Turn a html source into a full text document by removing all html tags and other unneeded code.
0 1467 posted 15 years ago by math89
0 1161 posted 15 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 1213 posted 15 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 1704 posted 15 years ago by DADU
Generic function to test whether and element supports a particular element in HTML5.
0 1298 posted 15 years ago by vagrantradio
1 1527 posted 15 years ago by jmcd
0 987 posted 15 years ago by jamiebrwr
This custom function is useful if you want to get the ID of a page.
1 1405 posted 15 years ago by simonbouchard
Place into fucntions.php
3 1081 posted 15 years ago by jamiebrwr
Place into fucntions.php
0 1120 posted 15 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 1102 posted 15 years ago by simonbouchard
Place into fucntions.php
0 1172 posted 15 years ago by jamiebrwr
Place into fucntions.php
1 1004 posted 15 years ago by jamiebrwr
1 ... 272 273 274 275 276 ... 553