]>
apps.delaporte.us 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}")
21 result
= c
.run('which minetest')
28 c
.run(f
"firefox https://my.techservices.illinois.edu/vacation/submitdays.asp")
29 browse(c
, "https://outlook.office.com/calendar/view/week")
34 '''Reconcile time off between reporting systems'''
35 browse(c
, "https://outlook.office.com/calendar/view/month")
36 code(c
, f
"{HOME}/src/Learn_RobotFramework_IllinoisPTR")
41 '''Check on status of priorities'''
42 browse('https://github.com/orgs/techservicesillinois/projects/10')
47 '''Prep for backlog grooming'''
48 browse(c
, 'https://github.com/orgs/techservicesillinois/projects/10/views/7')
50 JOURNAL
= f
"{HOME}/Journal"
55 retro_file
= f
'{JOURNAL}/{TODAY}.Retro.md'
56 if(not os
.path
.exists(retro_file
)):
57 c
.run(f
'{HOME}/envs/jinja/bin/jinja2 -D DATE={TODAY} {JOURNAL}/Retro.Template.md > {retro_file}')