Weekly Shaarli

All links of one week in a single page.

Week 10 (March 8, 2021)

Better Nextcloud Photos experience
thumbnail

Generate nice previews for your nextcloud photos, and sort them automatically by date

Inserting calendar events to Nextcloud Cal through cURL

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.

GitHub - scrapinghub/dateparser: python parser for human readable dates
thumbnail

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.

GitHub - franciscop/picnic: A beautiful CSS library to kickstart your projects
thumbnail

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.

How to Build Command Line Interfaces in Python With argparse
thumbnail

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)

Pybtex!

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.

How do you set up a local testing server? - Learn web development | MDN

# 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

Dig Command in Linux (DNS Lookup)
thumbnail

In-depth explanation of using the dig command in Linux.

Shows examples, grabbing dns, authoritative nameservers, etc.

How to manipulate strings in bash

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.

The True Size of Africa

A map visualization working against the Mercator projection bias of Africa's immense size.

GitHub - ickc/pancritic: using criticmarkup in the pandoc markdown source
thumbnail

Pandoc preprocessor/wrapper to consume, display, merge and diff criticmarkup (i.e. track changes mode).

GitHub - alexherbo2/chronic: A natural language date-time parser for the command-line
thumbnail

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.

GyShiDo — The Art of Getting Your Shit Done (A Productivity Manifesto)
thumbnail

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.

Mark E-mails in Mutt as Tasks in Taskwarrior
thumbnail

Using pipe2 functionality, could presumably be adapted for newsboat, aerc, etc.

GitHub - picocss/pico: Graceful & Minimal CSS design system in pure semantic HTML
thumbnail

Graceful & Minimal CSS design system in pure semantic HTML - picocss/pico

GitHub - browserpass/browserpass-extension: Browserpass web extension
thumbnail

Browserpass web extension. Contribute to browserpass/browserpass-extension development by creating an account on GitHub.

Using task-spooler to queue experiments on Linux

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.

Python Generators

Extensive explanation of generators in python (yield, etc.) with examples on top

An Illustrated Guide to OAuth and OpenID Connect | Okta Developer
thumbnail

An illustrated guide to explain OAuth and OpenID Connect!

GitHub - tj/go-naturaldate: Natural date/time parsing for Go.
thumbnail

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.

Mutant Standard

"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.

GitHub - ngirard/lolcate-rs: Lolcate -- A comically fast way of indexing and querying your filesystem. Replaces locate / mlocate / updatedb. Written in Rust.
thumbnail

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.

How to install and configure Dropbear on Linux - LinuxConfig.org

Setting up dropbear, especially to only take public ssh keys instead of password authentication.

Enabling ssh public key authorization in dropbear

Dropbear does not support ED25519 keys. It will simply ignore them in the keyfile.

GitHub - gcgarner/IOTstack: docker stack for getting started on IOT on the Raspberry PI
thumbnail

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

TuxURLs – World's simplest Linux news aggregator
thumbnail

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.