Welcome To Snipplr


Everyone's Recent Snippets



1 ... 517 518 519 520 521 ... 553
0 1253 posted 18 years ago by vanne
get the image size and reduces it dynamically
3 1898 posted 18 years ago by valcartei
A simple way to build iPhone specific interface with Rails
2 1401 posted 18 years ago by ctran
Taken from a lynda.com tutorial on learning actionscript. Lots of comments for the moment.
0 1383 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 1507 posted 18 years ago by nicolaspar
0 1453 posted 18 years ago by eethann
0 1310 posted 18 years ago by wintondeshong
Useful when your server runs out of disk space
1 1371 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 1635 posted 18 years ago by charlesroper
simple example of startDrag and stopDrag using AS3
5 2282 posted 18 years ago by mswallace
1 1360 posted 18 years ago by nicolaspar
1 1226 posted 18 years ago by bodhi
to use apostrophs in the field values i.e. st john's
0 1221 posted 18 years ago by valcartei
great to validate and process a form in the same page
5 2941 posted 18 years ago by valcartei
Prints content from an NSError or NSArray content from a managedObjectContext.
0 1655 posted 18 years ago by zingo
Replace /dev/hda/ with the device path to your disk
0 1286 posted 18 years ago by hyperwhat
0 1340 posted 18 years ago by hyperwhat
Add this to httpd.conf/.htaccess
0 1731 posted 18 years ago by hyperwhat
Was fiddling around at work one day thought this might be useful.
9 4944 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 1435 posted 18 years ago by 1man
override the boolean expression with your own conditions.
3 1560 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 2934 posted 18 years ago by ches
1 ... 517 518 519 520 521 ... 553