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:
| /** | |
| * largestRemainderRound will round each number in an array to the nearest | |
| * integer but make sure that the the sum of all the numbers still equals | |
| * desiredTotal. Uses largest remainder method. Returns numbers in order they | |
| * came. | |
| * | |
| * @param {number[]} numbers - numbers to round | |
| * @param {number} desiredTotal - total that sum of the return list must equal | |
| * @return {number[]} the list of rounded numbers | |
| * @example |
| 'use strict'; | |
| // Generated on <%= (new Date).toISOString().split('T')[0] %> using <%= pkg.name %> <%= pkg.version %> | |
| var gulp = require('gulp'); | |
| var open = require('open'); | |
| var wiredep = require('wiredep').stream; | |
| // Load plugins | |
| var $ = require('gulp-load-plugins')(); |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |