hugo | justin.vc

Embedded SQL in Hugo with sqlime

Another short(-ish) post. I found a neat tutorial/example page at: https://sqlime.org/examples.html. It shows an embedded sqlite database, using web assembly and javascript to run interactive SQL examples without needing to hit a third-party hosted script (assuming you’re hosting it yourself). Note The SQL may give an error if it hasn’t loaded all the way - try refreshing in that case. This lets you do something like: SELECT rank() over w as "...

Using ox-hugo and Org-roam for Writing

Do you like emacs and try to use it for as much as possible? Do you like static site generators? Then this post may be of relevance to you. If this all sounds greek to you, and you somehow wandered into here randomly, hoo-boy do I have a fun rabbit hole for you: Getting started with Emacs Doom. Okay, But Why? High-level: I really like emacs and writing notes in org-roam, and didn’t want to introduce mental overhead by writing things elsewhere....