Output Environment Variables of a Docker Container

One time, I set up a Docker container with my Cloudflare API token as the environment variable. docker run -e API_KEY=<my_api_key> <some_user/some_container> I forgot the token in the process, and now I want to retrieve the API token. It should be as easy as listing all manually added environment variables. Apparently Docker does not have such function?

Benchmarking Different Implementations of Shadowsocks

Hosting Shadowsocks proxy servers is usually an easy task. You install it, and just forget about everything. And due to it being a lightweight proxy, shadowsocks is usually I/O-bounded: To achieve highest throughput, you need higher ethernet, not faster CPU. However, it is not always the case. It is known that some VPS providers only focus on premium connections and bandwidth, and completely ignores CPU and RAM performance to save money(cough bandwagonhost cough).

How to Generate New SSH keys in macOS

For a long time, I wanted to switch all my SSH keys from rsa to ed25519. A lot of online tutorials default to rsa cipher, which generates long and potentially less secure keys. I was once a victim of such crap. Fortunately, there is an alternative: ed25519. ed25519 generates much shorter public keys, and the encryption speed is apparently faster than rsa.

Fixing pacman in an outdated Arch Linux system

GPG and pacman errors are annoying So, I was trying ungleich.ch’s IPv6 VPS. It is apparently cheap, and I wanted to host a Matrix server of some sort. It does come preinstalled with Arch Linux, which is good. That means I can get the latest software without relying Docker.

How to Install Open Camera Software for Raspberry Pi

An open alternative to propriety libbcm_host.so everyone hates For the longest time I’ve hated on the propriety Raspberry Pi camera stack. It is propriety, it is non-standard, and it is propriety. It depends on the slow and niche Broadcomm GPU that everyone hates. Even more, only Raspberry Pi OS is supported, which means 32-bit operating system only.