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:
# /etc/init/project-web-reload.conf | |
pre-start script | |
initctl restart project-web | |
sleep 15 | |
end script | |
exec /usr/local/rvm/bin/default_bluepill restart |
; a quick attempt at doing the same thing in clojure could for example something like | |
(defpartial input [name] | |
[:tr | |
[:td | |
[:input {:name name}]]]) | |
(defpartial edit-task-form [& inputs] | |
[:div.generic.lightbox | |
[:table |
# install git | |
sudo apt-get install g++ curl libssl-dev apache2-utils | |
sudo apt-get install git-core | |
# download the Node source, compile and install it | |
git clone https://github.com/joyent/node.git | |
cd node | |
./configure | |
make | |
sudo make install | |
# install the Node package manager for later use |
group :development, :test do | |
gem 'ruby-debug', :platforms => :ruby_18 | |
gem 'ruby-debug19', :platforms => :ruby_19 | |
end |
Unless otherwise necessary (such as mobile development), the GitHub javascript codebase is based off jQuery. You can safely assume it will be included on every page.
jquery.facebox
jquery.github.repo_list.js
page.billing.js
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') | |
describe 'Machinist' do | |
models = Dir[File.expand_path(File.dirname(__FILE__) + '/../app/models/*.rb')]. | |
map{|file| File.basename(file, '.rb') } - %w{mailer} | |
models.map{ |model| model.classify.constantize }.each do |model| | |
it "should have a blueprint for the #{model} model" do | |
model.make.should be_instance_of(model) | |
end |