Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Prettier is a JavaScript-based formatter that I use for this very site’s codebase, since it is quite extensible and can handle a wide variety of formats.
-
While reporting a bug to a project which was failing to run on my server, I had to go and dig up the systemd logs for it from ~18 hours ago which had since been buried by normal runtime logs (I had worked around the issue).
-
I received a bug report today from a user of Claw, my Android app for the Lobsters microblogging community.
-
While trying to share a Grafana dashboard today I saw an unfamiliar option: Publish to snapshots.raintank.io which led me to a small goose chase.
-
You can filter for things like file names using the --filter option in gallery-dl which takes a Python expression. gallery-dl <URL> --filter "'Thing' in filename" is a valid filter, but I couldn’t find a definitive resource for all supported fields.
-
I came across a Fediverse post today mentioning the Pac-Man rule being encouraged at PyCon and was pleasantly surprised by how such a small change can alter the dynamic of being in an intimidating conference setting.
-
I’ve complained many a times about how I find KOReader to be incredibly feature-full but quite difficult on the eyes, which resulted in me only using it to access Miniflux on occasion and sticking to the regular Kobo software for reading my books.
-
I use DuckDuckGo Email Protection for my accounts in a lot of places, one of which happened to be a credit card company.
-
Discovered send.djazz.se via a Reddit comment that greatly simplifies sending eBooks to a Kobo in the absence of a computer to run Calibre on.
-
Version 9.0.0 of the Android Gradle Plugin brings in a lot of breaking changes, most of which are documented with clear upgrade paths except the fact that Kotlin Multiplatform libraries now ship their Android artifacts without consumer keep rules included.
-
Following up on my Mastodon post about wanting to start doing week notes, inspired by Ankur and Abhinav, here’s the quick rundown of how I supplemented my existing Obsidian journal to facilitate the new endeavor.
-
On all my machines I have cat aliased to bat which prints text with nice formatting and layout.
-
I’m having transitive network issues on one of my servers so I had to move out one of my services from the machine to a different one, which also involved transferring a Postgres database.
-
I wish I had the session transcript to share for this but OpenCode doesn’t show my old session anymore so I can’t share it.
-
TL;DR: nix flake archive --json | jq -r '.inputs[].path' | xargs nix --verbose copy --to ssh://user@host Due to unfortunate circumstances my homelab server is running on a relatively slow internet connection while I’m at home.
-
I keep rediscovering that Postgres uses the system locale and timezone database, despite having read other people’s woes.
-
New section woo!
-
Google Wallet lets you add passes via image, so rather than try to share a PDF with it you can take a screenshot and share that to the app instead.
-
Git has the capability to revert only specific hunks of a commit using the git checkout --patch command.
-
Oracle cloud doesn’t enable any ports other than SSH by default, which somehow doesn’t affect any Tailscale services but breaks the ability to negotiate a TLS certificate over ports 80 and 443.
-
Let’s Debug provides a way to test if your domain is set up to correctly answer Let’s Encrypt challenges.
-
Finally managed to find a workaround for the Rust problem I was having with cargo publish picking up files from my gitignore-d .direnv directory and complaining about them being uncommitted.
-
Grafana has a helper in its config files called $__file{/path/to/file} that will read the file at runtime, making it easier to configure secrets via Nix.
-
GitLab CI pipelines can be executed locally using firecow/gitlab-ci-local This used to be a first party feature within the official gitlab-runner binary but they deleted it citing maintenance burden.
-
SDKMAN can symlink existing Java installations into its own managed thing so we can have the best of both worlds by installing Java from Homebrew but managing the JAVA_HOME with SDKMAN.
-
Hades and Hades_2 are written mostly in Lua and all the code is left as-is in the game which makes modding significantly simpler.
-
After a GNOME related NixOS rebuild sometimes the secret store starts erroring out with this message: No such secret item at path: /org/freedesktop/secrets/collection/login/145 This is resolved by restarting the gnome-keyring-daemon using the command gnom…
-
Git credential helpers work via writing and reading from standard input and standard output which helped me debug an issue I was having with pass-git-helper.
-
You can run systemctl show servicename.service to get the “final” version of your systemd service file, including all overrides which would typically be loaded dynamically by systemd itself and not visible in the actual unit file.
-
In Helldivers 2 you can cause the Pelican to launch itself in the air upside down by calling in a support weapon right under the wing.
-
Plausible writes error logs only into its Postgres database.
-
Apple error codes are indexed at https://osstatus.com, searchable by hex, long, and string representation.
-
GNOME does not have support to move partitions around.
-
The default Material3 Scaffold component adds the height of the bottomBar parameter to the inner padding which resulted in the issues I was having with the floating navigation bar.
-
You can use touch -r old new to copy the timestamp of an older file in a newly created file.
-
NixOS has a module option in systemd-boot that automatically configures boot entries for Windows without requiring me to copy over the EFI folder [ref]
-
Miniflux requires setting up individual credentials for each integration, and the password can not be the same as your normal account password.
-
FFmpeg has support for concatenating files with no re-encoding file_list.txt file 'source1.mp4' file 'source2.mp4' $ ffmpeg -f concat -safe 0 -i file_list.txt -c copy output.mp4
-
FFmpeg lets you mix videos together from different sources based on a zero-indexed map of input files.
-
In a Nix REPL you can run :bl inputs.nixpkgs.legacyPackages.aarch64-linux.pkgs.attic-server to build the derivation and create a result link.