Weekly Shaarli

All links of one week in a single page.

Week 34 (August 21, 2023)

GitHub - SuperCuber/dotter: A dotfile manager and templater written in rust 🦀

May be the first dotfile manager to move me away from my beloved GNU stow setup -

  • it does everything stow does (in fact, you can migrate without changing your repo),
  • but it also does templating of files (amazing if some program has to change its config files every now and again)
  • plus it allows different deployment targets with config-merging and multiple includes (e.g. you can have a modular graphics, wm and so on setup and enable/disable anything based on deploying to Win/Linux/Mac)

Seems powerful and since it is contained in a single rust binary we can also quickly bootstrap with a simple script in the beginning.

GitHub - nikvdp/neomux: Control Neovim from shells running inside Neovim.

Interact seamlessly between running neovim instance and an open (neovim) term buffer. Can send text back and forth, utilize yank ring and more.

GitHub - homeport/termshot: Creates screenshots based on terminal command output

Wonderfully useful program to show output of terminal commands in screenshots. Not super customizable but the default output looks good enough.

Can be useful for showing people how to accomplish something, blog entries, and especially for READMEs of command line programs.

dictionary - How to define hash tables in Bash? - Stack Overflow

What is the equivalent of Python dictionaries but in Bash (should work across OS X and Linux)?

Super simple explanation and a variety of updating and traversing them. Different ways of achieving all of these ideas also listed in easy-to-digest format here: https://www.xmodulo.com/key-value-dictionary-bash.html

GitHub - Bekaboo/dropbar.nvim: IDE-like breadcrumbs, out of the box

IDE-like breadcrumbs, out of the box.

Creates a top-bar on neovim which contains breadcrumbs from the base project working dir, through the directory structure into the current file, then the current context (e.g. class) and function and if required even into individual variables.

GitHub - profanity-im/profanity at 0.14.0

Terminal TUI XMPP client. Weee

slidge: XMPP gateway framework

Transports (bridges) for your xmpp server (examples for prosody and ejabberd included) to set up interop with a variety of walled-garden legacy messaging services. Supports for example Signal, Telegram, Whatsapp, Steam, Discord, Mattermost,...

Elegant commandline argument parsing on the shell

Showing how to combine short (-h) posix options with long-form (--help) gnu-like options while using getopts.

It seems overkill for smaller applications which are probably best off with a simple snippet like:

while :; do
    case "$1" in
    -f | --file) BEMOJI_CUSTOM_LIST="${OPTARG}"; shift 2 ;;
    -h | --help) usage 0 ;;
    -p | --private) bm_private_mode=true; shift ;;
    -v | --version) version ;;
    -*) usage 1 ;;
    *) break ;;
    esac
done

for option gathering, but for more complex setups this could be the way to go.

Complete list of BibTeX entry types [with examples] - BibTeX.com

Complete list of BibTeX entry types including examples for: âś“article âś“book âś“inbook âś“conference

Good little explanations for each type as well. Additional information concerning biblatex here: https://tex.stackexchange.com/questions/639734/canonical-list-of-bib-entry-types