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:
| # xcode-build-bump.sh | |
| # @desc Auto-increment the build number every time the project is run. | |
| # @usage | |
| # 1. Select: your Target in Xcode | |
| # 2. Select: Build Phases Tab | |
| # 3. Select: Add Build Phase -> Add Run Script | |
| # 4. Paste code below in to new "Run Script" section | |
| # 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
| # 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
| #! /usr/bin/env python | |
| from boto.ses.connection import SESConnection | |
| import os | |
| import sys | |
| import subprocess | |
| import socket | |
| TMPFILE = '/var/run/postgresql/last-wal-archive-error-file.tmp' | |
| if __name__ == '__main__': |
| from pyPdf import PdfFileWriter, PdfFileReader | |
| import StringIO | |
| from reportlab.pdfgen import canvas | |
| from reportlab.lib.pagesizes import letter | |
| packet = StringIO.StringIO() | |
| # create a new PDF with Reportlab | |
| can = canvas.Canvas(packet, pagesize=letter) | |
| can.drawString(100,100, "Hello world") | |
| can.save() |
| /* Reset | |
| ------------------------------------------------------------ */ | |
| body#ttrssMain, | |
| body#ttrssPrefs, | |
| body#ttrssLogin, | |
| body { | |
| color: #000; | |
| font-family: "Arial", sans-serif; | |
| font-size: 100%; /* Set to default browser size, 16px */ | |
| line-height: 1.5; |
| package main | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "flag" | |
| "fmt" | |
| "github.com/golang/groupcache" | |
| "io" | |
| "net" |
| ################# | |
| #### MODULES #### | |
| ################# | |
| $ModLoad imuxsock # provides support for local system logging | |
| $ModLoad imfile | |
| ########################### | |
| #### GLOBAL DIRECTIVES #### | |
| ########################### |
| package postgres | |
| import ( | |
| "database/sql" | |
| "database/sql/driver" | |
| "fmt" | |
| "github.com/lib/pq" | |
| "strings" | |
| ) |
| <html> | |
| <body> | |
| <h1 data-localize="{{page.id}}.title">{{page.title}}</h1> | |
| <div data-localize="{{page.id}}.body"> | |
| {{content}} | |
| </div> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script> |
| var gulp = require('gulp'); | |
| var browserify = require('gulp-browserify'); | |
| var concat = require('gulp-concat'); | |
| var styl = require('gulp-styl'); | |
| var refresh = require('gulp-livereload'); | |
| var lr = require('tiny-lr'); | |
| var server = lr(); | |
| var paths = { | |
| js: 'src/**/*.js', |