Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 294 295 296 297 298 ... 554
0 1007 posted 15 years ago by choise
0 1059 posted 15 years ago by choise
This is a script [tweeted by @gregmuellegger](http://twitter.com/gregmuellegger/status/16618146398). Example usage: Supports f("Hello %s.", ["World"]) and f("Hello %(name)s.", {name: "World"})
0 1203 posted 15 years ago by glends
0 1286 posted 15 years ago by ekinertac
1st shows only files and directories bigger than 1 Megabyte 2nd shows only files and directories bigger than 100 Megabyte
0 947 posted 15 years ago by kossmoss
If you need to sort an array in javascript this is how it should be done. Casting toLowerCase() is optional but but necessary if fx "Anne" was spelled "anne"
0 1059 posted 15 years ago by fengelz
0 1224 posted 15 years ago by supermauerbros
0 1017 posted 15 years ago by mracoker
Changing the connection string in the web.config to allow zero date and converting it prevents this error.
0 1273 posted 15 years ago by jink
Add the System.Data config settings for MySql. Update the version to number referenced.
0 963 posted 15 years ago by jink
JS to dynamically update year -- good for copyright.
0 989 posted 15 years ago by mennyj
[via rtcrm] Image/Text replacement for clickable image. This is useful for logo images.
1 1007 posted 15 years ago by mennyj
[via rtcrm] This uses *no javascript* and will still render in IE, Safari, Firefox, and Opera.
0 998 posted 15 years ago by mennyj
[via rtcrm]
0 905 posted 15 years ago by mennyj
[via rtcrm] CSS Browser Selector is a very small javascript with just one line and less than 1kb which empower CSS selectors. It gives you the ability to write specific CSS code for each operating system and each browser.
2 1090 posted 15 years ago by mennyj
[via rtcrm] <b>Needed:</b><br> - Video in FLV format.<br> - video_player.swf (standard player, which resizes for any flv).<br><br> <b>Notes:</b><br> - SWF and FLV files can live anywhere.<br> - Location of FLV is relative to the location of v...
0 1223 posted 15 years ago by mennyj
[via rtcrm] Since HTML5 is getting [more](http://www.brucelawson.co.uk/tests/html5-elements.html) [attention](http://adactio.com/journal/1540/) by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as...
0 1010 posted 15 years ago by mennyj
[via rtcrm] Video for Everybody is very simply a chunk of HTML code that embeds a video into a website using the HTML5 `<video>` element which offers native playback in Firefox 3.5 and Safari 3 & 4. This is native OGG video playback in Firefox 3....
3 1222 posted 15 years ago by mennyj
A quick script to add all of your unversioned files. Good when working in bulk.
0 902 posted 15 years ago by philsown
2 1110 posted 15 years ago by silverskymedia
The standard codeigniter pagination class doesn't allow you to use images in the pagination navigation. I altered the default pagination class a bit. Now you can add the path to the images for the previous link, next link, digit and active digit in e...
2 1347 posted 15 years ago by stevendobbelaere
1 ... 294 295 296 297 298 ... 554