Weekly Shaarli
Week 01 (January 2, 2023)
Going back to using the files on a network like an actual filesystem - even if they're served through HTTP. Very interesting fuse filesystem.
A guide to a full-featured modern desktop FreeBSD installation.
An impressive writeup going over building out a functional desktop under BSD. Might be a bit long in the tooth today (last updated around 2017) and relying on X11, but otherwise very informative.
Write your notes using handwriting but be able to still use the basic features provided by a word processor: insert text (with automatic paragraph reflowing), delete text or lines, move text, undo and redo, insert links, bookmarks and a table of contents.
Seems really inventive and quite nicely designed as a proof-of-concept. I am not sure how well it would work for larger projects or over longer spans of time but definitely interesting!
To encrypt your SSH key, use:
ssh-keygen -p -f ~/.ssh/id_rsa
If the encrypted private key is stolen, an attacker needs to brute-force (guess) your password to use it.
To be more resistant to brute force-attacks, specify -a <number> to set the number of rounds used. The default is 16.
ssh-keygen -p -a 500 -f ~/.ssh/id_rsa
A little pop-up for riverwm to inform you of occupied tags, active tags and so on. Can be used in lieu of status bars or similar.
Your own lastfm! Sweet if you just wanna track and get an overview of your listening habits without all the tra-ra of social connections.
A vim-inspired browser, just like vimb, pentadactyl, qutebrowser and the others. This one is build on electron in JS, so runs chromium under the hood.
It seems a little less 'bendable' than qutebrowser (with its python configuration and userscript scripting possibilities) but has some nice ideas with its modes especially: Entering the 'url' line you go into explore mode so you can have all kinds of settings and bindings apply in this mode only (as opposed to it being the same as command mode in qutebrowser for example); and especially the 'pointer' mode which mimics you using a mouse in a grid for those web pages which just absolutely refuse to work with key-binds since they feel too modern for such trivialities.
macro index,pager Y "<tag-thread><tag-prefix><save-message>=Personal/Personal.Archive<enter>" "Archive thread"
By using tag-prefix you can operate on a whole tread of messages at once.
"a GTK3-based shell for sway Wayland compositor"
Fairly involved window manager shell project - meaning, it will provide all kinds of desktop utilities that make up your interactions: a panel, a dock, a notification center, a file launcher, and so on. Can be used individually or together as a form of lightweight desktop environment on top of e.g. sway.
Modeled somewhat closely on GNOME it seems to provide all necessities for a fully mouse-driven DE on top of any wayland WM.
A very interesting approach to wayland global key mapping! It uses client-server architecture to both circumvent the issue of no 'global' access being really easy in wayland and on the other hand to prevent leakage abuse on the other.
Seems similar in idea to something like river with the server essentially just receiving shell instructions.
To print every N th line, use
sed -n '0~Np'
It is written in the form first~step(print). For example, to copy every 5th line of oldfile to newfile, do
sed -n '0~5p' oldfile > newfile
sed -n '2~5p' oldfile
would print lines 2, 7, 12, 17, 22, 27, …, up to the end of the file.
Note: This approach requires GNU sed, as the first ~step address form is a non-portable extension. (Some old versions of GNU sed may require the 5~5 form as opposed to the 0~5 form.)
A self-hosted version somewhat akin to something like nomie or jrnl. Supports markdown and can be interacted with through API - so could easily also be integrated with for example jrnl to auto-upload or download new entries.
yambar - Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar and thus somewhere between polybar and waybar. Except for (afaik) not relying on GTK as dependencies (which waybar does)
An image viewer akin to feh or nsxiv, but working natively with wayland!