Nginx based LRU cache for Music Player Daemon for WebDAV storage

This article provides a technical guide for configuring an Nginx based Least Recently Used (LRU) cache for Music Player Daemon (MPD) instances that utilize WebDAV for music storage. This architecture facilitates offline music playback, allowing access to cached tracks even when the WebDAV storage is inaccessible.

Read More

Forward an IP address between OpenBSD via WireGuard

This brief article provides a footnote on the configuration of an OpenBSD machine with two IPv4 addresses: 1.2.3.4/24 and 1.2.4.5/24. In this configuration, 1.2.3.4/24 is utilized as the machine’s address and a point for the tunnel, and 1.2.4.5/24 is forwarded to the remote machine within a dedicated routing domain. Furthermore, the machine in question has an IPv6 network aaaa:bbbb:cccc::/128. One address, aaaa:bbbb:cccc::eeee:ffff/64, is utilized inside the tunnel, while aaaa:bbbb:cccc::1/64 is used on the machine.

Read More

Using GitHub Actions as a Temporary Shell

This article provides a straightforward method for utilizing GitHub actions to create a temporary SSH shell that can be used for testing on different platforms. The conclusion of this article includes a security concern regarding this technique.

Read More

Integrating Remote email2rss into macOS

This article provides a guide for creating an AppleScript that registers as the default handler for the feed URI scheme on a local machine. The script forwards all URIs to a remote instance and registers it into rss2email. It also contains some useful notes about running rss2email on remote host.

Read More

Installing macOS 10.6 Snow Leopard in Virtual Machines

VMware and Parallels support macOS 10.6 Snow Leopard virtualization, though both restrict this capability to Server editions; however, differences between Server and Desktop variants remain minimal, permitting straightforward installation from retail media through simple image modification.

Read More

Enforcing DNS-over-TLS on Local DNS Resolver with Random Upstream

This article provides a guide for installing a local DNS resolver that enforces DNS-over-TLS to a randomly selected publicly available upstream server. The setup described respects DNS response consistency by enforcing DNSSEC if it is supported by the DNS zone, encrypts DNS traffic, and uses DNS servers from different providers. The second section of this article addresses the question of privacy.

Read More

Low Latency Atomic Operations for JVM

This article presents an implementation of atomic operations optimized for low latency in multithreaded JVM environments. The implementation achieves approximately 2x lower latency under high concurrency through adaptive backoff mechanisms in compare and swap loops.

Read More