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:
| #!/usr/bin/python | |
| import hmac, struct, time, base64, hashlib # for totp generation | |
| import re, sys, subprocess # for general stuff | |
| from getopt import getopt, GetoptError # pretending to be easy-to-use | |
| # | |
| # gtb - Google(auth) + Tunnelblick | |
| # |
| <!-- place this in an %angular paragraph --> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.5/leaflet.css" /> | |
| <div id="map" style="height: 800px; width: 100%"></div> | |
| <script type="text/javascript"> | |
| function initMap() { | |
| var map = L.map('map').setView([30.00, -30.00], 3); | |
| L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { |
| var https = require('https'); | |
| var util = require('util'); | |
| exports.handler = function(event, context) { | |
| console.log(JSON.stringify(event, null, 2)); | |
| console.log('From SNS:', event.Records[0].Sns.Message); | |
| var postData = { | |
| "channel": "#aws-sns", | |
| "username": "AWS SNS via Lamda :: DevQa Cloud", |
| # | |
| # pre-requesites : rvm 1.2.6 (http://rvm.beginrescueend.com/) | |
| # | |
| cd tmp/ | |
| mkdir asier | |
| cd asier/ | |
| git://github.com/tosch/ruote-kit.git |