Last active
April 5, 2024 05:53
-
-
Save dsebastien/696b923a7a2263afb63d39a92d7e16e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%"---"%> | |
energy_level_morning: | |
energy_level_evening: | |
walked: false | |
push_ups: | |
abs: | |
tags: | |
- daily_notes | |
- daily_notes_<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY") %> | |
<%"---"%> | |
<%* | |
const currentMoment = moment(tp.file.title, "YYYY-MM-DD"); | |
const hash = '# '; | |
const slash = ' / '; | |
const pipe = ' | '; | |
const leftAngle = '❮ '; | |
const rightAngle = ' ❯'; | |
tR += hash + currentMoment.format('YYYY-MM-DD - dddd') + '\n'; | |
tR += leftAngle; | |
tR += '[[' + currentMoment.format('YYYY') + ']]' + slash; | |
tR += '[[' + currentMoment.format('YYYY-[Q]Q|[Q]Q') + ']]' + slash; | |
tR += '[[' + currentMoment.format('YYYY-MM|MMMM') + ']]' + slash; | |
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('[Week] ww') + ']]'; | |
tR += rightAngle; | |
tR += '\n'; | |
tR += leftAngle; | |
currentMoment.add(-1,'days'); | |
tR += '[[' + currentMoment.format('YYYY-MM-DD') + ']]' + pipe; | |
currentMoment.add(1,'days'); | |
tR += currentMoment.format('YYYY-MM-DD') + pipe; | |
currentMoment.add(1,'days'); | |
tR += '[[' + currentMoment.format('YYYY-MM-DD') + ']]'; | |
currentMoment.add(-1,'days'); | |
tR += rightAngle; | |
%> | |
```progressbar | |
kind: day-month | |
name: This Month ({value}/{max}) | |
``` | |
```progressbar | |
kind: day-year | |
name: This Year ({percentage}) | |
``` | |
## Plan for today | |
- | |
## Notes of the day | |
- | |
## Done today | |
- | |
## Discovered today | |
- | |
## Interesting links | |
- PKM / Thinking / Learning | |
- | |
- Bootstrapping | |
- | |
- Tech | |
- | |
- AI | |
- | |
- Cool | |
- | |
- Books | |
- | |
## Gratitude | |
- | |
## On This Day | |
```dataview | |
LIST | |
FROM "40 Journal/41 Daily Notes" | |
WHERE dateformat(date(file.name), "MM-dd") = dateformat(date(this.file.name), "MM-dd") AND file.name != this.file.name | |
``` | |
## Notes Created Today | |
```dataview | |
TABLE tags as "Tags" | |
FROM "" AND !"40 Journal" AND !"50 Resources" AND !"20 Projects/YouTube" | |
WHERE contains(dateformat(file.ctime, "YYYY-MM-dd"), dateformat(this.file.day, "YYYY-MM-dd")) | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment