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:
| ENV["WATCHR"] = "1" | |
| system 'clear' | |
| def growl(message) | |
| growlnotify = `which growlnotify`.chomp | |
| title = "Watchr Test Results" | |
| puts message | |
| image = message.match(/\s0\s(errors|failures)/) ? "~/.watchr_images/passed.png" : "~/.watchr_images/failed.png" | |
| options = "-w -n Watchr --image '#{File.expand_path(image)}' -m '#{message}' '#{title}'" | |
| system %(#{growlnotify} #{options} &) |
| #!/usr/bin/env bash | |
| uninstall() { | |
| list=`gem list --no-versions` | |
| for gem in $list; do | |
| gem uninstall $gem -aIx | |
| done | |
| gem list | |
| gem install bundler | |
| } |
| -------- request JSON --------- | |
| "build": { | |
| "monogram": { | |
| "name": "Monogram", | |
| "id": 33 | |
| }, | |
| "placket": { | |
| "name": "Placket", | |
| "id": 18 | |
| }, |
| (add-hook 'ruby-mode-hook | |
| (lambda () | |
| (run-at-time 10 nil | |
| (lambda () | |
| (robe-mode 1) | |
| (robe-start))))) |
| $ git branch | grep -v "master" | xargs git branch -D |
| # spec/lib/tasks/notification_rake_spec.rb | |
| require 'spec_helper' | |
| describe 'notifications:weekly' do | |
| include_context "rake" | |
| let(:users){ [double(:user)] } | |
| let(:user_deliveries){ double(:user_deliveries) } | |
| before{ User.stub(:all).and_return( users ) } |
| npm install -g jsxhint |
| ## address bug | |
| :var = GQh6z916qptswjtTd4KV | |
| PUT http://client.archer.dev/svc/user/addresses/xxxxx | |
| HTTP_AUTHORIZATION: :var | |
| Content-Type: application/json | |
| { | |
| "address": { | |
| "address": { | |
| "address1": "1801 East St.", | |
| "address2": "", |
| config.middleware.insert_before 0, "Rack::Cors", :debug => true, :logger => (-> { Rails.logger }) do | |
| allow do | |
| origins '*' | |
| resource '/cors', | |
| :headers => :any, | |
| :methods => [:post], | |
| :credentials => true, | |
| :max_age => 0 |