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 1557 posted 15 years ago by aristoworks
This is another way to get a list of files ordered by upload time.
1 1650 posted 15 years ago by fackz
0 985 posted 15 years ago by svenkaemper
4 1539 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 1437 posted 15 years ago by toddaeverett
1 1030 posted 15 years ago by joet3ch
1 803 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 1085 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 2735 posted 15 years ago by Kerrick
This is a tutorial I've found for integrate Facebook Connect function with your web community.
1 1631 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 1411 posted 15 years ago by jimfred
3 1867 posted 15 years ago by BoNzO
0 1151 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 1372 posted 15 years ago by ericschweichler
Делаем исполняемым cd ~ && chmod +x ship.sh Для запуска сервера: ./ship.sh -serve Для подключения к серверу ./ship.sh host
1 906 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 1837 posted 15 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 1071 posted 15 years ago by deepsoul
0 1434 posted 15 years ago by wearetherock
gets the svn version of the cwd
0 1131 posted 15 years ago by iloveitaly
0 1387 posted 15 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 1146 posted 15 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 1427 posted 15 years ago by smoothdzion
1 899 posted 15 years ago by loric
1 ... 343 344 345 346 347 ... 553