Skip to content

Instantly share code, notes, and snippets.

@schacon
Forked from maddox/showme
Created February 17, 2011 18:26
Show Gist options
  • Select an option

  • Save schacon/832317 to your computer and use it in GitHub Desktop.

Select an option

Save schacon/832317 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# SHOW ME
# Takes 2 pictures of you via your iSight, animates them, uploads them to CloudApp, and puts
# the url in your clipboard
#
# This uses a bunch of projects to make the magic happen, mostley thanks to Zach Holman: https://github.com/holman
#
#
# required software:
#
# ImageMagick
# CloudApp - http://www.getcloudapp.com/
# cloudapp script: https://github.com/holman/dotfiles/blob/master/bin/cloudapp
# gifme script: https://github.com/holman/dotfiles/blob/master/bin/gifme
#
# Make sure each of those are set up correctly
#
# isightcapture - http://www.intergalactic.de/pages/iSight.html
# download isightcapture and put it in your path
#
# Now you can take 2 snaps from your sight and push them to the clowd
#
# Ex: $ showme
printf "\a"
echo "\nPREPARE FOR FIRST SHOT"
isightcapture /tmp/isightcapture-1.jpg > /dev/null
printf "\a"
echo "\nPREPARE FOR SECOND SHOT"
isightcapture /tmp/isightcapture-2.jpg > /dev/null
gifme /tmp/isightcapture-1.jpg /tmp/isightcapture-2.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment