3 ms·
Every month or so I see people attempting to create the perfect note-taking system for developers and none are up to the task, they're mostly electron laggy app
by postit 9y ago
Every month or so I see people attempting to create the perfect note-taking system for developers and none are up to the task, they're mostly electron laggy apps which cause more frustration than solves the problem.
A tip if you're designing something like this. Be fast, responsible and keyboard first. The time to take a note (flush your brain) shouldn't interrupt your current task and should be as mechanical as possible.
I've been using the same note take system for the last two years. It just works as expected. It's as fast as my terminal can be and I can use org or MD if needed.
postit@workstation:~# cat bin/logbook
#!/bin/sh
TS=$(date +'%H:%M:%S')
DS=$(date +'%Y-%m-%d')
cd ~/txt/logbook/
joe $DS.md && git add . && git commit -am "Updating $DS entry on $TS" && git push
exit
I have the bin on my path and a keyboard shortcut that fires up a terminal and opens the script. If I need to find something I can ag/grep the folder, and if I'm away from my computer, everything is available on GitHub.
ps: I decided to use joe in the script because it's the fastest text editor by far to start on my system, you can stick to your own solution.
- nawtacawp 9y agoWhat’s TS for?
- christiangenco 9y agoThe git commit message: `"Updating $DS entry on $TS"`
- TylerE 9y agoSurely git commits are timestamped anyway?
- postit 9y agoThey are indeed, but this pattern solved a few issues I had. First one was to get rid of always thinking about a commit message. Second, I can use git blame and understand the order of things I've inserted w/o headaches. Past information gets agglutinated and I needed granularity specially during long work hours https://imgur.com/a/cfvFh https://imgur.com/a/cfvFh Which time stamp is better in your opinion? Also with an eye scan I can see how much I've updated on a single note * 4a23de5 - Updating 2017-12-05 entry on 23:30:02 (postit, 3 weeks ago) * ed9e37b - Updating 2017-12-05 entry on 23:26:21 (postit, 3 weeks ago) * 7692b94 - Updating 2017-12-05 entry on 23:24:57 (postit, 3 weeks ago) * 816adce - Updating 2017-12-05 entry on 23:24:21 (postit, 3 weeks ago) * fd29ca3 - Updating 2017-12-05 entry on 23:22:08 (postit, 3 weeks ago) * b914010 - Updating 2017-12-05 entry on 21:30:44 (postit, 3 weeks ago) * 63e7aec - Updating 2017-12-05 entry on 20:54:06 (postit, 3 weeks ago) * 2fabda1 - Updating 2017-12-05 entry on 16:38:32 (postit, 3 weeks ago)
- hartator 9y agoCan you share some of your actual notes?