Take a photo of yourself every time you commit
git·@knoopx·
0.000 HBDTake a photo of yourself every time you commit
Download *imagesnap* from https://github.com/rharder/imagesnap or install it with homebrew:
brew install imagesnap
Create `~/.gitshots` directory:
mkdir ~/.gitshots
Add this as a post-commit hook to yout git repo:
#!/usr/bin/env ruby
file="~/.gitshots/#{Time.now.to_i}.jpg"
unless File.directory?(File.expand_path("../../rebase-merge", __FILE__))
puts "Taking capture into #{file}!"
system "imagesnap -q -w 3 #{file} &"
end
exit 0
Assemble the video with http://www.dayofthenewdan.com/projects/tlassemble
Enjoy!
Checkout an [example video recording](https://player.vimeo.com/video/44067957) of me :)👍 knoopx, vkoreshkoff, honeythief, yana, wackou, surf4life, kindmorning, jparty, nbogdan, stephencurry, raphaelom,