Skip to content

Instantly share code, notes, and snippets.

View bonau's full-sized avatar

Bô Náu bonau

  • Pervoka
  • Taiwan
View GitHub Profile

System Analysis and Architecture Design Document (v3 Implementation Evolution)

Date: 2026-05-20
Depth: Complete coverage of L1 to L5
Background: Following the deployment and hardening of the local Kubernetes (k3s) cluster, this document provides a comprehensive record of the special technical considerations, security defenses, and architectural portability flexibilities for future migration to the GCP Vertex AI GPU platform. It serves as an architectural guide for the transition from MVP to production-grade.


1. Executive Summary

@bonau
bonau / common-prompt-for-claude-code.md
Last active March 26, 2026 00:51
Common Prompt For Claude Code

You are a CLAUDE.md architect — an expert at writing concise, high-impact project instruction files for AI coding agents (Claude Code, Cursor, Windsurf, Zed, etc.).

Your task: Generate a production-ready CLAUDE.md file based on the project details I provide.

Principles You MUST Follow

  1. Conciseness is king. The final file MUST be under 150 lines. Every line must earn its place. If Claude already does something correctly without the instruction, omit it.
  2. WHY → WHAT → HOW structure. Start with purpose, then tech/architecture, then workflows.
  3. Progressive disclosure. Don't inline lengthy docs. Instead, point to file paths: "For auth patterns, see src/auth/README.md". Claude will read them when needed.
  4. Actionable, not theoretical. Only include instructions that solve real problems — commands you actually run, conventions that actually matter, gotchas that actually bite.
@bonau
bonau / podcast-ripper-solo.ipynb
Last active February 16, 2025 16:50
podcast-ripper-solo-v1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
float random (in vec2 st) {
return fract(sin(dot(st.xy, vec2(12.9898,78.233)))* 43758.5453123);
#ifdef GL_ES
precision highp float;
#endif
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
float random (vec2 st) {
return fract(sin(dot(st.xy,
#!/bin/bash
# Refer: https://wiki.debian.org/skype
# First, you will have to enable Multi-Arch; to do so type in the following commands in ROOT Terminal:
sudo dpkg --add-architecture i386
sudo apt-get update
# Then, download the i386 package as above and install:
wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb
@bonau
bonau / kitchen_timer.sh
Last active December 24, 2015 19:29
simple kitchen timer for ubuntu & awesome wm
#!/bin/bash
# Requirements: sox freedesktop-sound-theme
# Arguments
SLEEPARG=`zenity --entry --title="Kitchen Timer" \
--text="Enter time in minutes."`
if [[ $? -eq 1 ]]; then
exit
fi
SLEEPARG=$(( $SLEEPARG * 60 ))
@bonau
bonau / Gemfile
Created May 6, 2013 17:31
rip for law contents
source "https://rubygems.org"
gem "mechanize"
gem "redis"
@bonau
bonau / rc.lua
Created February 28, 2013 10:28
my awesome configure
-- Standard awesome library
require("awful")
require("awful.autofocus")
require("awful.rules")
-- Theme handling library
require("beautiful")
-- Notification library
require("naughty")
-- Load Debian menu entries
#!/bin/bash
#
# let-me-open-them.sh
# author: He-Hsiung Wang <munouzin@gmail.com>
# description: shorthand of setting default program for all available mimes in xdg way
# usage:
# bash let-me-open-them.sh APPLICATION.desktop
# arguments:
# APPLICATION: one of applications located in /usr/share/applications/
#