RSS Amplifier

Blog

Justus Perlwitz

Recent posts on Justus Perlwitz

justus.pwSource feed ↗10 posts

Live Last read · last published · next check

Written by

Latest posts

Generate Nix binary caches without nix copy

Here's how to create a Nix binary cache from a derivation's closure within a Nix derivation. Since you can't run nix commands within derivations, this can be useful for including a build closure within an installation medium, such as when performing a NixOS offline installation. This method uses the binary-cache function in the nixpkgs repository. Create the following flake.nix Nix flake file in a…

Using Japanese banks while renewing your visa

I'm currently renewing my visa (residence permit, 在留許可) in Japan. While I've submitted my application 3 months ahead of its expiry, the Immigration Services Agency (出入国在留管理庁) appears to be overwhelmed with applications. This post reflects my personal experiences and does not contain any form of legal or financial advice. This is the closest I've felt to becoming "unbankable" especially since I'm…

Can uBlock Origin block WebRTC?

Do you loathe online banking as much as I do? Does your bank make online banking more cumbersome each week in the name of "combating fraud" and "staying compliant" with anti-money laundering and counter terrorist financing laws? Have you ever looked under online banking's hood? Here's an example from a bank that I use in Japan to pay for life necessities and to keep a roof over my head. When…

Jump between pytest errors with Vim's QuickFix

Here's how you can use the Vim and Neovim QuickFix feature to conveniently jump between pytest errors without leaving your editor. Imagine you're running pytest in your Django project and are testing your project with pytest-django . You've recently changed how your view code works and use the django_assert_num_queries fixture. Pytest output Here's an abbreviated example of what pytest outputs…

Koriander CMS roadmap

This page contains features and fixes that I'm planning to implement for Koriander CMS : Content management Improve first start onboarding experience Validate fragment-level references Create page templates, similar to Hugo archetypes Make Koriander better suited for multi user editing Make it easier to import and export Koriander databases Support editing multiple Koriander sites on the same…

Similar Kanji, 衣脚 edition

哀 喪 衷 畏 next to each other in a grid Four Chinese characters that I regularly confuse have a 衣 radical at the bottom (ja: したごろも). The radical 衣 on its own signifies something related to clothing. The four characters have nothing to do with clothing, though. Here are the characters and some Japanese example sentences: 哀: 哀れなやつだ - what a poor fellow! 1 喪: 資格を喪失した - someone lost their qualification 2…

Create your first Koriander CMS site

Here's how to make your first page in Koriander CMS. Install Koriander CMS Install Koriander CMS on your computer using pipx . Install pipx using the official pipx installation instructions . Open a terminal on your computer and make sure that you can run pipx . Type the following command and press the Enter key: pipx --version pipx version on the author's computer Open in new tab (full image size…

Cybersecurity by the book

Credit: Oscar alexander CC-BY-SA-3.0 https://creativecommons.org/licenses/by-sa/3.0/deed.en Consider this past question from an "ethical hacking" certification posted on itexamanswers.net : 1 Which threat actor term describes a well-funded and motivated group that will use the latest attack techniques for financial gain? hacktivist state-sponsored attacker organized crime insider threat The…

How to install MediaWiki on Debian 13

Here's how to install MediaWiki on a desktop computer running Debian 13 (Trixie) . These instructions are partially based on the Running MediaWiki on Debian or Ubuntu instructions from the MediaWiki Wiki . I've extended these instructions to show you how to configure MediaWiki to use SQLite 1 and create your first page. I've tested these instructions on a Debian 13 VM with Gnome on UTM on macOS…

Koriander: now on PyPI

Koriander CMS on PyPI Open in new tab (full image size 81 KiB) Try installing Koriander CMS from PyPI. All you need to run is the following, provided that you've installed pipx : pipx install koriander You can use Koriander CMS in your terminal with the koriander command. For example, to access Koriander CMS in your browser and create or edit new pages, use the following command: koriander serve…