From 6237ac4fd541019baf49351c02fea24fb3eb87b4 Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Fri, 10 Jun 2022 23:23:36 +1200 Subject: [PATCH] vault backup: 2022-06-10 23:23:36 --- content/private/templates/DailyTemplate.md | 43 +++++++++++++++------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/content/private/templates/DailyTemplate.md b/content/private/templates/DailyTemplate.md index 31ad4162a..3616988fb 100644 --- a/content/private/templates/DailyTemplate.md +++ b/content/private/templates/DailyTemplate.md @@ -1,19 +1,37 @@ -[2022-06-09](daily_notes/2022-06-09) << [daily-notes](notes/daily-notes.md) >> [2022-06-11](daily_notes/2022-06-11) +[<% tp.date.yesterday("YYYY-MM-DD") %>](daily_notes/<% tp.date.yesterday("YYYY-MM-DD") %>) << [daily-notes](notes/daily-notes.md) >> [<% tp.date.tomorrow("YYYY-MM-DD") %>](daily_notes/<% tp.date.tomorrow("YYYY-MM-DD") %>) --- -# 10-06-22 -[American Pie - Don McLean](spotify:album:10jsW2NYd9blCrDITMh2zS) -![300](https://i.scdn.co/image/8d28530dd1cf226a09e7c4e7bddf5b1a0160b85f) -![It's believed to be related to the Stellar Sea Cow.](https://imgs.xkcd.com/comics/shuttle_skeleton.png) +# <% tp.date.now("DD-MM-YY") %> +<% tp.user.album() %> +<% tp.user.xkdc() %> -AAPL : 142.67 -SP500 : 4017.82 -TSLA : 719.12 +<% tp.user.stocks({a:"AAPL"}) %> +<% tp.user.yahoo({a:"SP500"}) %> +<% tp.user.yahoo({a:"TSLA"}) %> ## Today -- [ ] 09:00 Cosc202 Lab -- [ ] 11:00 Cosc201 Lecture -- [ ] 12:00 Info201 Lab +<%* +const d = new Date().getDay() +switch(d){ + case 1: + tR+="- [ ] 11:00 Cosc202 Lecture\n- [ ] 12:00 Cosc201 lab" + break; + case 2: + tR+="- [ ] 10:00 Info203 Lecture\n- [ ] 11:00 Cosc201 Lecture\n- [ ] 13:00 Info201 Lecture\n- [ ] 14:00 Cosc202 Lab" + break; + case 3: + tR+="- [ ] 10:00 Info203 Lecture\n- [ ] 16:00 Cosc201 Tutorial" + break; + case 4: + tR+="- [ ] 11:00 Cosc202 Lecture\n- [ ] 12:00 Cosc201 Lab\n- [ ] 12:00 Info203 Tutorial\n- [ ] 16:00 Info201 Lecture" + break; + case 5: + tR+="- [ ] 09:00 Cosc202 Lab\n- [ ] 11:00 Cosc201 Lecture\n- [ ] 12:00 Info201 Lab" + break; + default: + break; +} +%> # Review ```dataview @@ -31,5 +49,4 @@ list from #lecture where sr-due = date(today) - [i201 cousework](https://isgb.otago.ac.nz/infosci/INFO201/labs_release/raw/master/output/info201_labs.html#) - [i201 Assignments](https://isgb.otago.ac.nz/info201/shared/assignments_release/raw/master/output/info201_assignments.html) -## Today's Log -23:06 boi \ No newline at end of file +## Today's Log \ No newline at end of file