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:
# Layout's directive - layout name 'app name':OPTIONS operations | |
# Creates the aliases needed for this example | |
alias 0-full move screenOriginX;screenOriginY screenSizeX;screenSizeY 0 | |
alias 1-full move screenOriginX;screenOriginY screenSizeX;screenSizeY 1 | |
# oneDisplayLayout - Places iTerm in the left half and Firefox in the right half. | |
layout oneDisplayLayout 'iTerm':MAIN_FIRST #{lefthalf} | |
layout oneDisplayLayout 'Firefox':REPEAT #{righthalf} | |
# twoDisplayLayout - Places iTerm in full screen in the first display and Firefox in full screen in the second display |
# My slate file | |
# 10-02-2013 | |
# Basic mappings and bindings for moving screens around | |
# I have set up my right command key to trigger ctrl+alt+shift+cmd | |
# see http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#hyper for details | |
config defaultToCurrentScreen true | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsSpread true |
# Configs | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config secondsBetweenRepeat 0.1 | |
config checkDefaultsOnLoad true | |
config focusCheckWidthMax 3000 | |
config keyboardLayout dvorak | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false |
var ITTrackKindFile = 1; | |
var iTunesApp = WScript.CreateObject("iTunes.Application"); | |
var deletedTracks = 0; | |
var mainLibrary = iTunesApp.LibraryPlaylist; | |
var tracks = mainLibrary.Tracks; | |
var numTracks = tracks.Count; | |
var i; |
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
OpenConnect can be installed via homebrew:
brew update
brew install openconnect
http { | |
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m; | |
proxy_temp_path /var/tmp; | |
include mime.types; | |
default_type application/octet-stream; | |
sendfile on; | |
keepalive_timeout 65; | |
gzip on; | |
gzip_comp_level 6; |
NSURL *originalFileName = [NSURL alloc]; | |
NSURL *RecordingPath =[NSURL fileURLWithPath:[appDelegate.RecordingPath stringByAppendingPathComponent: | |
[NSString stringWithFormat:@"RecordingFile.wav"]]]; | |
NSLog(@"LocalRecoding Path :%@",RecordingPath); | |
originalFileName=RecordingPath; | |
NSURL *temporaryFileName = [NSURL alloc]; |
Function::define = (prop, desc) -> | |
Object.defineProperty this.prototype, prop, desc | |
class GetterSetterTest | |
constructor: (@_obj = {}) -> | |
# 'obj' is defined via the prototype, the definition proxied through | |
# to 'Object.defineProperty' via a function called 'define' providing | |
# some nice syntactic sugar. Remember, the value of '@' is | |
# GetterSetterTest itself when used in the body of it's class definition. |