Welcome To Snipplr


Everyone's Recent Snippets



1 ... 343 344 345 346 347 ... 553
This is a simple function that will return an array of all the dates corresponding to the day 'Monday' for a given year. It's pretty simple and may not be the cleanest way but it works for my purpose.
0 1692 posted 15 years ago by aristoworks
This is another way to get a list of files ordered by upload time.
1 1760 posted 15 years ago by fackz
0 1075 posted 15 years ago by svenkaemper
4 1657 posted 15 years ago by vas3k
Use this little bit of CSS to get rid of the active link dotted border in Firefox. A must have when doing the text-indent:-9000px; image replacement technique on links.
0 1552 posted 15 years ago by toddaeverett
1 1121 posted 15 years ago by joet3ch
1 859 posted 15 years ago by eivind
this specifically checks the view name and then checks the arg length altering the page title if its a match
1 1175 posted 15 years ago by ReeceMarsland
Insert this code into your functions.php and you'll get a custom CSS box on every page and post. Be sure your theme has wp_head(); in it.
2 3005 posted 15 years ago by Kerrick
This is a tutorial I've found for integrate Facebook Connect function with your web community.
1 1751 posted 15 years ago by ginoplusio
From Keil C51 examples, TEST.C: ISD51 Demo for TI MSC 1210. Polled (non-interrupt) mode. Work-around for dropped-characters related to stop-bit problem: Clear SCON1.5 (or SM2_1).
0 1518 posted 15 years ago by jimfred
3 1971 posted 15 years ago by BoNzO
0 1243 posted 15 years ago by Anthony
Detect if the user is browsing from and iPhone (or iPod) to server up specific content. For example, iPhone users can receive youtube video content instead of vimeo, etc.
1 1473 posted 15 years ago by ericschweichler
Делаем исполняемым cd ~ && chmod +x ship.sh Для запуска сервера: ./ship.sh -serve Для подключения к серверу ./ship.sh host
1 972 posted 15 years ago by anonymous
bit shabby and should really never do this but hey! Takes an id selector of a ul and expects the ul to be ul>li>a which gets converted into an option list which changes the destination url of the anchor button beneath on select change. bah.
0 1947 posted 16 years ago by ReeceMarsland
This snippet shows how to replace the colours in a monochrome image, i.e. one which only contains two colours and the range of hues between them.
0 1172 posted 16 years ago by deepsoul
0 1556 posted 16 years ago by wearetherock
gets the svn version of the cwd
0 1230 posted 16 years ago by iloveitaly
0 1507 posted 16 years ago by yakafokon
Allows you to remove the whitespace that can appear before the xml tag in wordpress files such as wp-includes/feed-rss2.php
1 1242 posted 16 years ago by benjaminpearson
Great short snippet of code to toggle checkboxes. Thanks [Josh Nathanson](http://groups.google.com/groups/profile?enc_user=aAOlJRcAAAC7dB8ku2NsRGdjbPtXhPEXHqZiDvCVswhrZ6TQxKj0ww) for putting this simple code together.
6 1527 posted 16 years ago by smoothdzion
1 980 posted 16 years ago by loric
1 ... 343 344 345 346 347 ... 553