Skip to content

Instantly share code, notes, and snippets.

cd /tmp
git clone git://git.kernel.org/pub/scm/git/git.git
cd git
git checkout v`git --version | awk '{print $3}'`
cp contrib/completion/git-completion.bash ~/.git-completion.bash
cd ~
rm -rf /tmp/git
echo -e "source ~/.git-completion.bash" >> .profile
@bcarlso
bcarlso / Create movie from a set of images.
Created August 22, 2010 17:49
Create a movie using ffmpeg
class MovieBuilder
include FileUtils
def initialize(image_directory = '.', image_type = 'png')
@base_dir = image_directory
@temp_dir = "#{@base_dir}/temp"
@image_type = image_type
end
def make(movie_name, frame_rate = 5)