Skip to content

Instantly share code, notes, and snippets.

@mchail
Created February 6, 2014 23:01
Show Gist options
  • Save mchail/8854283 to your computer and use it in GitHub Desktop.
Save mchail/8854283 to your computer and use it in GitHub Desktop.
drakebomb
#!/bin/bash
say "drake bomb"
for i in $(seq 10)
do
curl -sL 'http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=drake' | grep -o 'http[^"]*gif' | head -n 1 | sed 's/\\//g' | xargs open
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment