From 459a48f299c188bbfc024fe14657e3d4802a0b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 19 Sep 2021 14:53:31 +0200 Subject: src: September sync --- README.md | 19 +++++++++++++++++++ bin/picc | 9 +++++++++ src/b/2021-09-status.md | 43 +++++++++++++++++++++++++++++++++++++++++++ src/style/style.css | 8 +++++--- 4 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 README.md create mode 100755 bin/picc create mode 100644 src/b/2021-09-status.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..4d1f057 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +## Images + +## Storing images + +Any image files (.png, .jpg, .gif, ...) MUST be stored in a separate branch. By +default, those filetypes are ignored in this git repository, and must be added +with `git add -f "${file}"`. + +### Generating images + +All images in the *out* or the *intermediate* directory must be processed with +the following command: + +``` +convert "${in}" -resize 600x -ordered-dither 3x3 -colorspace gray "${out}" +convert "${in}" -resize 600x -ordered-dither 3x3 -colors 16 "${out}" +``` + +- The use of `-colors 16` is encouraged for colored pictures. diff --git a/bin/picc b/bin/picc new file mode 100755 index 0000000..f25d6d9 --- /dev/null +++ b/bin/picc @@ -0,0 +1,9 @@ +#!/bin/sh + +set -xe + +[ ! -f "${1}" ] +[ -f "${2}" ] +[ -n "${3}" ] + +convert "${2}" -dither Riemersma -colors 16 "${3}" diff --git a/src/b/2021-09-status.md b/src/b/2021-09-status.md new file mode 100644 index 0000000..f6f70eb --- /dev/null +++ b/src/b/2021-09-status.md @@ -0,0 +1,43 @@ +title: Status update, September 2021 +date: 2021-09-19 + +## Analog + +Lately, I have started to (re) discover the joy of using analog tools and +supports: + +- pen and paper +- post-it wall +- film photography +- old poetry books from the 19th century + +Actually, I plan to develop my negatives with [caffenole]. + +Unfortunately, I have delayed a bunch of tasks, such as regular posts and +infrastructure maintenance. In fact, I have decided to redirect a significant +amount of my free-time into *analog activities*, *sports* and *social events*. + +## Suckless browsing + +I have recently introduced new greasemonkey scripts and sensible default for my +qutebrowser usage. + +*Youtube* has been entirely banned, mostly because of its toxic recommendations +and feeds. I have spent too much time consuming mindless content. Every video +or channel I want to watch is now automatically redirected to [yewtu.be]. + +Such as *youtube*, I have configured automatic redirection to [teddit], +[nitter] and [bibliogram] for *reddit*, *twitter*, *instagram*. The [teddit +frontend] is handy for browsing and reading solutions for software development +or random stuff. The [nitter frontend] and [bibliogram frontend] are mostly +used as a dumb, lightweight frontend when reading blog posts with hyperlinks +redirecting to social media. + +[caffenole]: https://en.wikipedia.org/wiki/Caffenol +[yewtu.be]: https://yewtu.be +[teddit]: https://teddit.net +[teddit frontend]: https://codeberg.org/teddit/teddit +[nitter]: https://nitter.net +[nitter frontend]: https://github.com/zedeus/nitter +[bibliogram]: https://bibliogram.art +[bibliogram frontend]: https://sr.ht/~cadence/bibliogram/ diff --git a/src/style/style.css b/src/style/style.css index 4770d2d..ced8573 100644 --- a/src/style/style.css +++ b/src/style/style.css @@ -60,9 +60,6 @@ table th, table td { margin: 0; overflow: hidden; } -table td.boolean { - text-justify: right; -} table tr:hover { background-color: #eeeeee; } @@ -72,6 +69,10 @@ pre { overflow: auto; } +p, ul li { + line-height: 1.5em; +} + p code { background-color: #cccccc; font-style: italic; @@ -93,6 +94,7 @@ blockquote p { footer { margin-top: 16em; } + footer blockquote { margin-inline-start: 0; } -- cgit v1.2.3