infra

Personal infra

Table of Contents

TODO [B] Voice recorded notes for hands free thinking? inframycroft

CREATED: [2019-10-30]

TODO [B] [2020-07-01] Share Compose configurations between files and projects | Docker Documentation infradocker

STRT [B] attempting to overcome read-only editable packages… infrapythonpip

CREATED: [2020-12-10]
  • this works… but doesn't if setup.py is guarded with main

    import distutils.core as C; C.run_setup("setup.py", stop_after='config')
    

    could check for name == 'builtins'… but then would need to modify all files, and might not reliably work

  • can't just copy setup.py outside, because it might need .git directory for scmversion thing
    fuuck.
  • adding to easyinstall.pth works.. but need to figure out what's the base pkg directory…
  • ok, added a hacky script to infra repo

STRT [C] Koreader https://github.com/koreader/koreader infraremarkable

CREATED: [2020-08-28]
For a better PDF experience, you might want to try 'koreader'. The native PDF support on my Kobo Forma was so bad I was ready to return it, before finding this. It's an open source PDF/epub reader that you can install on Remarkable and other eInk readers. It's just an app - it doesn't replace or degrade any existing functionality.

STRT [C] Use zstd? infraexports

CREATED: [2020-01-15]

TODO [C] huh, huginn is pretty well documented and also very clean interface. could get inspiration from it… infrainspiration

CREATED: [2019-12-24]

[C] [2019-06-29] frenck/awesome-home-assistant: A curated list of amazingly awesome Home Assistant resources. infra

STRT [C] trying out podman infradockerpodman

CREATED: [2020-09-15]

apparently can't run without the default command?

podman-compose --file docker-compose.yml run --rm ghexport python3                                                                                                                                                     mc 12:02:53
Traceback (most recent call last):
  File "/home/karlicos/.local/bin/podman-compose", line 8, in <module>
    sys.exit(main())
  File "/home/karlicos/.local/lib/python3.8/site-packages/podman_compose.py", line 1093, in main
    podman_compose.run()
  File "/home/karlicos/.local/lib/python3.8/site-packages/podman_compose.py", line 624, in run
    cmd = self.commands[cmd_name]
TypeError: unhashable type: 'list'

here? https://github.com/containers/podman-compose/issues/24
can't see if they have a CI?

TODO [C] overlay mounts over read-only FS work as long there is a dir (even empty) in the src? infradocker

CREATED: [2020-10-28]

e.g. create empty nodemodules

TODO [C] it's maybe the same tag as homelab? infrahomelab

CREATED: [2020-12-06]

TODO [C] scripts to grab stuff from phone to other locations? infraphone

CREATED: [2020-12-06]

[C] [2020-07-07] When would I use docker-compose's "–service-ports" flag? - DevOps Stack Exchange infradocker

To start the service to run in the background you use docker-compose -f <FILE> up --detach but if you wanted to look inside the container using a terminal, you would run docker-compose run bash.

TODO [C] [2020-05-26] brig - decentralized & secure synchronization — brig v0.4.0-beta documentation infracloud

Simplified git version control only limited by your storage space.
Synchronization algorithm that can handle moved files and empty directories and files.
Your data does not need to be stored on the device you are currently using.
FUSE filesystem that feels like a normal sync folder.
No central server at all. Still, central architectures can be build with brig.
Gateway and Web based UI to share normal HTTP/S links with other users.
Auto-updating facility that will sync on any change.

[C] [2020-09-11] GUI, Core Update, and Dev Sync Videos! inframycroft

GUI now available on Ubuntu and Manjaro
If you have Mycroft running on the latest (K)Ubuntu or Manjaro releases, you can now install the Alpha release of the Mycroft GUI powered by Qt and Kirigami. Simply use the same basic commands used to install mycroft-core.

[C] [2020-12-20] Bridge setup with Docker · tulir/mautrix-facebook Wiki inframatrix

Upgrading
    Pull the new version (setup step 1)
    Start the new version (setup step 7)

TODO [2020-12-20] Bridge setup with Docker · tulir/mautrix-facebook Wiki inframatrix

ugh. kinda annoying it's running as root

[D] [2019-05-16] I made a self-hosted personal Last.fm alternative with support for custom artwork, multiple artists per track and self-defined rules for metadata correction /r/selfhosted inframusic

STRT [B] [2020-01-18] bb4242/sdnotify: A pure Python implementation of systemd's service notification protocol (sdnotify) – can be used for watchdog? infrasystemd

STRT [B] replace backoff with that other thing? infraarctee

CREATED: [2020-07-06]

TODO [C] backups/hypothesis/hypothesis20200705T190129Z.json is malformed. check how my infra responds to this infrapromnesia

CREATED: [2020-07-06]

[C] [2020-01-12] Deploy your side-projects at scale for basically nothing – Google Cloud Run infrahpipromnesiaproject

[2020-08-15] can deploy docker container and run? infrahpipromnesiaproject

TODO [D] figure out unmatching origin/master? always check it even without fetch?? infraclustergit

CREATED: [2018-11-27]

TODO [C] [2019-08-18] Elasticlunr.js, lightweight full-text search engine in Javascript for browser search and offline search. infrasearch

http://elasticlunr.com/
I think I'm using it in scrapyroo.. perhaps I should index all my git repos?

[C] [2019-09-01] vinta/awesome-python: A curated list of awesome Python frameworks, libraries, software and resources infrasearch

https://github.com/vinta/awesome-python

fuzzywuzzy - Fuzzy String Matching.

TODO [C] [2019-06-29] mark-rushakoff/awesome-influxdb: A curated list of awesome projects, libraries, tools, etc. related to InfluxDB https://github.com/mark-rushakoff/awesome-influxdb infra

TODO [C] compare how similar pipeline in python would look? infrahuginnideas

CREATED: [2019-12-24]

introspection is certainly way worse! dry run etc are amazing
how can we bring Python programming experience closer to this?

TODO [C] isso got some nice helper scripts like su-exec and tini infradocker

CREATED: [2020-06-15]

STRT [C] figure out how to notify from phone infraphone

CREATED: [2020-01-25]

STRT [C] [2019-09-21] Friz-zy/awesome-linux-containers: A curated list of awesome Linux Containers frameworks, libraries and software infrasandbox

https://github.com/Friz-zy/awesome-linux-containers#readme

Sandboxes
    Firejail is a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces, seccomp-bpf and Linux capabilities.

[D] [2019-06-11] compression - Difference between –xz and –lzma in GNU tar? - Unix & Linux Stack Exchange infra

https://unix.stackexchange.com/questions/72037/difference-between-xz-and-lzma-in-gnu-tar

This options control which external binary tar calls for compressing its data stream: lzma and xz respectively. While both of them uses the same compression algorithm by default, xz is considered more up-to-date and feature rich, with lzma being somewhat legacy tool. Modern version of xz-utils provides both commands, with lzma being an 'alias' for xz --format=lzma (man xz).

TODO [C] tini is used in airsonic infradocker

CREATED: [2020-08-21]

[C] [2020-03-18] remarkable: What's their portability story? I don't want my personal knowledge store to be l… | Hacker News infraremarkable

https://news.ycombinator.com/item?id=22607112

Not great, you can only officially export PDF, PNG, or SVG, though their cloud management does seem to work really well and as I understand, files are stored locally on each device once synced.
That said, it runs linux so you could conceivably backup the files yourself. You can ssh into your tablet, run sftp, w/e. But they are in some proprietary .lines format.
There's a wiki with more details (the file format stuff is further down): https://remarkablewiki.com/tech/filesystem
It may be possilbe you could hack it to run xournal, but I've no idea.

[C] [2020-06-18] Broken by default: why you should avoid most Dockerfile examples infra

If you want fast builds, you want to rely on Docker’s layer caching. But by copying in the file before running pip install, all later layers are invalidated—this image will be rebuilt from scratch every time.

[C] [2020-02-08] Haskell for all: Why Dhall advertises the absence of Turing-completeness infraconfigs

http://www.haskellforall.com/2020/01/why-dhall-advertises-absence-of-turing.html

Why Dhall advertises the absence of Turing-completeness

[C] [2020-08-22] use chronic (by default cron spams with stdout/stderr) infra

I use `chronic` in almost all of my cron jobs so that cron sends me an email with the output only if the command has a return code of != 0.

[C] [2020-01-25] tmuxinator/tmuxinator: Manage complex tmux sessions easily infra

[C] [2020-02-20] backup - Basic rsync command for bit-identical copies - Unix & Linux Stack Exchange infra

https://unix.stackexchange.com/questions/118883/basic-rsync-command-for-bit-identical-copies

So this is the basic command to make the destination identical to the source (absent hard links, ACLs and extended attributes):

rsync -a --delete SOURCE/ DESTINATION/

[C] [2020-04-19] QRCP: Transfer files to mobile device by scanning a QR code from the terminal | Hacker News infra

TODO [D] Even though Ahrens argues that there neither can nor should be any overview, I disobediently wrote another script to make an SVG image of it using GraphViz. I originally had it generating PNGs but they rapidly got too large. Here’s what the whole system looks like as of this morning: infra

CREATED: [2019-12-30]

cool!
Zettelkasten!
in context

[2020-04-05] Start all of your commands with a comma (2009) | Hacker News infra

[C] [2020-01-09] Canop/broot: A new way to see and navigate directory trees infra

[2020-04-01] Jitsi Meet: An open source alternative to Zoom | Hacker News infra

[C] [2020-10-12] jarun/nnn: n³ The unorthodox terminal file manager. infra

[D] [2020-10-05] tridactyl/tridactyl: A Vim-like interface for Firefox, inspired by Vimperator/Pentadactyl. infravim

[C] [2020-04-25] naelstrof/slop: slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout. infraexports

NixOS: slop

[2020-07-02] benefit of compose – builds automatically, so very easy to run stuff infradocker

[2020-07-01] ok, using explicit type: bind shows warning when source dir doesn't exist infradocker

[B] [2019-12-03] TLDR Digital Safety Checklist infrasecurity

[2019-07-27] shell into image docker run -it –entrypoint /bin/bash circleci/python:latest infradocker

[2019-08-24] systemd.unit infra

https://www.freedesktop.org/software/systemd/man/systemd.unit.html#

Note that systemctl reset-failed will cause the restart rate counter for a service to be flushed

[D] [2019-01-25] LTD-Beget/sprutio: Beget File Manager App (two-panel) infra

https://github.com/LTD-Beget/sprutio
holy crap, that's elaborate!

[2019-06-01] last updated 2 years ago… infra

[C] [2018-09-29] huginn/huginn: Create agents that monitor and act on your behalf. Your agents are standing by! infraselfhosted

[2018-10-05] hmm, interesting, kinda like open source ifttt. Wonder if I can come up to any decent uses? infraselfhosted

[2019-09-08] How can I add a volume to an existing Docker container? - Stack Overflow infradocker

https://stackoverflow.com/questions/28302178/how-can-i-add-a-volume-to-an-existing-docker-container

You can commit your existing container (that is create a new image from container’s changes) and then run it with your new mounts.

[2019-05-03] Nested folders - Support - Syncthing Forum infrasyncthing

https://forum.syncthing.net/t/nested-folders/11793/10

Ildar Yusupov
ildary
Jul '18
I see use case of nested folders: one folder shared with first computer and nested folder shared with second and never both folders shared with the same computer - because first folder is enough.

Jakob Borg
calmh
Syncthing Maintainer
Jul '18
Yeah, and you can do that, and it should work fine.

[2019-05-03] nice, fork syncs pretty instantaneously infrasyncthing

[2020-07-04] ok, so it's capable of catching up from a config file only (if you discard caches and certificates) infrasyncthing

[2020-03-15] wow nice command to introspect everything infrasystemddbus

gdbus introspect -r --session --dest org.freedesktop.systemd1 --object-path /org/freedesktop/systemd1

[2020-04-06] Dhall infra

It's hard to take Dhall seriously because it seems like its authors don't take it seriously, and work on it for entertainment. They went through the trouble of creating bindings for five (!!) different languages, and the most popular of them, by a pretty wide margin, is Ruby. I assume Fortran, Delphi, and Idris are next on their list.

[2020-05-04] systemd, 10 years later: a historical and technical retrospective infrasystemd

3.6. Case studies
The above may sound rather theoretical and nitpicking, so let’s illustrate with a few examples.

some good examples of systemd gotchas

ok, so syncthings seems to sync links 'as is', good infrasyncthingsymlink

CREATED: [2019-01-25]

https://github.com/syncthing/syncthing/issues/1776
so, they decided not to follow symlinks.

TODO wonder how well it works with phone? infrasyncthingsymlink

ok, so looks like the real folder synced, but the files are not on the phone. And it's showing 'out of sync'

https://github.com/syncthing/syncthing-android/issues/748 ok, it can be disabled in phone web ui

[2019-09-07] Set current host user for docker container - Faun - Medium infradocker

[2019-09-15] some ways of managing user permissions infradocker

[C] [2019-09-01] How to mount encrypted LVM logical volume infra

[D] [2020-01-29] Jorgen’s Weblog: Why systemd? infrasystemd

[2020-01-28] systemd as a tradegy infrasystemd

https://news.ycombinator.com/item?id=19023232 infrasystemd

You know, because we knew this would be controversial we made sure it was both a compile-time option and a runtime option. Yes the upstream default of both defaults to on, but that's just upstream. We made it very easy and supported for downstream distros to switch between opt-out and opt-in of this option for their users. We have encouraged distributions to leave it on, but we were fully aware that for compatibility reasons this is something downstreams likely wanted to turn off, and most compat-minded distros did, as we expected.

Now I am used to taking blame for apparently everything that every went wrong on Linux, but you might as well blame your downstream distros for this as much you want to blame us upstream about this, as it's up to them to pick the right compile-time options matching their userbase and requirements in compatibility, and if they didn't do that to your liking, then maybe you should complain to them first.

(And yes, I still consider it a weakness of UNIX that "logout" doesn't really mean "logout", but just "maybe, please, if you'd be so kind, i'd like to exit, but not quite". I mean, that's not how you build a secure system. We fixed that really, fully knowing it would depart from UNIX tradition, but that's why we made it both compile-time and runtime configurable)

[C] [2018-06-30] dropmeaword/kobo-aura-remote: Enable remote access on a Kobo Aura eReader infrakobo

[2018-09-10] Wireless gone · Issue #1 · dropmeaword/kobo-aura-remote infrakobo

[2017-08-10] mutt inframail

  • couldn't set up html colors rendering

– apparently, no automatic filtering and folders

I guess I'm better off setting retention policy for thunderbird

[D] [2020-06-13] ok, so in Caddy literally setting domain is enough for TLS. kinda incredible infra

[D] [2018-06-10] python-daemon · PyPI infra

[B] [2020-07-16] Zulip 3.0: Threaded Open Source Team Chat | Hacker News infrazulip

  • [2020-07-31] ok, Zulip is clearly really good, I think I should use it

DONE [C] [2019-12-20] 9 best open-source findings, November 2019 - DEV Community 👩‍💻👨‍💻 infradocker

https://dev.to/sobolevn/9-best-open-source-findings-november-2019-gi0

lazydocker
Minimalistic TUI to work with docker. Supports mouse.

[2020-01-18] Cron/Anacron vs. Systemd - Ask Ubuntu infra

https://askubuntu.com/questions/1023186/cron-anacron-vs-systemd

Systemd timers have some overhead to learn and setup, but provide a number of benefits. There some packages like systemd-cron and systemd-cron-next that allow you to have cron entries converted to systemd-timers, to try to provide a best-of-both-worlds solution

[2020-01-22] systemd.service infra

https://www.freedesktop.org/software/systemd/man/systemd.service.html

Type=oneshot is the implied default if neither Type= nor ExecStart= are specified.

DONE [A] [2020-02-23] Daily Life with the Offline Laptop infraoffline

[B] [2019-11-26] Is it possible to escalate privileges and escaping from a Docker container? - Information Security Stack Exchange infradocker

https://security.stackexchange.com/questions/152978/is-it-possible-to-escalate-privileges-and-escaping-from-a-docker-container/153016#153016

A user on a Docker host who has access to the docker group or privileges to sudo docker commands is effectively root (as you can do things like use docker to run a privilieged container or mount the root filesystem inside a container), which is why it's very important to control that right.

[C] [2020-04-15] My experience with NixOS | Hacker News infra

My tip: don't use nix-env to install packages like it's Aptitude or Pacman, use `nix run` if you need a package temporarily, home-manager if you need a user-level package permanently, or just straight up change the configuration.nix to include the package as a system-wide one.
If you use nix-env you're just polluting your environment in an imperative way and that is pretty much going against Nix' declarative nature.

[C] [2020-12-05] Librem 5 Mass Production Phone Has Begun Shipping | Hacker News infra

I've been trying to use the PinePhone as a daily driver and it simply isn't there yet: camera is slow to the point of unusable and sometimes it hard crashes when making calls.
Here's hoping that Purism has done a good job of cleaning up some of the issues in Phosh.

[2019-09-29] Kobonotes: Store all your annotations and highlights from your Kobo infrakobo

[D] [2019-01-25] How do I ssh into the Kobo Aura One in 2017 - MobileRead Forums infrakobo

https://www.mobileread.com/forums/showthread.php?t=286085

KoboLauncher has UsbNet tool (+new dropbear + new sftp-server from openssh)
P.S. Works with latest FW

[D] [2019-01-25] How do I ssh into the Kobo Aura One in 2017 - MobileRead Forums infrakobo

https://www.mobileread.com/forums/showthread.php?t=286085

The first way does not work with FW 4.6.9995 (or any other FW from May on). I tried it and had to do a firmware reset after it.
The 2nd way seems to be no better as the author states himself.
The reason seems to be that the inittab way doesn't seem to work anymore.
Does anyone have a KoboRoot.tgz or start script for (k)filemon stat starts dropbear along with WiFi?

CANCEL [2018-10-22] robbinch/kobo-utils: SSH client for Kobo Aura One infrakobo

[2019-02-09] eh.. perhaps not worth the trouble infrakobo

[B] [2018-09-04] prefer xz over lzma (recommended by the author) infra

[D] [2020-01-07] chkservice Is A systemd Unit Manager With A Terminal User Interface (New Version Available) - Linux Uprising Blog infradronsystemd

[2020-01-16] eh, not too useful when it's 600 services? Also can only enable/disable via interface infradronsystemd

[D] [2020-01-07] serman infrasystemd

[2020-12-29] The fastest way to integrate APIs and run code - Pipedream infra

huh this is interesting… like hugginn but can write JS?

TODO [C] [2020-11-02] The Most Personal Device experiment infra

TODO [C] [2020-12-05] RSS-Bridge/rss-bridge: The RSS feed for websites missing it infrarss

[2020-12-30] indygreg/python-zstandard Request New open() method (#64) infrahpi

TODO [C] [2020-11-28] How to start a stopped Docker container with a different command? - Stack Overflow infradocker

docker commit $CONTAINER_ID user/test_image

ugh. add a script for it?

[C] [2020-11-27] Execute a command after run · Issue #1809 · docker/compose infra

ugh, very annoying that there is no way to setup something…

[C] [2020-06-01] DIYgod/RSSHub: 🍰 Everything is RSSible infrarss

[C] [2020-10-25] Projects · Jean-Francois Dockes / recoll-webui · GitLab infrarecoll

STRT [B] Yeah, def need interactive diagram explaining my infra and linking different posts. That will make the whole thing easier for other people to comprehend infratoblog

CREATED: [2020-01-02]

[2021-01-24] eh, I suppose it's time to just post it? infratoblog

[C] write about my desktop environment? infratoblog

CREATED: [2019-09-05]

TODO [C] about my cgit thing; how I manage public and private dotfiles; symlink frendliness; tokens; nginx infratoblogdotfilessetup

CREATED: [2018-11-22]

TODO [D] post about vim keybindings infravimtoblog

CREATED: [2019-09-05]

STRT [C] Describe my current setup and what could be improved infratoblogsetupexports

CREATED: [2019-12-25]

E.g. dashboard for token refreshing that stores then in files

TODO [C] [2019-12-01] inspiration: people Describing Their Hardware/Software Setup https://karl-voit.at/other-peoples-IT-setup/ infrasetuptoblog

DONE [C] [2020-04-16] GNU Guix 1.1.0 released | Lobsters infra

video (50m) fosdem talk Guix: Unifying provisioning, deployment, and package management in the age of containers

  • [2021-01-24] hmm so it has --container mode, nice

TODO [D] how to organize your filesystem, cloud sync & backups? infratoblog

CREATED: [2020-03-13]

scheck, dangling etc

TODO [C] cloud heartbeat thing for syncthing/dropbox? infracloud

the quicker you notice, the better because conflict resolution sucks

[2019-09-29] on few occasions I had infracloud

[2019-09-29] android power settings might mess infracloud

TODO [C] Release my heartbeat thing? For phone and desktop Could work for both Dropbox and synching infracloud

CREATED: [2019-09-05]

E.g. systemd has no graphical indication if something crashed

[2019-09-06] also could post somewhere? maybe on selfhosted infracloud

[2019-09-06] make sure there is nothing existing? infracloud

TODO [C] [2019-11-07] lab notebook // thoughts and notes infrasetup

http://joshmontague.com/

The Setup
My version of The Setup, a post about how I get things done.

STRT [C] Wrote a blog post on my current setup of applications/services that I am using. infratoblog

STRT how to tell people about my way of handling personal data (yielding exceptions, being defensive etc) infratoblogexports

CREATED: [2019-04-09]

TODO [C] Heartbeat for syncthing? infracloudtoblog

CREATED: [2018-10-24]

TODO [C] [2019-12-12] aesadde | My Personal Filesystem infrapkmsetup

[2019-12-18] ok, nothing too crazy, but good example of setup infrapkmsetup

STRT [C] What's next? infratoblog

CREATED: [2020-01-07]

Find a way to simplify and make it more effecient.

TODO [C] syncthing paranoid: nodemodules, rust dirs etc? infracloud

CREATED: [2019-11-23]

STRT [D] make beat and check mutually exclusive infraclouddron

CREATED: [2020-01-25]

WAIT [D] separate disk intensive jobs (maybe via systemd resources/tags?) infradron

CREATED: [2018-11-09]

[C] [2020-01-26] systemd.service https://www.freedesktop.org/software/systemd/man/systemd.service.html infra

If set to simple (the default if ExecStart= is specified but neither Type= nor BusName= are),

TODO [C] Write about random bitsof my infra but in more detail infratobloghpi

CREATED: [2020-02-11]

[2020-02-14] eh? infratobloghpi

TODO [C] extracting pipeline in an external script allows to reuse CI config (because they are so fucking hard to get right, you want to copy paste) infraciconfigs

CREATED: [2020-04-17]

TODO [C] [2020-12-22] jessfraz/dockerfiles: Various Dockerfiles I use on the desktop and on servers. infra

TODO [C] [2020-12-22] justin-vanwinkle/Docker-GUI-Example: An example of how run GUI apps with Docker. infra

TODO [D] [2019-12-30] Lazydocker: a terminal GUI for Docker | Hacker News https://news.ycombinator.com/item?id=20315973 infradocker

sandGorgon 6 months ago [-]
There is also Dry - https://moncho.github.io/dry/
The best part about dry is using it through docker itself.
PikachuEXE 6 months ago [-]
Oh thanks for sharing! I found this one more "mature"

[D] [2020-05-11] Pi-hole 5.0 | Hacker News infra

The default way would be to install the package unattendedupgrade which will install security updates on your system every day.

[D] [2020-09-01] Htop 3.0 | Hacker News infra

- docker stats (htop equivalent for docker containers)

[D] [2020-11-04] pwaller/docker-show-context: Show where time is wasted during the context upload of `docker build` infra

My infrastructure diagram inframyinfra

TODO [B] feels like need to merge together block with export layer and storage inframyinfra

CREATED: [2021-02-03]

still can use labels via html tables?… ugh
or maybe put them in clusters? so they are aligned vertically

TODO [C] incomplete, too much; typical usecases inframyinfratoblog

CREATED: [2021-02-05]

TODO [C] mark stuff I'm using/abandoned inframyinfra

CREATED: [2021-02-04]

TODO [C] could add browser before reddit/telegra/twitter etc? and also phone? inframyinfra

CREATED: [2021-02-04]

TODO [C] ugh. def need js highlight or something inframyinfra

CREATED: [2021-02-02]

TODO [C] sync paranoid – detect rust/python/etc infracloud

CREATED: [2021-02-08]

generally 'big directories with binaries/object files'?

[2021-01-08] ddvk/remarkable-hacks: additional functionality via binary patching infra

[C] [2021-02-15] Scoop infrawindows

TODO [B] [2021-02-20] My Life in E-ink :: Rohit Goswami — Reflections infra

TODO [C] [2021-02-20] pdf - How to install KOReader on Kobo Aura ONE - Ebooks Stack Exchange infra

[C] [2021-02-24] Setting up a mail server using Postfix in 5 minutes — Rudd-O.com infra

TODO [C] [2021-02-20] Installation on ReMarkable · koreader/koreader Wiki infraremarkable

TODO [C] [2021-02-20] My Life in E-ink :: Rohit Goswami — Reflections infrakobo

Koreader is probably the best thing to happen to e-ink devices since sliced bread. It replaces the need to use any cables with an e-reader; since newer versions have a nice SSH server, and can also update itself.

[C] [2021-02-09] #💪-v1-self-hosted infracloud

2) Another is to use a filesync service like Syncthing/Dropbox (no server), and append all transactions to a log file or directory. Then sync and recreate the db from these transaction logs

[C] [2020-06-07] Similar projects · AppImage/AppImageKit Wiki infra

[C] [2021-03-15] torfsen/python-systemd-tutorial: A tutorial for writing a systemd service in Python infrasystemd

systemd.daemon.notify('READY=1')

[C] [2021-04-03] Lingon - Peter Borg Apps infra

launchd frontend?

[C] [2021-04-09] Guix is definitely a cleaner implementation (coherent cli tooling, way better ma… | Hacker News infranixguix

Guix is definitely a cleaner implementation (coherent cli tooling, way better manual, not a custom, oddball language, ...).
But:
* if Nix is already very niche, Guix is the niche of a niche. The ecosystem is tiny in comparison.
* The Nix interpreter isn't exactly fast, but Guix (with it's scheme) was significantly worse for me, even in relatively small tests
* The hard stance on open source requirements is understandable, given the projects origin, but it will severely hinder adoption. No, I don't want to package every commercial app I need myself. nixpkgs has almost everything.

TODO [B] [2021-03-13] tfeldmann/organize: The file management automation tool. infra

[C] [2021-04-14] ugh fuck infranixdocker

tried running

docker run --rm --user 1000:1000 -it nixos/nix /bin/sh

but then it can't find nix-env. ugh – fuckitfuckitfuckit

[B] [2020-11-27] Evidlo/remarkableentware: Entware installer modified for reMarkable Tablet infraremarkable

tool to install packages on remarkable

[B] [2021-04-29] Installing remux, KOReader on the ReMarkable 2 – Megan Walker's Blog infraremarkable

ok, really good guide

  • update remarkable
  • ssh onto it
  • follow toltec install https://github.com/toltec-dev/toltec#install-it
  • opkg install rm2fb
  • opkg install remux # launcher
    systemctl enable –now remux
    swipe up (on the right edge!), should show the menu
  • opkg install koreader
  • Create a file home/root.config/draft/02-koreader with the following contents
    not sure if really that necessary?

    name=koreader
    desc=Ebook reader
    call=/opt/koreader/koreader.sh
    term=;
    
  • congratulations, you are done!
Note that when a ReMarkable system update occurs you will likely need to re-run the systemctl enable --now remux command. I think this should be the only command needed to re-run, but I don’t have a system update to install to validate that.

[C] [2021-04-29] toltec-dev/toltec: Community-maintained repository of free software for the reMarkable tablet. infrasetupremarkable

[C] [2021-05-02] syncthing-faq(7) — syncthing — Debian testing — Debian Manpages infrasyncthing

HOW DO I RENAME/MOVE A SYNCED FOLDER?An alternative way is to shut down Syncthing, move the folder on disk (including the .stfolder marker), edit the path directly in config.xml in the configuration folder (see config) and then start Syncthing again.

ok this works great

[C] testing LAN bandwidth infranetwork

sudo apt install iperf
iperf -s on server
iperf -c ip on client

[C] scan interfaces to see which speeds are supported infranetwork

iwlist wlp3s0 scanning | less

TODO [D] [2018-11-09] b0o/surfingkeys-conf: A custom SurfingKeys configuration which adds some nice features infrasetupvim

[C] [2020-12-01] You have probably tried it in 4.0 days. Plasma 5 is nowadays actually one of th… | Hacker News infrakde

You have probably tried it in 4.0 days. Plasma 5 is nowadays actually one of the lightweight ones and it is very fast. Especially when you consider how many features/flexibility it has compared to other lightweight desktops.
  • [2021-05-08] ok it actually is surprisingly snappy even with all the animations etc

[C] [2021-05-14] It does not support [0] (i.e. loses) extended attributes even between systems th… | Hacker News infrasyncthing

It does not support [0] (i.e. loses) extended attributes even between systems that share support for them, which in the case of macOS means no support for Finder tags, custom icons, legacy Mac fonts and countless other Mac features, maybe niche to most, but still important to those that make use of them. AFAIK it is not even in the roadmap.

[B] [2021-01-21] I can't recommend Jellyfin enough. It works remarkably well! https://jellyfin.o… | Hacker News inframedia

I can't recommend Jellyfin enough. It works remarkably well!
https://jellyfin.org

[C] [2019-06-01] crontabs are present in /var/spool/cron/crontabs/$USER however for some reason user doesn't have permissions to read them and infraconfig

for crontab it contains some non-printable characters as well. also for dconf and gconf there are no config files even, they are all binary
so overall easier to have a virtual 'view' onto these configs

[C] [2020-06-30] Pyinfra – automate infrastructure super fast at scale | Hacker News infraconfigs

Ansible is a great system, with a terrible DSL.
YAML is not a programming language, and deployment is not a toy task. You need power.
The result is that ansible has pushed a markup language to its limit, then pushed the templating engine used in it to its limit too. Then used a bunch of duck tape + conventions to glue everything and ended up with 10% of an unclean verbose unexpressive real programming language with ridiculous limited tooling, testability and had to document + support it.
As with most DSL.
For what? For the quest of having something "declarative", and that any language could read.
Well you can have declarative API written in any language, and nobody except ansible ever read playbooks.
In the end, it's just a big weight at the ankle. I never ever used it and though, "damn, what a pleasant tech choice, I'm happy they didn't directly expose the API through Python".
It's the same reason I use "nox" and not "tox", or "doit" and not "make". DSL really seem like a great idea, but they fail most of the time. There is a reason only few of them - like SQL, CSS or regex patterns - became a success. 99% of the time, what you need is a good lib, with a well designed API. For the 0.9% of the time you do need multi-language communication, you may implement RPC. Then, only for the 0.01% case should you really consider a DSL.
But we geek love to create DSL. They are fun to write! They are so elegant in tutorials!

[C] [2020-07-01] XDG Base Directory - ArchWiki infradotfiles

Jump to search, settings & sitemap