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:
brew install [email protected] | |
bundle config build.libv8 --with-system-v8 | |
bundle config build.therubyracer --with-v8-dir=$(brew --prefix [email protected]) | |
bundle install |
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html | |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env ruby | |
require 'spreadsheet' | |
# Begin Test | |
print "Spreadsheet Test\n" | |
# Create the rows to be inserted | |
row_1 = ['A1', 'B1'] | |
row_2 = ['A2', 'B2'] |
# change foo to your library name | |
# change Foo::Database to your Sequel database | |
namespace :bundler do | |
task :setup do | |
require 'rubygems' | |
require 'bundler/setup' | |
end | |
end |
class Application < Sinatra::Base | |
configure do | |
enable :static | |
set :views, File.join(File.dirname(__FILE__), 'views') | |
end | |
get '/' do | |
slim :index | |
end |