public
Last active

taskrc

  • Download Gist
.taskrc
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# Files
data.location=/home/threebean/.task
 
#include /home/threebean/.task/solarized-dark-256.theme
_forcecolor=yes
defaultwidth=160
 
include /usr/local/share/doc/task/rc/dark-violets-256.theme
 
report.work_report.description=now
report.work_report.columns=priority,project,description,end,entry,entry.age
report.work_report.labels=priority,project,description,completed,entered on,age
report.work_report.sort=project+,end-
report.work_report.filter=status:completed
make-report.sh
Shell
1 2 3 4 5 6 7
#!/bin/bash
 
today=$(date +%Y-%m-%d)
/home/threebean/bin/timesheet.sh | ansi2html > /tmp/timesheet.html
scp /tmp/timesheet.html threebean@threebean:~/webapps/static/timesheets/$today.html
scp /tmp/timesheet.html threebean@threebean:~/webapps/static/timesheets/latest.html
rm /tmp/timesheet.html
timesheet.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#!/bin/bash
 
source /home/threebean/.bashrc
 
phrase="1-weeks-ago"
fmt="%m/%d/%Y"
start=$(date +$fmt -d $phrase)
end=$(date +$fmt)
filter="project.isnt:family project.isnt:xmas project.isnt:cersc project.isnt:iso project.isnt:monroe project.isnt:house project.isnt:misc project.isnt:rit project.isnt:tos-rit-projects-seminar"
 
echo " (generated at $(date))"
echo
echo " -- Tasks completed from $start to $end (back $phrase) -- "
/usr/local/bin/task work_report $filter end.after:$start
 
echo
echo
echo " -- Upcoming tasks -- "
/usr/local/bin/task next $filter
 
echo
echo
echo " -- Summary -- "
/usr/local/bin/task summary $filter
 
echo
echo
echo " -- History -- "
/usr/local/bin/task history $filter
/usr/local/bin/task ghistory $filter
/usr/local/bin/task burndown.daily
/usr/local/bin/task burndown

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.