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:
| <link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
| <polymer-element name="my-element"> | |
| <template> |
| ----- Esc ----- | |
| Quick change directory: Esc + c | |
| Quick change directory history: Esc + c and then Esc + h | |
| Quick change directory previous entry: Esc + c and then Esc + p | |
| Command line history: Esc + h | |
| Command line previous command: Esc + p | |
| View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
| Print current working directory in command line: Esc + a | |
| Switch between background command line and MC: Ctrl + o | |
| Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
| var page = require('webpage').create(), | |
| system = require('system'), | |
| address, output, size; | |
| if (system.args.length < 3 || system.args.length > 5) { | |
| console.log('Usage: rasterize.js URL filename [paperwidth*paperheight|paperformat] [zoom]'); | |
| console.log(' paper (pdf output) examples: "5in*7.5in", "10cm*20cm", "A4", "Letter"'); | |
| console.log(' image (png/jpg output) examples: "1920px" entire page, window width 1920px'); | |
| console.log(' "800px*600px" window, clipped to 800x600'); | |
| phantom.exit(1); |
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android All versions (http://wiki.cyanogenmod.org/w/Google_Apps#gappsCM11)
Google Apps for Android 4.4 (http://goo.gl/TVcd93)
Google Apps for Android 4.3 (http://goo.im/gapps/gapps-jb-20130813-signed.zip)
Google Apps for Android 4.2 (http://goo.im/gapps/gapps-jb-20130812-signed.zip)
Google Apps for Android 4.1 (http://goo.im/gapps/gapps-jb-20121011-signed.zip)
| var randomNumbers = [42, 12, 88, 62, 63, 56, 1, 77, 88, 97, 97, 20, 45, 91, 62, 2, 15, 31, 59, 5] | |
| func partition(v: Int[], left: Int, right: Int) -> Int { | |
| var i = left | |
| for j in (left + 1)..(right + 1) { | |
| if v[j] < v[left] { | |
| i += 1 | |
| (v[i], v[j]) = (v[j], v[i]) | |
| } | |
| } |
| <?php | |
| /** | |
| * Generic Exception Support for PHPUnit < v3.7 | |
| * | |
| * These classes help you test generic exceptions in PHPUnit versions less than | |
| * v3.7, avoiding the 'You must not expect the generic exception class' error. | |
| * | |
| * We create a new exception to represent the generic exception, and provide | |
| * multiple ways to incorporate the functionality into your tests: | |
| * |
| /** | |
| * Example of using an angular provider to build an api service. | |
| * @author Jeremy Elbourn (jelbourn@google.com) | |
| */ | |
| /** Namespace for the application. */ | |
| var app = {}; | |
| /******************************************************************************/ |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
| <script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| $(document).ready(function() { | |
| var url = "https://twitter.com/intent/tweet?" + $.param({ |