Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 96 97 98 99 100 ... 554
Adding custom fields to the quick edit panel in Wordpress is easy using built-in hooks. However, the hook to add fields seems to be called multiple times, adding duplicate fields to the quick edit panel. Adding this code to the top of the function be...
0 1083 posted 13 years ago by briteweb
This will let you execute certain scripts on the home page and other scripts on the other pages of the site.
0 1057 posted 13 years ago by dburgess
This will detect the Home Page of Joomla and perfom whatever code you tell it to
0 1006 posted 13 years ago by dburgess
Creating sprite buttons often had problems with different browsers. This is a solution to get background positions in each browser for further manipulation.
1 1193 posted 13 years ago by bernhardb
View ports on linux
0 910 posted 13 years ago by Glycerine
scrollTo jQuery
0 935 posted 13 years ago by mortu
From CSS-Tricks.com
0 822 posted 13 years ago by wiryanm
Code snippet to create custom post type FAQ and custom taxonomy Topics in WordPress v. 2.9.2+
1 1118 posted 13 years ago by mommygeekology
Preferred way of printing files in Clojure.
0 1170 posted 13 years ago by ef
Most popular languages on the web table (in order of popularity). Handy for auto complete fields and such.
0 1624 posted 13 years ago by Synnoid
An example method for fetching remote JSON data in Ruby.
2 1404 posted 13 years ago by vestimir
Rewrites url to appear like the additional domain appears independently hosted, however, only appropriate for a temporary web page as other pages throw an error.
0 1143 posted 13 years ago by hotdiggity
If you’ve ever wanted to display your latest Twitter tweets on a website, here is method to do that using PHP.
0 1235 posted 13 years ago by i-am-andy
Retrieve remote image from an URL and store it locally. Use this class for managing offline mode.
2 1767 posted 13 years ago by spawnrider
Converts textual dates like '1-3-1954' and '01-02-1963' to respectively '1954-3-1' and '1963-02-01'. MySQL is smart enough to understand the values without leading zeros when inserting into a DATE field.
0 989 posted 13 years ago by jpkunst
Helper to cheek if a given domain is available for registration. If tld is omitted the script uses a predefined tld array to check multiple domains. To use copy the code to a standalone file, call it whatever you wants and make it executable (+x)
0 739 posted 13 years ago by alexsancho
This is a sample class being used for demo purposes
0 944 posted 13 years ago by tomcottrill
This snippet shows a dynamic way to enable extra default include paths.
0 717 posted 13 years ago by tomcottrill
0 957 posted 13 years ago by abdelatifs
This snippet presents how the java library to ubuntu unity launcher could look like.
0 989 posted 13 years ago by kdaniel
An example of a more semantic version of jQuery Mobile.
3 1319 posted 13 years ago by tpryan
An example of less semantic jQuery Mobile Code
1 1393 posted 13 years ago by tpryan
Rad liječničke ordinacije
0 798 posted 13 years ago by mavukusic9
Simulacija reda u liječničkoj ordinaciji - red_pokazivaci.h
0 714 posted 13 years ago by kdomic
Implementacija reda pomoću pokazivača.
0 718 posted 13 years ago by davucina
3. zadatak: simulacija reda liječničke ordinacije, strukture podataka.
0 773 posted 13 years ago by davucina
Implementacija reda preko pokazivača
0 922 posted 13 years ago by tlapas
implementacija reda pomocu pokazivaca
0 630 posted 13 years ago by mjurman
simulacija rada liječničke ordinacije (main)
0 672 posted 13 years ago by mjurman
Header pokazivaci
0 624 posted 13 years ago by zstrahij1
1 ... 96 97 98 99 100 ... 554