]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - files/ts/tasks.py
1 # This file is meant to sit in ~ for use from all shells.
2 from invoke
import task
4 from datetime
import datetime
as dt
7 HOME
= os
.path
.expanduser('~')
9 TODAY
= dt
.now().strftime('%Y.%m.%d')
12 c
.run(f
"firefox {url}")
16 c
.run(f
"codium {path}")
26 result
= c
.run('which minetest')
33 c
.run(f
"firefox https://my.techservices.illinois.edu/vacation/submitdays.asp")
34 browse(c
, "https://outlook.office.com/calendar/view/week")
39 '''Reconcile time off between reporting systems'''
40 browse(c
, "https://outlook.office.com/calendar/view/month")
41 code(c
, f
"{HOME}/src/Learn_RobotFramework_IllinoisPTR")
46 '''Check on status of priorities'''
47 browse('https://github.com/orgs/techservicesillinois/projects/10')
52 '''Prep for backlog grooming'''
53 browse(c
, 'https://github.com/orgs/techservicesillinois/projects/10/views/7')
55 JOURNAL
= f
"{HOME}/Journal"
60 retro_file
= f
'{JOURNAL}/{TODAY}.Retro.md'
61 if(not os
.path
.exists(retro_file
)):
62 c
.run(f
'{HOME}/envs/jinja/bin/jinja2 -D DATE={TODAY} {JOURNAL}/Retro.Template.md > {retro_file}')