Weekly Shaarli
Week 10 (March 8, 2021)
Generate nice previews for your nextcloud photos, and sort them automatically by date
Uses an .ics
file (or a simulated file, through a HEREDOC, see solutions here ) to send it through curl as a data stream and thus bring it into Nextcloud.
Written in python and intended for web scraping.
What's really nice is that is supports a lot of languages (english, french, spanish, russian, german, etc) without any need for switching in code.
Small (10kb gzip) css framework.
Describing itself as invasive, i.e. hard to drop into an existing project - but very easy to integrate into new ones.
Looks fun and light-weight.
Simple introduction to a bunch of argparse options, letting you create nice python cli applications pretty quickly (and more importantly rather painlessly, once you get used to it)
Python bindings for bibtex.
Can be used either as a cmdline replacement for bibtex, or, more practically, as a python library to parse and interact with bib files.
Careful, however, since some mention that it rewrites, and sometimes messes up? Still have to investigate before letting it loose on my actual bibtex libraries.
# If Python version returned above is 3.X
python3 -m http.server
# On windows try "python" instead of "python3", or "py -3"
# If Python version returned above is 2.X
python -m SimpleHTTPServer
In-depth explanation of using the dig
command in Linux.
Shows examples, grabbing dns, authoritative nameservers, etc.
This bash tutorial presents a comprehensive list of useful string manipulation tips for bash scripting.
Bash-only, but really useful to avoid using sed or similar external programs.
A map visualization working against the Mercator projection bias of Africa's immense size.
Pandoc preprocessor/wrapper to consume, display, merge and diff criticmarkup (i.e. track changes mode).
Simple date-time parser, with nice unix-y philosophy.
Demo shows how it can be integrated into e.g. vim workflow for switching between different representations of dates,
and moving dates up, creating diaries with hundreds of entries, etc.
Funny little website which, while taking itself not too seriously, contains some good advice.
7 principles of getting stuff done - following something similar to the pareto principle, deep-work ideas, and so on.
Using pipe2 functionality, could presumably be adapted for newsboat, aerc, etc.
Graceful & Minimal CSS design system in pure semantic HTML - picocss/pico
Browserpass web extension. Contribute to browserpass/browserpass-extension development by creating an account on GitHub.
In this post, I’ll introduce you to task-spooler (“ts” for short), a Linux program that lets you queue tasks to be executed either sequentially or in parallel, according to a user-defined number of slots.
Extensive explanation of generators in python (yield
, etc.) with examples on top
An illustrated guide to explain OAuth and OpenID Connect!
date-time parser for go. Similar to dateparse for python, just for Go - and I'm not sure if it supports as many natural formats, or languages.
"A new kind of emoji set. Mutant Standard breaks the traditional conventions of emoji to give you more inclusivity, choice and freedom."
Really nice and clear emoji set.
locate replacement, intended to be used in scripts etc
Could be a really nice all-round commandline solution for any time you need to build a database of stuff.
Got a lot of pdf files to read? Got music files? Videos? dotfiles? index anything and locate it later.
Setting up dropbear, especially to only take public ssh keys instead of password authentication.
Dropbear does not support ED25519 keys. It will simply ignore them in the keyfile.
Ready-made stack with installation scripts, making use of docker to install a fully working and nicely integrated stack of containers on your Pi.
Adds additional niceties (like turning off swap, writing logs to memory) that improve Pi performance (and life-time of SD cards) - most of which can be adapted reading through the source.
Especially interesting for things like NodeRED which are not just interesting for IOT.
NEW Stack migrated here: https://github.com/SensorsIot/IOTstack
Read Linux news from the most popular Linux websites in one place.
Accumulation of linux sources from all over the web.
Unfortunately not customizable, but a good starting off point to find some addresses to point your RSS reader to.