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:
| # | |
| # css/js minification/compression makefile | |
| # | |
| # | |
| # JS_TARGETS -- js files to minify/gzip | |
| # CSS_TARGETS -- css files to minify/gzip | |
| # CLEANUP -- additional files to delete during "make clean" | |
| # |
| $$$ = {}; | |
| $$$.ui = {}; | |
| $$$.ui.createImageView = function(options){ | |
| var ui = Ti.UI.createImageView(options); | |
| // 画像を永続化してキャッシュ | |
| ui.imageWithCache = function(url){ | |
| url = url.replace(/\?[0-9]+$/,''); |
| # Chromeの最新Dev版にLiveReloadをインストール | |
| # Chromeの拡張機能管理画面でLiveReloadの「ファイルの URL へのアクセスを許可する」にチェックを入れておく | |
| # ターミナルでguard関係のセットアップ | |
| $ gem install rb-fsevent | |
| $ gem install em-websocket | |
| $ gem install guard | |
| $ gem install guard-livereload | |
| $ gem install guard-sass |
| // this sets the background color of the master UIView (when there are no windows/tab groups on it) | |
| Titanium.UI.setBackgroundColor('#000'); | |
| var tabGroup = Titanium.UI.createTabGroup(); | |
| var win = Titanium.UI.createWindow(); | |
| win.hideTabBar(); | |
| win.navBarHidden = true; | |
| var tab = Titanium.UI.createTab({window: win}); | |
| var Z_INDEX_TOP = 3; | |
| var Z_INDEX_BOTTOM = 0; |
| tell application "Adium" to go away | |
| tell application "Skype" | |
| send command "SET USERSTATUS DND" script name "Alfred" | |
| end tell |
| #!/bin/python2.7 | |
| # -`*- coding: utf-8 -*- | |
| """ | |
| test for Server-Side events in flask | |
| inspiration from: | |
| http://www.html5rocks.com/en/tutorials/eventsource/basics/ | |
| https://github.com/niwibe/sse.git | |
| https://github.com/niwibe/django-sse.git |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> | |
| <title>Test Suite</title> | |
| </head> | |
| <body> | |
| <table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody> | |
| <tr><td><b>Test Suite</b></td></tr> |
| class people::jfryman { | |
| # Applications | |
| include chrome::stable | |
| include onepassword | |
| include dropbox | |
| include alfred | |
| include macvim | |
| include zsh | |
| include homebrew | |
| include fitbit |