How to install Syncthing on Arch Linux ARM

Syncthing is a solution to share files across multiple devices, spanning most operating systems, including Linux, Windows, Mac and Android. It's open source and it is decentralized. It requires some set-up, however. I was reluctant at first, but it is one of the things that I did…

Keep Gnome Shell settings in dotfiles with yadm

Gnome project went through a long and turbulent journey in a open-source world, filled with forks, pivotal changes and controversy. Gnome is based on GTK widget toolkit. Widget toolkit is a software library used to build graphical user interface (GUI). GTK was born as a more open…

Using arrays in Svelte localStorage store

Difference between cookies and localStorage A localStorage allows browsers to store data related to the application in the client. This might seem identical to the purpose of the cookies, but there are differences, otherwise it could just be called otherCookies instead of localSt…

YAML metadata in Markdown

When I try to make my blog posts from the Markdown documents, I usually need to put the metadata somewhere. Since there is no database present, one place to put where they can be put is right into the document. Metadata are data about the data. In the context of blog posts, metad…

Comments working using vim in Svelte

Here's a minimal vim settings that I have tweaked to make the comments work using vim in Svelte call plug#begin('~/.vim/plugged') Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'evanleck/vim-svelte' Plug 'Shougo/context_file…

Using CSS selectors on Markdown in JS

It is possible target specific elements in a DOM via CSS using selectors h2 { /* property: value; */ } It is also possible to use CSS selector in JS DOM const elements = document.querySelector("h2") With the advent of a JAMstack it is also possible to target Markd…

Don't use global npm config for dotfiles with nvm

It is possible to set the global npm config via the global switch # short version npm config set init-version "0.0.1" -g # long version npm config set init-version "0.0.1" --global The location of the global npm config in nvm is tied to node version, renderi…