Skip to content

Instantly share code, notes, and snippets.

View jakeweidokal's full-sized avatar

Jacob Weidokal jakeweidokal

View GitHub Profile
@jakeweidokal
jakeweidokal / settings.json
Created November 5, 2024 13:20
VS Code User Settings
{
"editor.tabSize": 2,
"editor.minimap.enabled": false,
"workbench.sideBar.location": "right",
"editor.formatOnSave": true,
"editor.fontSize": 14,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
type status description aliases
project
🟡
Miscellaneous personal tasks
#p/personal

I use the project file to track tasks for a given project. I use tags like #p/personal to associate a task to a project. The alias in the YAML front matter allows me to navigate to this tasks page by clicking on the tag from a tasks query.

@jakeweidokal
jakeweidokal / tasks-dashboard.md
Created July 27, 2024 15:57
Obsidian Tasks Dashboard

Below is the dashboard I use for my tasks. It contains views by project and by due date. I mostly use the due dates to organize tasks, and then look at individual project files. I have another gist that shows an example of one of my projects files.

[[000 Home]]

[[Work]]

  • [[😺 NCAT]]
  • [[🤖 Automation]]
  • [[📊 NMIS API]]
  • [[👨‍💻 Technical Standards]]
  • [[🏦 Infrastructure]]
@jakeweidokal
jakeweidokal / intermittent-fasting-chart.js
Last active April 12, 2024 12:57
Obsidian Charts - Intermittent Fasting Window and Weight
// In Obsidian, this code should be wrapped in ```dataviewjs
// It requires the dataview plugin and Obsidian Charts plugin
// Get all daily notes by the #daily tag
var pages = dv.pages('#daily');
// Filter to only daily notes in this month
pages = pages.filter(p => p.file.name.includes('2023-06'));
/*
var pages = dv.pages('#daily');
pages = pages.filter(p => p.file.name.includes('<% tp.date.now('YYYY-MM', 0, tp.file.title, 'YYYY-MM') %>'));
var titles = [], weights = [], eatingWindows = [];
pages.sort().forEach(p => {
	titles.push(p.file.name);
	weights.push(p.weight || 0);
	eatingWindows.push([p.startEating, p.endEating]);
});
@jakeweidokal
jakeweidokal / Obsidian Daily Note Template.md
Last active January 29, 2025 23:24
This is Jake Weidokal's template for creating daily notes in Obsidian.
week tags
<% tp.date.now('ww',0, tp.file.title, 'YYYY-MM-DD') %>
daily

<% tp.web.daily_quote() %>

<% tp.date.now("dddd, MMMM Do YYYY", 0, tp.file.title, "YYYY-MM-DD") %>

[[ <% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %> |⬅️ Yesterday]] | [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>|➡️ Tomorrow]] | [[<% tp.date.now("YYYY-[w]WW", 0, tp.file.title, "YYYY-MM-DD") %>|📖 Weekly]] | [[<% tp.date.now("YYYY-MM", 0, tp.file.title, "YYYY-MM-DD") %>|📅 Monthly]]