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:
set filename to POSIX path of input | |
set cmd to "cd `dirname " & filename & "`; vim " & filename | |
tell application "iTerm" | |
tell the current window | |
# Uncomment the next line if you want to create a new iTerm tab instead. | |
#create tab with default profile | |
tell the current session | |
tell application "iTerm" to activate | |
delay 1 |
1 name: "uspto" | |
2 windows: | |
3 - name: "services" | |
4 root: "~/projects/uspto/frontend/" | |
5 layout: tiled | |
6 panes: | |
7 - echo "1" | |
8 - echo "2" | |
9 - echo "3" | |
19 - name: "chats" |
# the output of executing the command below, if i execute `karma run` from a zsh prompt, it runs just fine.. thoughts on how to fix? | |
:!karma run | |
zsh:1: command not found: karma | |
shell returned 127 | |
Press ENTER or type command to continue |
highlight javascriptDebugger guifg=white guibg=red ctermfg=white ctermbg=red | |
syntax match javascriptDebugger /debugger/ |
$(function() { | |
$(".prep-select").html('<%= select_tag("recipe_ingredients[#{@recipe_ingredient.id}][prep_action_id]", options_from_collection_for_select(@preps, :id, :name, @recipe_ingredient.prep_action_id), {include_blank: true, prompt: 'Select Prep Action', class: 'chzn'}).gsub(/n/, '') %>'); | |
$(".prep-select").append("<option value=''> Select a Prep Option </option>"); | |
}); |
09:57 AM weechat | 4 key bindings added or redefined for context "default": | |
│09:57 AM weechat | ctrl-J => /buffer +1 (default command: /input return) | |
│09:57 AM weechat | ctrl-K => /buffer -1 (default command: /input delete_end_of_line) | |
│09:57 AM weechat | ctrl-h => /buffer -1 | |
│09:57 AM weechat | ctrl-l => /buffer +1 | |
│09:57 AM weechat | | |
│09:57 AM weechat | 4 key bindings deleted for context "default": | |
│09:57 AM weechat | ctrl-H => /input delete_previous_char | |
│09:57 AM weechat | ctrl-L => /window refresh | |
│09:57 AM weechat | ctrl-N => /buffer +1 |
require 'formula' | |
class Weechat < Formula | |
homepage 'http://www.weechat.org' | |
url 'http://www.weechat.org/files/src/weechat-0.4.0.tar.bz2' | |
sha1 'e4b891d9d3d68196f97d226f487c4a2382d59d99' | |
depends_on 'cmake' => :build | |
depends_on 'gettext' | |
depends_on 'gnutls' |
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
url 'https://vim.googlecode.com/hg/', :revision => '2d107086903a' | |
version '7.3.584' | |
def install | |
system "./configure", | |
"--with-features=huge", |