Welcome To Snipplr


Everyone's Recent Snippets



1 ... 488 489 490 491 492 ... 553
The lazy way to generate XHTML-valid width and height attributes for your images. This is incredibly inefficient, though I believe (ref?) that calls to getimagesize() are cached.
2 1569 posted 17 years ago by AdrianShort
2 2168 posted 17 years ago by therobot
I didn't create this but I use it all the time. Just drop it in lib/tasks/fixtures.rake
1 1208 posted 17 years ago by markpercival
0 1245 posted 17 years ago by vanne
1 1214 posted 17 years ago by klunkatronic
0 1111 posted 17 years ago by jonallanharper
0 1502 posted 17 years ago by iTony
"-b" and "-a" tells grep to show you 10 lines before and 10 lines after
0 1378 posted 17 years ago by lakedenman
A way to post to twitter from Google AppEngine using urlfetch.
4 1914 posted 17 years ago by sgraber
I use this in addition to the number_format (http://snipplr.com/view/5945/javascript-numberformat--ported-from-php/) snippit in SWFUpload to display the size of files a user is preparing to upload.
0 6722 posted 17 years ago by inkdeep
1 1632 posted 17 years ago by sherakama
5 2911 posted 17 years ago by sherakama
Today, tomorrow, yesterday and other date calculations
4 1758 posted 17 years ago by stancell
Sample which shoows how to compare objects by content.
0 1519 posted 17 years ago by stancell
1 1552 posted 17 years ago by stancell
3 1777 posted 17 years ago by multani
by Chris Coyier
0 1365 posted 17 years ago by lister
This example shows how to release artifacts into Artifactory by using Buildr, the origin of this code is http://groups.google.com/group/buildr-talk/
1 1157 posted 17 years ago by narkisr
2 2080 posted 17 years ago by hansamann
Name the form what ever you like, but make sure that is reflected in the javascript.
0 5836 posted 17 years ago by jachin
Features: Complies to version 2.1 of the vCard specification Supports the following attributes: * Name * Formatted Name * Phone and fax numbers * Birthday * Address * Address label * email address * notes...
6 3454 posted 17 years ago by jonhenshaw
Reading the contents of a whole file as a string.
0 3493 posted 17 years ago by jarnaldich
2 1431 posted 17 years ago by omixen
From: David Walsh. http://davidwalsh.name/dw-content/open-links.php
2 2178 posted 17 years ago by gbot
1 ... 488 489 490 491 492 ... 553