From 8518041bc1eae26c7350a6a0f5706746f0881327 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Wed, 19 Feb 2014 10:57:07 -0600 Subject: [PATCH] Adding imagemagick, adding script to take webcam photo and upload to website. Adding vimperatorrc --- bin/start_website_photos | 7 +++++++ bootstrap-mac.sh | 1 + packages | 1 + symlinks.sh | 1 + vimperatorrc | 3 +++ 5 files changed, 13 insertions(+) create mode 100755 bin/start_website_photos create mode 100644 vimperatorrc diff --git a/bin/start_website_photos b/bin/start_website_photos new file mode 100755 index 0000000..be60918 --- /dev/null +++ b/bin/start_website_photos @@ -0,0 +1,7 @@ +#!/bin/bash +while [ 1 ]; +do + imagesnap - | convert - -resize "50%" jpeg:- | ssh dustinswan@dustinswan.org "cat > /srv/http/dustinswan.org/dustin.jpg" + sleep 10; +done + diff --git a/bootstrap-mac.sh b/bootstrap-mac.sh index b1d37d2..51ac604 100644 --- a/bootstrap-mac.sh +++ b/bootstrap-mac.sh @@ -25,6 +25,7 @@ brew install fish brew install ack brew install tree brew install imagesnap +brew install imagemagick brew install openssl brew install openssh --with-brewed-openssl brew install ssh-copy-id diff --git a/packages b/packages index 994a473..ab76463 100644 --- a/packages +++ b/packages @@ -36,6 +36,7 @@ var packages = [ { brew: "mosh", arch: "mosh" }, { brew: "tree", arch: "tree" }, { brew: "imagesnap" }, // TODO linux +{ brew: "imagemagick", arch: "imagemagick" }, // Desktop Applications // Mac Only diff --git a/symlinks.sh b/symlinks.sh index df493db..c6e8946 100644 --- a/symlinks.sh +++ b/symlinks.sh @@ -11,6 +11,7 @@ rm ~/.ruby-version; ln -s ~/dotfiles/ruby-version ~/.ruby-version rm ~/.tmux.conf; ln -s ~/dotfiles/tmux.conf ~/.tmux.conf rm ~/.vimrc; ln -s ~/dotfiles/vimrc ~/.vimrc rm -rf ~/.vim; ln -s ~/dotfiles/vim ~/.vim +rm ~/.vimperatorrc; ln -s ~/dotfiles/vimperatorrc ~/.vimperatorrc # TODO mac only rm ~/.slate.js; ln -s ~/dotfiles/slate.js ~/.slate.js diff --git a/vimperatorrc b/vimperatorrc new file mode 100644 index 0000000..7c2af72 --- /dev/null +++ b/vimperatorrc @@ -0,0 +1,3 @@ +:ignorekeys add mail\.google\.com +:ignorekeys add google\.com/calendar +:ignorekeys add feedly\.com