Created
November 25, 2015 15:37
-
-
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!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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