Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
executable file 15 lines (15 sloc) 363 Bytes
#!/bin/bash
set -euo pipefail
SCRIPTDIR=$(dirname $0)
pushd $SCRIPTDIR
i=$(date +%Y%m%d)
if ! ((i%15)); then
../../../Tools/tweet.sh/tweet.sh post "FizzBuzz"
elif ! ((i%3)); then
../../../Tools/tweet.sh/tweet.sh post "Fizz"
elif ! ((i%5)); then
../../../Tools/tweet.sh/tweet.sh post "Buzz"
else
../../../Tools/tweet.sh/tweet.sh post "$i"
fi
popd