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:
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |
$ irb | |
irb(main):001:0> 10000000000000000 == 10000000000000001 | |
=> false | |
$ node | |
> 10000000000000000 == 10000000000000001 | |
true |
Declare a 2D texture with integer coordinates:
______w_______
|(0,0) |
| |
| |h
| |
|_____(w-1,h-1)|
rsync (Everyone seems to like -z, but it is much slower for me)
Some in-browser html sandboxes: | |
http://jsfiddle.net/ | |
http://jsbin.com/ | |
http://cssdesk.com/ | |
http://dabblet.com/ | |
http://code.google.com/apis/ajax/playground/ | |
http://www.webdevout.net/test | |
http://tinkerbin.com/ | |
http://sandbox.coreyworrell.com/ |
# Custom status bar | |
# # Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤ | |
set -g status-left-length 32 | |
set -g status-right-length 150 | |
set -g status-interval 5 | |
set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,bg=colour234,nobold]⮀' | |
set -g status-right '#[fg=colour245]⮃ %R ⮃ %d %b #[fg=colour254,bg=colour234,nobold]#(~/Documents/AppleScripts/itunes-current-track-tmux.sh)⮂#[fg=colour16,bg=colour254,bold] #h ' | |
# set -g status-right '#(~/Documents/AppleScripts/itunes-current-track-tmux.sh)' | |
set -g window-status-format "#[fg=white,bg=colour234] #I #W " | |
set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour16,g=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀" |
#!/bin/sh | |
# to use, save this file as .git/hooks/pre-commit in your git repo | |
# make sure to add execute permissions using: chmod +x .git/hooks/pre-commit | |
command -v pngcrush >/dev/null 2>&1 || { | |
echo "\033[1mPlease install pngcrush to reduce images size before commit\033[0m" | |
echo "Install pngcrush with the following:" | |
echo "\t \033[1mbrew install pngcrush\033[0m" | |
echo "OR" | |
echo "\t Site: \033[1m\033[4mhttp://pmt.sourceforge.net/pngcrush/\033[0m" | |
echo "\t Download: \033[1m\033[4mhttp://sourceforge.net/projects/pmt/files/\033[0m" |
source :rubygems | |
gem 'bench_press' | |
gem 'multi_json' | |
gem 'json' | |
gem 'yajl-ruby' | |
gem 'msgpack' | |
gem 'ruby-protocol-buffers' | |
gem 'bson' | |
gem 'bson_ext' |