Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 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