Hacker Public Radio

HPR4549: [deprecated] Pomodoro Task Tool (pomotask.sh)


Listen Later

This show has been flagged as Clean by the host.

lrest=0;
while true; do
echo refreshing project list;
tsk=$(task +PENDING _unique project | shuf);
for x in $tsk;
do
echo proj:$x;
dispmd="task proj:$x ready || task ready";
[[ $lrest -eq 0 ]] && dispmd="task ready";
timeout 1500 watch $dispmd;
((lrest=lrest+1));
echo "begin break with enter...";
read;
resttime=5;
if [[ $lrest -gt 3 ]]; then
resttime=15;
lrest=0;
fi;
while [[ $resttime -gt 0 ]]; do
echo $resttime minute rest;
sleep 60;
((resttime=resttime-1));
done;
echo "break over, enter to continue...";
read;
done;
done

Provide feedback on this episode.

...more
View all episodesView all episodes
Download on the App Store

Hacker Public RadioBy Hacker Public Radio

  • 4.2
  • 4.2
  • 4.2
  • 4.2
  • 4.2

4.2

34 ratings


More shows like Hacker Public Radio

View all
The Infinite Monkey Cage by BBC Radio 4

The Infinite Monkey Cage

2,077 Listeners

Click Here by Recorded Future News

Click Here

418 Listeners

Hacker And The Fed by Chris Tarbell & Hector Monsegur

Hacker And The Fed

168 Listeners