This is what I use for keeping notes at work as a simple solution that I can use inside my code editor.
I have it set up with a yarn/npm script that just runs this JS file with no arguments as yarn daily
.
Then I can optionally supply a day offset if I want to want to plan ahead, e.g. yarn daily 3
if it's
a Friday and I want to plan for Monday.
// package.json
{
...
"scripts": {
"daily": "node create-daily-task-list.js",
...
},
}
The script copies the Today
section from the previous notes file, puts it under a Yesterday
heading,
and sets up a new area for the current day.
I've gotten a lot of good use from this basic strategy of "carry along yesterday for reference, then plan out today", so I wanted to set up this gist for reference
This still has a bug along certain date cutoffs, I think it's just for new years but might be months, I haven't fixed it yet because it hasn't been a big issue, but now that I posted this I'll probably update next time it comes up