Welcome To Snipplr


Everyone's Recent Snippets



1 ... 343 344 345 346 347 ... 554
This rule lets you print the contents of any variable for debugging purposes. Usage: > gmake echo_SOURCES SOURCES = main.c foo.c
1 1150 posted 15 years ago by michaelaskew
Example code to exercise a Crystalfontz 533 display from a 8051 using Keil C51.
0 1260 posted 15 years ago by jimfred
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 1216 posted 15 years ago by aristoworks
This is another way to get a list of files ordered by upload time.
1 1394 posted 15 years ago by fackz
0 769 posted 15 years ago by svenkaemper
4 1105 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 1164 posted 15 years ago by toddaeverett
1 866 posted 15 years ago by joet3ch
1 666 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 903 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 2176 posted 15 years ago by Kerrick
This is a tutorial I've found for integrate Facebook Connect function with your web community.
1 1231 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 1164 posted 15 years ago by jimfred
3 1597 posted 15 years ago by BoNzO
0 965 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 1044 posted 15 years ago by ericschweichler
Делаем исполняемым cd ~ && chmod +x ship.sh Для запуска сервера: ./ship.sh -serve Для подключения к серверу ./ship.sh host
1 759 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 1499 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 869 posted 15 years ago by deepsoul
0 1124 posted 15 years ago by wearetherock
gets the svn version of the cwd
0 893 posted 15 years ago by iloveitaly
0 1144 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 915 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 1114 posted 15 years ago by smoothdzion
1 ... 343 344 345 346 347 ... 554