Skip to content

Instantly share code, notes, and snippets.

@reox
Created November 25, 2015 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reox/76d263a9054c0bec5b09 to your computer and use it in GitHub Desktop.
Save reox/76d263a9054c0bec5b09 to your computer and use it in GitHub Desktop.
Cozy way to wait for a fellow to push the changes... just play jeopardy music until git pull succed!
#!/bin/sh
# Get jeopardy.mp4 from:
# clive https://www.youtube.com/watch?v=0Wi8Fv0AJA4
# ffmpeg -i <file> -vn -acodec copy "jeopardy.mp"
mpv -loop $(dirname $0)/jeopardy.mp4 >/dev/null 2>&1 &
PID=$!
while [ "$(git pull)" = "Already up-to-date." ]; do
echo -n "."
done
kill $PID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment