July 2023

2023-07-20 11:48 (2 years ago)
Sleep after the second loop in a shell script

When processing redundant items one by one in sequence, to ensure not to process everything at once, you can use a sleep function after the second loop iteration and onwards.

cssiOS
2023-07-16 11:02 (2 years ago)
Get the Effective Height and Width of the Browser When the Software Keyboard Appears in iOS Safari and Adjust the Layout

When compiling a Python C extension (.pyd / .so) fails due to a Python version mismatch, how to detect and switch to a compatible interpreter.

kubernetes
2023-07-03 02:04 (2 years ago)
I reinstalled the DNS plugin because name resolution stopped working in Kubernetes (Microk8s)

When `docker run -it` over an `ssh` connection errors `the input device is not a TTY`, drop `-t` or invoke ssh with `-t` to allocate a TTY.

Categories

Archive