Skip to content

Instantly share code, notes, and snippets.

@serpro69
Forked from Signynt/Example Lecture Note.md
Created April 23, 2022 10:55
Show Gist options
  • Save serpro69/444dd8afc8153b28fb0cdb6d8607eb08 to your computer and use it in GitHub Desktop.
Save serpro69/444dd8afc8153b28fb0cdb6d8607eb08 to your computer and use it in GitHub Desktop.
Notes for Hub with Dataview queries
title allDay startTime endTime date
Pathologie Vorlesung
false
29700
35100
2022-04-05

[!info]+

  • type:: Vorlesung
  • location:: [[Pathologie Köln|Hörsaal I (Pathologie)]]
  • professor:: [[Prof Friedrichs]]
  • topic:: Einführung & Aufgaben der Pathologie
  • reviewed:: yes
  • Notes
  • More Notes
cssClasses obsidianUIMode type semester
cards fill
preview
hub
5

Ilias - <% tp.file.title %>

[!todo]

TASK WHERE contains(title, "<% tp.file.title %>") and !completed SORT date, startTime GROUP BY date

[!day] Vorlesungen

TABLE without ID link(file.name, string(date)) AS "Veranstaltung", topic AS "Thema" FROM "Calendar/Uni Calendar" WHERE contains(title, "<% tp.file.title %>") and type = "Vorlesung" and date >= date(today) SORT date, startTime

[!day] Seminare

TABLE without ID link(file.name, string(date)) AS "Veranstaltung", topic AS "Thema" FROM "Calendar/Uni Calendar" WHERE contains(title, "<% tp.file.title %>") and type = "Seminar" and date >= date(today) SORT date, startTime

[!day] Praktika

TABLE without ID link(file.name, string(date)) AS "Veranstaltung", topic AS "Thema" FROM "Calendar/Uni Calendar" WHERE contains(title, "<% tp.file.title %>") and type = "Praktikum" and date >= date(today) SORT date, startTime

[!wichtig] Prüfung

TABLE without ID link(file.name, string(date)) AS "Veranstaltung" FROM "Calendar/Uni Calendar" WHERE contains(title, "<% tp.file.title %>") and type = "Prüfung" and date >= date(today) SORT date, startTime

cssClasses obsidianUIMode type current-semester
cards fill
preview
hub
5

[!to-review]-

TABLE without ID link(file.name, title) AS "Veranstaltung", "" + default(type, "-") + "" + " - " + default(topic, "") AS "Kursart" FROM "Calendar/Uni Calendar" WHERE date <= date(today) and reviewed = "no" SORT date, startTime

[!classes]+

TABLE without ID file.link AS "Kurs" FROM "Uni/Hub" WHERE type = "hub" and semester = this.current-semester

[!todo]+

TASK FROM "Calendar/Uni Calendar" WHERE !completed SORT date, startTime GROUP BY date

[!day]+ Heute

TABLE without ID link(file.name, title) AS "Veranstaltung", startTime AS "Zeit", location AS "Ort", "" + default(type, "-") + "" + " - " + default(topic, "") AS "Kursart", professor AS "Dozent" FROM "Calendar/Uni Calendar" WHERE date = date(today) SORT date, startTime

[!day]- Morgen

TABLE without ID link(file.name, title) AS "Veranstaltung", startTime AS "Zeit", location AS "Ort", "" + default(type, "-") + "" + " - " + default(topic, "") AS "Kursart", professor AS "Dozent" FROM "Calendar/Uni Calendar" WHERE date = date(tommorow) SORT date, startTime

[!day]- Gestern

TABLE without ID link(file.name, title) AS "Veranstaltung", startTime AS "Zeit", location AS "Ort", "" + default(type, "-") + "" + " - " + default(topic, "") AS "Kursart", professor AS "Dozent" FROM "Calendar/Uni Calendar" WHERE date = date(yesterday) SORT date, startTime

[!day]- Davor

TABLE without ID link(file.name, title) AS "Veranstaltung", "" + default(type, "-") + "" + " - " + default(topic, "") AS "Kursart" FROM "Calendar/Uni Calendar" WHERE date <= date(yesterday) and type SORT date, startTime

[!wichtig]+ Prüfungen

TABLE without ID link(file.name, string(date)) AS "Veranstaltung", "" + title + "" AS "Titel" FROM "Calendar/Uni Calendar" WHERE type = "Prüfung" and date >= date(today) SORT date, startTime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment