Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This will let you execute certain scripts on the home page and other scripts on the other pages of the site.
0
1372
posted 14 years ago by dburgess
This will detect the Home Page of Joomla and perfom whatever code you tell it to
0
1281
posted 14 years ago by dburgess
jQuery
Cross Browser CSS sprites (for hovers, clicks, active state change via background position change)
Creating sprite buttons often had problems with different browsers.
This is a solution to get background positions in each browser for further manipulation.
1
1845
posted 14 years ago by bernhardb
Code snippet to create custom post type FAQ and custom taxonomy Topics in WordPress v. 2.9.2+
1
1410
posted 14 years ago by mommygeekology
Most popular languages on the web table (in order of popularity).
Handy for auto complete fields and such.
0
2861
posted 14 years ago by Synnoid
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
3299
posted 14 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
1671
posted 14 years ago by i-am-andy
Retrieve remote image from an URL and store it locally.
Use this class for managing offline mode.
2
4133
posted 14 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
1287
posted 14 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
905
posted 14 years ago by alexsancho
This snippet shows a dynamic way to enable extra default include paths.
0
939
posted 14 years ago by tomcottrill
This snippet presents how the java library to ubuntu unity launcher could look like.
0
1350
posted 14 years ago by kdaniel
3. zadatak: simulacija reda lijeÄniÄke ordinacije, strukture podataka.
0
1009
posted 14 years ago by davucina