May 2023

2023-05-23 09:55 (2 years ago)
Using Host SSH Key in Docker Build

Use the host SSH key in Docker build to access private repos. Combine `DOCKER_BUILDKIT=1` and `--mount=type=ssh` with `StrictHostKeyChecking=no`.

2023-05-18 00:31 (3 years ago)
Setting and Retrieving AUTO_INCREMENT Values in MySQL

When setting or retrieving the auto_increment value for a table in MySQL, starting from MySQL 8, information_schema is cached. As a result, retrieving AUTO_INCREMENT consecutively may yield outdated values. This article discusses countermeasures for such situations.

2023-05-14 03:09 (3 years ago)
Since BitLocker decryption key files are in UTF-16, they cannot be searched with grep -R, so use a script to search.

Build a Chromium kiosk for web signage on an OrangePi Zero 2W — OS install, Wayland setup, and auto-start configuration.

2023-05-11 10:37 (3 years ago)
対応方法 for failing to install mysqlclient on m2 Mac with ld: library not found for -lzlib

When you encounter the error "library not found for -lzlib" while trying to run `pip install mysqlclient` on an M2 Mac, setting the environment variables `MYSQLCLIENT_LDFLAGS` and `MYSQLCLIENT_CFLAGS` can help resolve the issue.

2023-05-03 02:47 (3 years ago)
Writing TextToSpeech in Browser Using Async Function

Run a web signage kiosk on a Raspberry Pi with Playwright + Chromium — Python script and systemd unit example.

Categories

Archive