]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - files/ts/tasks.py
Fixup
[dotfiles.git] / files / ts / tasks.py
index d51d8ed98ed404c31cc463f6b2a8a535b8d4520b..1a75292e8339111dc065a23e44d77c3c9a9bcd6a 100644 (file)
@@ -15,7 +15,9 @@ JOURNAL = f"{HOME}/Journal/{YEAR}"
 
 SECDEV_LIMITED=os.environ.get('SECDEV_LIMITED')
 SECDEV_MESSAGE_TEMPLATES=os.environ.get('SECDEV_MESSAGE_TEMPLATES')
-BOX_EPICS=os.environ.get('BOX_EPICS')
+EPICS=os.environ.get('URL_EPICS')
+MESSAGE_TEMPLATES=os.environ.get('URL_MESSAGE_TEMPLATES')
+OLLAMA=os.environ.get('OLLAMA')
 
 # Helper functions for a consistent experience
 
@@ -57,6 +59,7 @@ def vasl(c):
     '''Submit time off'''
     browse(c, "https://my.techservices.illinois.edu/vacation/submitdays.asp")
     browse(c, "https://outlook.office.com/calendar/view/week")
+    print('Ctrl+G to repeat a search in FF')
 
 
 @task(vasl)
@@ -64,6 +67,7 @@ def timesheets(c):
     '''Reconcile time off between reporting systems'''
     browse(c, "https://outlook.office.com/calendar/view/month")
     code(c, f"{HOME}/src/Learn_RobotFramework_IllinoisPTR")
+    browse(c, "http://go.illinois.edu/techservtimeentry")
 
 @task(journal)
 def daily(c):
@@ -81,7 +85,7 @@ def in_progress(c):
 @task(daily, in_progress)
 def status(c):
     '''Check on status of priorities'''
-    browse(c, BOX_EPICS)
+    browse(c, EPICS)
     dash(c)
     pass
 
@@ -153,4 +157,12 @@ def bookmarks(c):
     code(c, f'{JOURNAL}/bookmarks.md')
 
 
+@task
+def message_templates(c):
+    browse(c, MESSAGE_TEMPLATES)
+
+@task
+def ollama(c):
+    print(f'ssh -t {OLLAMA} "ollama run glm-4.7-flash"')
+