Skip to content

Instantly share code, notes, and snippets.

@egermano
Created November 22, 2012 18:08
Show Gist options
  • Select an option

  • Save egermano/4132411 to your computer and use it in GitHub Desktop.

Select an option

Save egermano/4132411 to your computer and use it in GitHub Desktop.
gitshots
#!/usr/bin/env ruby
file="~/Dropbox/Photos/gitshots/#{Time.now.to_i}.jpg"
puts "Taking capture into #{file}!"
system "imagesnap -q -w 3 #{file}"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment