diff --git a/bin/poll-url b/bin/poll-url new file mode 100755 index 0000000000..579fca28ed --- /dev/null +++ b/bin/poll-url @@ -0,0 +1,12 @@ +#!/bin/bash + +url="$1" +string="$2" + +while true; do + echo "Checking URL." + curl -s "$url" | grep -i "$string" >/dev/null && { + echo "\"$string\" found!" | terminal-notifier -message -title "Poll URL" -open "$url" + } + sleep 10 +done diff --git a/init/30_osx_homebrew_recipes.sh b/init/30_osx_homebrew_recipes.sh index 19ffe5058b..0e07b77947 100644 --- a/init/30_osx_homebrew_recipes.sh +++ b/init/30_osx_homebrew_recipes.sh @@ -20,6 +20,7 @@ recipes=( nmap sl ssh-copy-id + terminal-notifier the_silver_searcher tree )