Skip to content

Instantly share code, notes, and snippets.

View dsebastien's full-sized avatar

Sebastien Dubois dsebastien

View GitHub Profile
@dsebastien
dsebastien / 2024-08-29.md
Created August 29, 2024 09:00
Example daily note

...

2024-08-29 - Thursday

...

Plan for today

  • Install PHP and Laraval tools
  • Create test application
  • Create Laravel + Jetstream app with Inertia, Vue.js, TypeScript, within Docker using Laravel Sail
    • Created the app using: composer create-project laravel/laravel knowii-laravel

authors: {{authors}}{{directors}} tags: {{hashTags}} aliases:

  • {{title}}
  • {{citekey}} url: {{url}} doi: {{doi}} citekey: {{citekey}} keywords: {{allTags}}
@dsebastien
dsebastien / TPL_Publish.md
Last active June 25, 2024 12:56
Obsidian Publish Templater Template

<%*

const dv = app.plugins.plugins["dataview"].api;

// ------------------------------------------------------------------ // Update notes front matter if needed // ------------------------------------------------------------------ let publishedFiles = null;

// Load the list of currently published files

<%"---"%>
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") %>
<%"---"%>
<%"---"%>
tags:
- meeting_notes
<%"---"%>
# <% tp.file.title %>
## Participants
- ... : Present/Absent/Excused
- ... : Present/Absent/Excused
- ... : Present/Absent/Excused
@dsebastien
dsebastien / TPL Book.txt
Last active April 3, 2024 07:22
Book template
<%"---"%>
summary:
link:
tags:
- book_notes
- books
- summaries
<%"---"%>
# <% tp.file.title %>
aliases tags
PREFRONTAL CORTEX (PFC)
prefrontal cortex (pfc)
Prefrontal cortex (PFC)
literature_notes
brain
neuroscience
thinking
cortex

summary: A method to organize your mind, focus your attention, achieve your goals, and avoid feeling overwhelmed link: https://amzn.to/3gXs70N tags:

  • book_notes
  • books
  • summaries
  • creativity
  • work
  • neuroscience
@dsebastien
dsebastien / heatmap.md
Created January 10, 2024 09:21
Heatmap calendar example
const propertyName = "abs";
const emoji = "💪"; // ⏹️💤⚡⚠🧩↑↓⏳📔💾📁📝🔄📝🔀⌨️🕸️📅🔍✨💪
const color = ""; // See Heatmap plugin configuration for color names. If empty string: green

dv.span("** "+emoji+" Abs "+emoji+" **"); /* optional  */

const currentYear = DateTime.now().year;

const pages = dv.pages('"40 Journal/41 Daily Notes"').filter(p => p.file.name.startsWith(currentYear)).where(p => p[propertyName]).sort(p => p.file.name);

Discovered today

  • [[The greatest lie we tell ourselves is "I have time"]]
  • [[[Why solopreneurs are missing out when not taking or making notes and using PKM]]
  • [[When we write something down (physically or digitally) we are converting a thought about the world from our brains into material which can be interacted with, both later by ourselves and by others]]
  • [[Nick Seitz]]
  • [[Depending on how information is stored, linked, and utilized, we will get either more or less use out of that information]]
  • [[You have to earn complexity]]
  • [[Linking ideas together helps us remember and (re)use those]]
  • [[Knowledge is emergent]]
  • [[Take small bites every day]]