Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 1678 posted 15 years ago by aristoworks
This is another way to get a list of files ordered by upload time.
1 1743 posted 15 years ago by fackz
0 1063 posted 15 years ago by svenkaemper
4 1640 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 1535 posted 15 years ago by toddaeverett
1 1111 posted 15 years ago by joet3ch
1 851 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 1165 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 2904 posted 15 years ago by Kerrick
This is a tutorial I've found for integrate Facebook Connect function with your web community.
1 1734 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 1503 posted 15 years ago by jimfred
3 1961 posted 15 years ago by BoNzO
0 1231 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 1460 posted 15 years ago by ericschweichler
Делаем исполняемым cd ~ && chmod +x ship.sh Для запуска сервера: ./ship.sh -serve Для подключения к серверу ./ship.sh host
1 967 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 1936 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 1158 posted 15 years ago by deepsoul
0 1541 posted 15 years ago by wearetherock
gets the svn version of the cwd
0 1222 posted 15 years ago by iloveitaly
0 1492 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 1232 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 1518 posted 15 years ago by smoothdzion
1 970 posted 15 years ago by loric
1 ... 343 344 345 346 347 ... 553