This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| # Support running Whenever cron jobs with Lockrun | |
| # Lockrun: http://www.unixwiz.net/tools/lockrun.html | |
| # lockrun typically installed at /usr/bin/lockrun | |
| # On Mac, install with: brew install lockrun | |
| # Lockrun prefix for cronjobs: /usr/bin/lockrun --lockfile=/path/to/tmp/JOBNAME.lockrun -- sh -c "COMMAND" | |
| def wrap_with_lockrun command | |
| "/usr/bin/env lockrun --lockfile=:path/tmp/:lockfile.lockrun -- sh -c \"#{ command }\"" | |
| end | |
| #redefine the three default job types to use Lockrun (i.e. just add 'lockrun_' in front of the existing job names) |
| var buggyAndroid = parseInt((/android (\d+)/.exec(window.navigator.userAgent.toLowerCase()) || [])[1], 10) < 4; | |
| if (!history.pushState || buggyAndroid) { | |
| if (window.location.hash) { | |
| if(window.location.pathname !== '/') window.location.replace('/#!' + window.location.hash.substr(2)); //Hash and a path, just keep the hash (redirect) | |
| } else { | |
| window.location.replace('/#!' + window.location.pathname); //No hash, take path | |
| } | |
| } | |
| //And then in app.config: |
| /* | |
| * Set up factories, then create them in tests with (for example): | |
| * | |
| * LineItemFactory(); | |
| * | |
| * Or with attributes / overrides: | |
| * | |
| * LineItemFactory({ | |
| * "id": 123, | |
| * "order": OrderFactory({"firstName": "Example Associated Record Override"}), |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
| <!DOCTYPE HTML> | |
| <html> | |
| <!DOCTYPE HTML> | |
| <head> | |
| <meta name="viewport" content="width=320; user-scalable=no" /> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
| <title>PhoneGap Test</title> | |
| <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.css" > | |
| <script type="text/javascript" charset="utf-8" |
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |
| $ ruby -v | |
| ruby 1.9.2p136 (2010-12-25) | |
| $ ruby symbol_literals.rb | |
| valid as first char: | |
| @$_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz | |
| valid as middle char: | |
| _ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 | |
| valid as end char: | |
| !_=?ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 |