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:
| #!/usr/bin/env bash | |
| # | |
| # Wraps curl with a custom-drawn progress bar. Use it just like curl: | |
| # | |
| # $ curl-progress -O http://example.com/file.tar.gz | |
| # $ curl-progress http://example.com/file.tar.gz > file.tar.gz | |
| # | |
| # All arguments to the program are passed directly to curl. Define your | |
| # custom progress bar in the `print_progress` function. | |
| # |
Add contributors pull requests to your origin remote
# .git/config
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
url = [email protected]:thoughtbot/[repo].git
Fetch and checkout the remote branch. Run bundle to make sure any new dependencies are installed.
| require 'formula' | |
| class Vim < Formula | |
| # Get stable versions from hg repo instead of downloading an increasing | |
| # number of separate patches. | |
| url 'https://vim.googlecode.com/hg/', :revision => 'v7-3-712' | |
| version '7.3.712' | |
| homepage 'http://www.vim.org/' | |
| head 'https://vim.googlecode.com/hg/' |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| group :development, :test do | |
| gem "spork", "~> 0.9.0.rc" | |
| gem "guard" | |
| gem "guard-spork" | |
| gem "guard-bundler" | |
| gem "guard-passenger" | |
| gem "rb-fsevent", :require => false | |
| gem "growl", :require => false |
| /* Better styles for embedding GitHub Gists */ | |
| .gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%} | |
| .gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important} | |
| .gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important} | |
| .gist-meta a{color:#26a !important;text-decoration:none} | |
| .gist-meta a:hover{color:#0e4071 !important} |