Preparation for competition: Loglift 80kg and silverdollar deadlift 180kg for reps. So far both my timing and my endurance under load suck. Ah well.
I couldn’t find a countdown timer for my training for reps, so I wrote a little bash script, that does the job (at least well enough…). You’ll need the text synthesizer espeak and a sound file named sound.mp3 for this.
#!/bin/bash
countdown=5
if [ "$#" -eq 1 ]; then
delay=5
time=$1
elif [ "$#" -eq 2 ]; then
delay=$1
time=$2
else
echo "Usage: $0 [DELAY] TIME"
exit -1
fi
function countdown {
for i in `seq $1 -1 1`; do
espeak $i &
sleep 1
done
}
sleep $(($delay-$countdown))
countdown $countdown
mplayer sound.mp3 &
sleep $(($time-$countdown))
countdown $countdown
mplayer sound.mp3
Not completely happy with the technique, but at least I’m getting the hang of the hook grip.