How to get 13 Digit Epoch time in Shell (Ruby Version)

I needed this, because Dendron uses 13-digit epoch time, for created and updated timestamps. While it is not a problem when notes are created from within VSCode (as is expected - since Dendron is a VSCode plugin) - I don’t use VSCode much. While Dendron has command line tools to create new notes, and notes are markdown only the timestamps are problem. Hence, the need to create 13-digit epoch time.

Continue Reading »

🌱 Automate Dendron Publishing

I have been using Dendron for some time now as a PKM tool. I started when it was using 11ty to generate site out of the notes. It would create the site in docs folder, using Dendron: Site Build in VSCode I had mapped the docs folder to a git repo. I would push ready-made site to git, and netlify deploy was a no-op %%{init: {'themeVariables':{'lineColor': 'lightblue', 'arrowheadColor': 'lightblue'}}}%% graph LR; A{ Write Content in markdown } A --| git push | B[ source git repo ] A --| Dendron: Site Build | C[ Site in `docs` folder ] C --| git push | D[ netlify deploy ] Then recently they switched to next.

Continue Reading »

Dynalist to Logseq

Almost a decade ago, I came across Workflowy. It is a simple outliner program. Think of a simple white paper of unlimited length, and digital. That is all it was. No other frills. One of its shortcomings was no mobile client. One could hack to get it working on mobile, but there was no app. Then I came across Dynalist. I used it for a long time. I have it installed on my mobile even today.

Continue Reading »

Logseq

I came across logseq long ago, of all the places on Dendron’s discord channel. It has other-projects channel just for this purpose. Logseq was still early back then (compared to Dendron at least). I tried, but did not like it. Plus Dendron was much better. Today, I came across Logseq again, when I was perusing my colleague’s twitter feed and noticed that he is using it. So I checked it again.

Continue Reading »