Skip to content
Joey Wang
Menu

Search

Category: devops

When an Always Free server gets smaller

What Oracle's smaller Ampere A1 Always Free limits mean for a self-hosted ARM server, and how I redesigned mine around a 12 GB, 2-core budget.

Optimizing a 1C1G Ubuntu Cloud Server

A production-tested checklist for making a 1 vCPU, 1GB RAM Ubuntu server stable: swap, kernel tuning, service removal, and MySQL/PHP-FPM limits.

Optimizing Android Builds in GitHub Actions

Android builds in GitHub Actions run 10-30 minutes unoptimized; layered Gradle and Yarn caching plus scoped environment secrets get that down to a few minutes.

How to Debug Docker Image Builds

Practical techniques for debugging Docker image builds: BuildKit output flags, inspecting intermediate layers, nsenter tricks, and multi-stage build targets.

How to Rotate GKE Cluster Credentials

The gcloud commands for checking certificate expiry, starting rotation, upgrading nodes to the new certificate, and completing GKE credential rotation.

count file size from json

A bash one-liner that uses jq to pull resource IDs out of lesson JSON files, then du to total their file sizes on disk.