Skip to content

Instantly share code, notes, and snippets.

@dsebastien
Created June 23, 2025 07:58
Show Gist options
  • Save dsebastien/96915f875b5fd6960992c3069b371f11 to your computer and use it in GitHub Desktop.
Save dsebastien/96915f875b5fd6960992c3069b371f11 to your computer and use it in GitHub Desktop.

<%"---"%> energy_level_morning: energy_level_evening: walked: false weight: 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; %>

kind: day-month
name: This Month ({value}/{max})
kind: day-year
name: This Year‎‎ ({percentage}) ‎‎ ‎   ‎ ‎ 

Plan for today

Notes of the day

Done today

Discovered today

What I'm excited about

Interesting links

  • PKM / Thinking / Learning

  • Bootstrapping

  • Tech

  • AI

  • Cool

  • Books

Challenges

Gratitude

On this day

Notes Created Today

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