Avatar 💻

recca0120 技術筆記

Software Developer / 技術筆記

  1. 首頁
  2. 彙整
  3. 分類
  4. 標籤
  5. 搜尋
  6. Showcase
  7. 關於我
    1. 夜晚模式

紀錄

2026 76
2024 3
2023 11
2022 13
2020 15
更多

分類

PHP Laravel Testing DevOps Frontend AI Database Tools Python DevTools

標籤雲

Testing Laravel Php Claude Code Typescript Ai-Agent Javascript Python PHPUnit Sqlite Composer Ai Linux Prompt-Caching Vitest Aws Blade Cloudflare Developer-Tools Devops
Featured image of post 我用 Vibe Coding 做了一個全球開發者排行榜
Frontend

我用 Vibe Coding 做了一個全球開發者排行榜

分享用 Astro + Svelte 5 + Three.js vibe coding 出 CodeAtlas 全球開發者排行榜的過程,從 GitHub API 資料收集到 3D 地球儀互動體驗。

2026 年 4 月 3 日
English
Astro Svelte Three.js GitHub API Vibe Coding
Featured image of post Typer:用 type hint 寫 CLI,不需要記 argparse API
Python

Typer:用 type hint 寫 CLI,不需要記 argparse API

Typer 是 FastAPI 同作者寫的 CLI 框架,底層是 Click,但你不需要學 Click API。Type hint 就是 CLI 的規格,自動產生 help、shell 補全、子命令,把一堆 scripts 整理成一個工具。

2026 年 4 月 2 日
English
Typer Cli Python Click Argparse Automation
Featured image of post blinker:Python 的 signal 系統,讓模組之間不直接呼叫
Python

blinker:Python 的 signal 系統,讓模組之間不直接呼叫

blinker 是 Python 輕量的 signal/event 系統,Flask 內部用它處理 request_started、request_finished 等事件。拿來做模組解耦、plugin 架構、避免 circular import 都很合適。

2026 年 4 月 1 日
English
Blinker Signal Python Flask Event
Featured image of post polyfactory:不要手刻測試假資料,讓 type hint 自動生成
Python Testing

polyfactory:不要手刻測試假資料,讓 type hint 自動生成

polyfactory 根據 Python type hint 自動產生測試資料,支援 dataclass、Pydantic v2、TypedDict、msgspec。搭配 pytest fixture 用,省掉每次寫測試都要 hardcode 一堆假資料的麻煩。

2026 年 3 月 31 日
English
Polyfactory Pytest Testing Python Pydantic Dataclass Factory Fixture
Featured image of post pytest 入門:assert 就夠了,不需要記 self.assertEqual
Python Testing

pytest 入門:assert 就夠了,不需要記 self.assertEqual

pytest 跟 unittest 最大的差距不是功能多寡,而是寫起來有多舒服。assert 直接用,失敗訊息自動展開,fixture 比 setUp/tearDown 靈活很多。

2026 年 3 月 30 日
English
Pytest Testing Python Fixture Unit-Testing Parametrize
Featured image of post Docker Image 瘦身:先用 dive 找出問題,再對症下藥
DevOps

Docker Image 瘦身:先用 dive 找出問題,再對症下藥

不要猜 Docker image 為什麼大,用 docker image history 和 dive 直接看。找到問題之後針對性修,比套用技巧清單更有效率。從 1.25GB 壓到 139MB 的實際過程。

2026 年 3 月 29 日
English
Docker Dockerfile Devops Dive Optimization Container Multi-Stage
Featured image of post sslh:443 port 同時跑 HTTPS 和 SSH,一個 port 多個服務
Tools

sslh:443 port 同時跑 HTTPS 和 SSH,一個 port 多個服務

sslh 是 protocol multiplexer,讓 SSH、HTTPS、OpenVPN 共用同一個 port。最常見的用途是把 SSH 藏在 443,穿透只開放 HTTP/HTTPS 的嚴格防火牆。

2026 年 3 月 28 日
English
Sslh Ssh Networking Security Linux
Featured image of post reverse_ssh:用標準 SSH 語法管理反向連線,穿透防火牆不需要 VPN
Tools

reverse_ssh:用標準 SSH 語法管理反向連線,穿透防火牆不需要 VPN

reverse_ssh 把 SSH 反向:目標機主動連回 server,operator 再用原生 SSH 語法連進去。支援 HTTP/WebSocket/TLS 多種 transport 穿防火牆,SCP/SFTP/port forwarding 全部可用。

2026 年 3 月 27 日
English
Ssh Reverse-Shell Security Networking Golang Firewall Tunnel
Featured image of post yazi:Rust 寫的終端機檔案管理器,vim 鍵位、圖片預覽、Alacritty 解法
Tools

yazi:Rust 寫的終端機檔案管理器,vim 鍵位、圖片預覽、Alacritty 解法

yazi 是 Rust 寫的非同步終端機檔案管理器,vim 鍵位、圖片預覽、Lua 外掛、整合 fzf/zoxide。Alacritty 不支援圖片協議,macOS 用 Chafa,Linux 用 Überzug++ 搭配 X11/Wayland。

2026 年 3 月 26 日
English
Yazi Terminal Rust File-Manager Alacritty
Featured image of post reptyr:SSH 忘開 tmux 也救得回來,把 process 移進去
Tools

reptyr:SSH 忘開 tmux 也救得回來,把 process 移進去

reptyr 用 ptrace 把已在執行的 process 重新附加到新的 terminal。SSH 忘開 tmux 就跑了長時間任務,或者想把 background process 移進 screen,reptyr 一個指令搞定。

2026 年 3 月 25 日
English
Reptyr Linux Terminal Tmux Ssh Process Rescue
1 2 3 4 5 6 7 8 9 12
© 2020 - 2026 recca0120 技術筆記
recca0120 on GitHub
使用 Hugo 建立
主題 Stack 由 Jimmy 設計