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:
| // Detecting data URLs | |
| // data URI - MDN https://developer.mozilla.org/en-US/docs/data_URIs | |
| // The "data" URL scheme: http://tools.ietf.org/html/rfc2397 | |
| // Valid URL Characters: http://tools.ietf.org/html/rfc2396#section2 | |
| function isDataURL(s) { | |
| return !!s.match(isDataURL.regex); | |
| } | |
| isDataURL.regex = /^\s*data:([a-z]+\/[a-z]+(;[a-z\-]+\=[a-z\-]+)?)?(;base64)?,[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%\s]*\s*$/i; |
| # Path to your oh-my-zsh configuration. | |
| ZSH=$HOME/.oh-my-zsh | |
| #JAVA_HOME | |
| export JAVA_HOME=`/usr/libexec/java_home -v 1.7` | |
| #MAVEN | |
| export M2_HOME=/usr/local/maven-3.0.5 | |
| export MAVEN_OPTS=-Xmx1024m |
| { | |
| "node" : true, | |
| "browser" : true, | |
| "es5" : true, | |
| "esnext" : true, | |
| "bitwise" : true, | |
| "camelcase": true, | |
| "curly" : true, | |
| "eqeqeq" : true, | |
| "immed" : true, |
| #import <QuartzCore/QuartzCore.h> | |
| UIImageView *splashView = [[UIImageView alloc] initWithFrame:CGRectMake(0,0, 320, 480)]; | |
| splashView.image = [UIImage imageNamed:@"Default.png"]; | |
| [self.window addSubview:splashView]; | |
| [self.window bringSubviewToFront:splashView]; | |
| splashView.layer.anchorPoint=CGPointMake(0, .5); | |
| splashView.center = CGPointMake(splashView.center.x - splashView.bounds.size.width/2.0f, splashView.center.y); | |
| [UIView beginAnimations:nil context:nil]; |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)