Welcome To Snipplr


Everyone's Recent Snippets



1 ... 517 518 519 520 521 ... 553
get the image size and reduces it dynamically
3 1960 posted 18 years ago by valcartei
A simple way to build iPhone specific interface with Rails
2 1451 posted 18 years ago by ctran
Taken from a lynda.com tutorial on learning actionscript. Lots of comments for the moment.
0 1432 posted 18 years ago by 1man
Convert 12hs format to 24hs format. In example: 10:00:00 a.m. return timestamp for 22:00. Or use: strtotime('1970-01-01 '.$hora);
1 1582 posted 18 years ago by nicolaspar
0 1511 posted 18 years ago by eethann
0 1352 posted 18 years ago by wintondeshong
Useful when your server runs out of disk space
1 1422 posted 18 years ago by benpjohnson
The escape_javascript funtion is taken from Rails (http://rails.rubyonrails.com/classes/ActionView/Helpers/JavaScriptHelper.html#M000633). Most of the work on this was done by pnomolos and n00ge on the E Text Editor forums.
1 1697 posted 18 years ago by charlesroper
simple example of startDrag and stopDrag using AS3
5 2359 posted 18 years ago by mswallace
1 1404 posted 18 years ago by nicolaspar
1 1266 posted 18 years ago by bodhi
to use apostrophs in the field values i.e. st john's
0 1268 posted 18 years ago by valcartei
great to validate and process a form in the same page
5 3006 posted 18 years ago by valcartei
Prints content from an NSError or NSArray content from a managedObjectContext.
0 1700 posted 18 years ago by zingo
Replace /dev/hda/ with the device path to your disk
0 1339 posted 18 years ago by hyperwhat
0 1374 posted 18 years ago by hyperwhat
Add this to httpd.conf/.htaccess
0 1792 posted 18 years ago by hyperwhat
Was fiddling around at work one day thought this might be useful.
9 5047 posted 18 years ago by djdykes
This will run the message function until countInterval equals 10, then it will stop. Could be used in various animations.
0 1482 posted 18 years ago by 1man
override the boolean expression with your own conditions.
3 1630 posted 18 years ago by capitalist
model/form.py is a good place to put schemata in a pylons app: easy to build with inheritance and accessible to controllers via model.form.EmailForm, etc. See the link for further info on the _extra_fields options -- this one is intended for just two...
1 3008 posted 18 years ago by ches
Run this in a terminal on mac to set your screensaver as your background. (hint: use rss visualizer for a neat effect) Ctrl+C to stop.
1 1634 posted 18 years ago by capitalist
1 ... 517 518 519 520 521 ... 553