Weekly Shaarli
Week 11 (March 15, 2021)
Github cicd based workflow for static website blog comments
Commandline client for python-bibtex and doi requests.
Could be useful either as-is or for inspiration for an own reference management software.
Hey folks!
I insert # TODO:
comments everywhere, may it be code or dotfiles, doesn't matter. So if I'm bored, I open a dotfile and search for TODO
to see them. Mh, not the best way to not forget them.
How would you do it to be reminded?
In IDEs, there's often a section where TODO/FIXME/etc lines are being listed, so you always see if there are some in the opened file (e.g. NetBeans does this).
Maybe have an indicator in the airline
that just is a red tag or whatever that says TODO
, so I know... Oh, I shouldn't forget!
How do you handle these comments?
reddit permalink
Includes gui and cli options, but as far as I can see not more involved setups like https://github.com/jonaswinkler/paperless-ng .
JSONata query and transformation language. Small introduction.
Comprehensive information on connecting to wireguard VPN servers through NetworkManager
This post describes the GnuPG pinentry process and provides a script which automatically chooses between a terminal or graphical interface based on the PINENTRY_USER_DATA environment variable.
A neat introduction to the way pinentry works. (Or seems to work, I have not done my due diligence here)
Edit and view the structure of PDFs, on the commandline or through JSON and thus gain all sorts of useful information to the makeup of a pdf.
Removes a (n X11) window when another program is launched and thus 'replaces' it with the other window.
Then re-establishes the original window when the first one closes.
Could be kinda neat for things like launching mpv in-place, or switching between fileview and filecontents (e.g. pdf reading)
Google photos alternative on device, only for mobile devices not self-hosted
I need to produce a version of a document where the changes compared to an earlier version are marked (as red text, specifically). Both are markdown. What is my best option?
The first thing that occurs to me is to turn them both into LaTeX and use latexdiff. Is there a better way?
Using nginx to limit the open endpoints
A quick overview on how to handle async processes in luv in Neovim.
Uses example of spawning a pandoc process, which is a good example starting point for reviewing implementations.
Intro In the past I’ve had to deal with ISPs blocking ports and in some cases most usable incoming ports. I want to show you how to bypass this using Wireguard and a VPS. That way you can start selfhosting services even if your ISP doesn’t want you to.
For this tutorial I’m going to be using a DigitalOcean VPS (their smallest one) but you can use any provider you want.
Ways of editing (internal) page numbering of PDFs
Pinata is an ipfs pin manager and helper, free to up to 1GB of data.
Can be used to e.g. pin a hosted website on the decentralized web for free, see here.
Program advanced features like opening youtube links in mpv, or a program just like this if already called from a terminal, or with a terminal window if not currently in one.
Seems really useful for advanced opening coding (e.g. fzf in floating mode from shortcuts, or just in term, and so on)
Creating super simple GUI image viewing (with editing and layering possibilities) with just a few lines of python.
Uses qt as its display library (the only one right now afaik?)
Ok this is slightly insane. OpenType (the common font format) actually supports simple scripts inside the font for complex characters and such. So a guy WROTE AN ENTIRE GAME INSIDE A FONT called Fontemon that you play by typing letters on the keyboard. https://www.coderelay.io/fontemon.html#player
🐦🔗: https://twitter.com/d_feldman/status/1372778427955044356
Some explanation and demonstration of the power of LuaTeX (or LuaLaTeX), from 2017.
An absolutely amazing guide and introduction into NodeRED programming (and the idea of flow-based and IoT programming in general).
It is sorted by examples and the chapters go deep into creating useful flows. Really, really good.
Somewhat similar to traefik, somewhat of a successor for many.
Is generally easier to configure, and carries more 'batteries-included' stuff with it.
Should work just as fine for docker containers and swarms, and can be integrated with plugins for all kinds of things (e.g. consul for ssl certs)
Python library to manipulate PDF page labels.
Meaning: you can change the labelling of page sections (preface getting roman numerals and different numbering scheme than main section, etc)
Should be really useful for later on programatically going to the correct pages and extracting the correct page citations from annotations etc
Executes alongside nextcloud to run arbitrary shell scripts as cronjobs