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:
package main | |
import ( | |
"database/sql" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"log" | |
"net/http" | |
"time" |
push = (element) -> (stack) -> | |
newStack = [element].concat stack | |
{value: element, stack: newStack} | |
pop = (stack) -> | |
element = stack[0] | |
newStack = stack.slice 1 | |
{value: element, stack: newStack} | |
bind = (stackOperation, continuation) -> (stack) -> |
license: gpl-3.0 |
########## | |
### Moved to https://github.com/shesek/callable-klass | |
########## | |
"use strict" | |
# without strict mode, `this` defaults to window, so `(this?obj)` | |
# would always return window. | |
callable = (ctor) -> |
package main | |
import ( | |
"fmt" | |
"log" | |
"flag" | |
"os" | |
"os/exec" | |
"encoding/json" | |
"github.com/aws/aws-sdk-go/service/sfn" |
# Sync fork with original repository | |
# | |
# Requires an "upstream" remote, pointing to original repo | |
# e.g. `git remote add upstream git@github.com:user/repo.git` | |
alias git-sync-fork="git fetch upstream; git checkout master; git merge upstream/master" |
{ | |
"hands": [ | |
{ | |
"direction": [ | |
0.187837, | |
0.097272, | |
-0.976745 | |
], | |
"id": 3, | |
"palmNormal": [ |
################################################################################ | |
# script: Base.coffee | |
# author: Ryan Florence <rpflorence@gmail.com> | |
# license: MIT-Style License | |
# | |
# A surprisingly useful base class for CoffeeScript. Inspired by my old | |
# friend, MooTools Class. Provides default options, mixins, and custom events. | |
class Base | |
defaults: {} |
// Source: http://nicolasmerouze.com/guide-routers-golang/ | |
// Package httprouterwrapper allows the use of http.HandlerFunc compatible funcs with julienschmidt/httprouter | |
package httprouterwrapper | |
import ( | |
"net/http" | |
"github.com/gorilla/context" | |
"github.com/julienschmidt/httprouter" |