Skip to content

Instantly share code, notes, and snippets.

@ralphbean
Created February 13, 2012 18:20
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ralphbean/1818808 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