Skip to content

Instantly share code, notes, and snippets.

@zvictor
Created March 27, 2019 17:06
Show Gist options
  • Save zvictor/1bc441582532ec540f5709bfc5c138ba to your computer and use it in GitHub Desktop.
Save zvictor/1bc441582532ec540f5709bfc5c138ba to your computer and use it in GitHub Desktop.
url="https://www.sky-tours.com/book.php?lang=br&book=T%3A0%3A0%7C0%3A0&key=GRULIS01%2F29%2F20199900LISGRU02%2F12%2F20199900Y010000&life=259200&api=8DvtxVAx0a24RCclYM98SXNMREhsn7Rttjqw18y%2BADwnCP7f5s%2Fr%2BiR433%2F0GhGy&session=7ffa6218-3fe9-4abb-b334-df2ad0231d74&check=Zqu1N8OWSNSgKJZnr0GKMzdC0Y1diINlC1peKuMVM9l27dG29UP0dfQ8TMa9UvH7mGqgRv7mh6LIeoPQzUKxF%2Byx1tl%2BROygG4DhTsV1%2FdmqjsCRb7GbztH4oEA1ZN5tG58BrBRBTaCLR1y9P5YuIjK64GMD%2Fim8GC2RtGOF1Cw%3D&sdata=mBxS%2B3rVvwH6%2BBlfqs0ln0WWSYlMYEnnJdeo%2Fy8Oad7jWZjj%2BfIHjEg3sc5DBwPDaIAt11ISI3EuqbYV%2BNsmGL5MkFPUhRRyi17soJvXYMU%3D"
# url="https://google.com"
echo "waiting for: $url"
echo ""
while ! (wget -q -O - "$url" > /dev/null) ; do
echo 'failed attempt'
done
while true ; do
open /Applications/Slack.app/Contents/Resources/calls_confirmation_v2.mp3
sleep 2
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment