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:
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
{ | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AS": "American Samoa", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", | |
"DE": "Delaware", |
`import ui.TextView as TextView` | |
class helloWorld extends GC.Application | |
initUI:-> | |
textView = new TextView({ | |
superview: @view | |
layout: "box" | |
text: "Hello, Coffee!" | |
color: "white"}) |
public class Promises { | |
private static class PageMetrics { | |
Integer visits; | |
Long avgMsOnPage; | |
@Override | |
public String toString() { | |
return String.format("{ avgMsOnPage=%d, visits=%d }", avgMsOnPage, visits); | |
} |
/** | |
* http://fabricjs.com/js/kitchensink/controller.js | |
* http://fabricjs.com/js/kitchensink/utils.js | |
* http://fabricjs.com/js/kitchensink/app_config.js | |
* http://fabricjs.com/events/ | |
* view-source:http://fabricjs.com/kitchensink/ | |
*/ | |
(function() { |
{ :+ | |
{ :editor | |
{ "pmeta-/" [:toggle-comment-selection] | |
"ctrl-shift-up" [:editor.sublime.selectLinesUpward] | |
"ctrl-shift-down" [:editor.sublime.selectLinesDownward] | |
"pmeta-d" [:editor.sublime.selectNextOccurrence] | |
"ctrl-m" [:editor.sublime.goToBracket] | |
"ctrl-shift-m" [:editor.sublime.selectBetweenBrackets] | |
"shift-pmeta-space" [:editor.sublime.selectScope] | |
"ctrl-pmeta-up" [:editor.sublime.swapLineUp] |
// see mawhorter.net for full post | |
// Put this in an after:render event handler. | |
// Be warned: Ripped out of working code and renamed variables without testing. | |
var fabricMain = new fabric.Canvas('main') | |
, fabricThumb = new fabric.Canvas('screenshot') | |
, ctxThumbnail = $('canvas#thumbnail')[0].getContext('2d'); |
/** @jsx React.DOM */ | |
var Graphic = React.createClass({ | |
componentDidMount: function() { | |
var context = this.getDOMNode().getContext('2d'); | |
this.paint(context); | |
}, | |
componentDidUpdate: function() { |
define(['transit', 'immutable'], function (Transit, Imm) { | |
'use strict'; | |
var reader = Transit.reader('json', { | |
arrayBuilder: { | |
init: function () { return Imm.List.of().asMutable(); }, | |
add: function (ret, val) { return ret.push(val); }, | |
finalize: function (ret) { return ret.asImmutable(); }, | |
fromArray: function (arr) { return Imm.List(arr); } | |
}, |