Weekly Shaarli

All links of one week in a single page.

Week 11 (March 15, 2021)

Adding Staticman Comments | Performance Matters
thumbnail

Github cicd based workflow for static website blog comments

GitHub - agdelma/cleanbib: Cleanup bibtex entries or grab from DOI
thumbnail

Commandline client for python-bibtex and doi requests.
Could be useful either as-is or for inspiration for an own reference management software.

Good way to highlight or remind of TODO and FIXME comments in a file?

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

List of Projects using tesseract to ocr things

Includes gui and cli options, but as far as I can see not more involved setups like https://github.com/jonaswinkler/paperless-ng .

jsonata/tutorial.md at master · jsonata-js/jsonata · GitHub
thumbnail

JSONata query and transformation language. Small introduction.

WireGuard in NetworkManager – Thomas Haller's Blog

Comprehensive information on connecting to wireguard VPN servers through NetworkManager

Prefer Terminal for GnuPG Pinentry - Kevin Locke's Homepage

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)

GitHub - qpdf/qpdf: Primary QPDF source code and documentation
thumbnail

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.

GitHub - salman-abedin/devour: X11 window swallower
thumbnail

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)

GitHub - cryptoboid/mytag: A Google Photos alternative, where your pictures never leave your phone! Classification happens on-device, leveraging pre-trained models. Available for Android and iOS.
thumbnail

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)
thumbnail

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?

https://ctan.org/pkg/latexdiff

Minimizing my selfhosted attack surface | Peek Read Info

Using nginx to limit the open endpoints

(Nvim) Lua for Javascripters: Spawning Processes

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.

Using Wireguard and a VPS to Bypass ISP Port Blocking and Hide Your Public IP // Selfhosted Pro

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.

pdftk - How to change (offset) page numbering in PDF - Stack Overflow
thumbnail

Ways of editing (internal) page numbering of PDFs

Pinata | Effortless IPFS File Management

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.

GitHub - isamert/jaro: a highly customizable xdg-open alternative
thumbnail

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)

GitHub - napari/napari: napari: a fast, interactive, multi-dimensional image viewer for python
thumbnail

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?)

Complete game written in an opentype font

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

mastodon statuslink

LuaTeX comes of age

Some explanation and demonstration of the power of LuaTeX (or LuaLaTeX), from 2017.

I've curated a free list of remote go jobs which all have a social / environmental impact. 500+ dev opportunities to find meaningful work, and work anywhere.
thumbnail
Node RED Programming Guide – Programming the IoT

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.

GitHub - caddyserver/caddy: Fast, multi-platform web server with automatic HTTPS
thumbnail

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)

GitHub - lovasoa/pagelabels-py: Python library to manipulate PDF page labels
thumbnail

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

GitHub - rcdailey/nextcloud-cronjob: A simple container to run cron.php in your Nextcloud docker container
thumbnail

Executes alongside nextcloud to run arbitrary shell scripts as cronjobs