Skip to content

Instantly share code, notes, and snippets.

@RobbiNespu
Forked from ralphbean/.taskrc
Created December 13, 2020 08:00
Show Gist options
  • Save RobbiNespu/13d41dbfaae2c4d18950f402a60b6eb9 to your computer and use it in GitHub Desktop.
Save RobbiNespu/13d41dbfaae2c4d18950f402a60b6eb9 to your computer and use it in GitHub Desktop.
taskrc
# 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
#!/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
#!/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment