]>
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 # ln -s ~/dotfiles/files/ts/tasks.py ~/tasks.py
4 from invoke
import task
6 from datetime
import datetime
as dt
9 HOME
= os
.path
.expanduser('~')
11 TODAY
= dt
.now().strftime('%Y.%m.%d')
14 c
.run(f
"firefox {url}")
18 c
.run(f
"codium {path}")
28 result
= c
.run('which minetest')
35 c
.run(f
"firefox https://my.techservices.illinois.edu/vacation/submitdays.asp")
36 browse(c
, "https://outlook.office.com/calendar/view/week")
41 '''Reconcile time off between reporting systems'''
42 browse(c
, "https://outlook.office.com/calendar/view/month")
43 code(c
, f
"{HOME}/src/Learn_RobotFramework_IllinoisPTR")
48 '''Check on status of priorities'''
49 browse('https://github.com/orgs/techservicesillinois/projects/10')
54 '''Prep for backlog grooming'''
55 browse(c
, 'https://github.com/orgs/techservicesillinois/projects/10/views/7')
57 JOURNAL
= f
"{HOME}/Journal"
62 retro_file
= f
'{JOURNAL}/{TODAY}.Retro.md'
63 if(not os
.path
.exists(retro_file
)):
64 c
.run(f
'{HOME}/envs/jinja/bin/jinja2 -D DATE={TODAY} {JOURNAL}/Retro.Template.md > {retro_file}')