Skip to content

Instantly share code, notes, and snippets.

@bertrandom
Created March 1, 2016 21:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bertrandom/0f505a96317b5531a97e to your computer and use it in GitHub Desktop.
Save bertrandom/0f505a96317b5531a97e to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in `seq 1 7306`;
do
frame=$(printf '%06d' "$i")
echo $frame
curl "https://slack.com/api/chat.postMessage?token=SLACK_API_TOKEN&channel=CHANNEL_ID&username=Star%20Wars&text=http://starwars.toomanycooks.kitchen/out$frame.jpg&as_user=starwarsbot"
sleep 10
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment