Avatar 💻

recca0120 Tech Notes

Software Developer / Tech Notes

  1. Home
  2. Archives
  3. Categories
  4. Tags
  5. Search
  6. About
    1. Dark Mode

Archives

2026 77
2024 3
2023 11
2022 13
2020 15
More

Categories

PHP Laravel Testing DevOps Frontend AI Database Tools Python DevTools

Tags

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 pytest-mock: Cleaner Mocking With the mocker Fixture
Python Testing

pytest-mock: Cleaner Mocking With the mocker Fixture

pytest-mock provides a mocker fixture that integrates unittest.mock.patch into pytest's lifecycle — no manual start/stop, no with blocks, no decorator ordering issues. spy preserves real behavior while tracking calls. stub tests callbacks.

2026 年 4 月 3 日
正體中文
Pytest Mock Testing Python Spy Stub Unittest
Featured image of post I Built a Global Developer Ranking Site with Vibe Coding
Frontend

I Built a Global Developer Ranking Site with Vibe Coding

How I vibe-coded CodeAtlas, a global developer ranking platform with Astro + Svelte 5 + Three.js, covering GitHub API data collection to 3D globe interaction.

2026 年 4 月 3 日
正體中文
Astro Svelte Three.js GitHub API Vibe Coding
Featured image of post Typer: Build CLIs With Type Hints, No argparse API to Memorize
Python

Typer: Build CLIs With Type Hints, No argparse API to Memorize

Typer is a CLI framework by the FastAPI author, built on Click, but you don't need to learn Click's API. Type hints are the CLI specification — help text, shell completion, and subcommands are generated automatically.

2026 年 4 月 2 日
正體中文
Typer Cli Python Click Argparse Automation
Featured image of post blinker: Python Signals for Decoupling Modules
Python

blinker: Python Signals for Decoupling Modules

blinker is a lightweight Python signal/event system — it's what Flask uses internally for request_started, request_finished, and other lifecycle events. Good fit for module decoupling, plugin architectures, and avoiding circular imports.

2026 年 4 月 1 日
正體中文
Blinker Signal Python Flask Event
Featured image of post polyfactory: Stop Hand-Writing Test Fixtures, Let Type Hints Do It
Python Testing

polyfactory: Stop Hand-Writing Test Fixtures, Let Type Hints Do It

polyfactory generates test data automatically from Python type hints. Supports dataclasses, Pydantic v2, TypedDict, and msgspec. Pair it with pytest fixtures to eliminate the boilerplate of hand-crafting fake objects for every test.

2026 年 3 月 31 日
正體中文
Polyfactory Pytest Testing Python Pydantic Dataclass Factory Fixture
Featured image of post pytest: assert Is Enough, Forget self.assertEqual
Python Testing

pytest: assert Is Enough, Forget self.assertEqual

The biggest difference between pytest and unittest isn't features — it's how comfortable it is to write. Plain assert works, failure messages expand automatically, and fixtures are far more flexible than setUp/tearDown.

2026 年 3 月 30 日
正體中文
Pytest Testing Python Fixture Unit-Testing Parametrize
Featured image of post Docker Image Diet: Find the Problem With dive Before Trying to Fix It
DevOps

Docker Image Diet: Find the Problem With dive Before Trying to Fix It

Don't guess why your Docker image is large — use docker image history and dive to see exactly where the weight is. Fix what's actually broken. A real 1.25GB → 139MB walkthrough.

2026 年 3 月 29 日
正體中文
Docker Dockerfile Devops Dive Optimization Container Multi-Stage
Featured image of post sslh: Run HTTPS and SSH on Port 443 at the Same Time
Tools

sslh: Run HTTPS and SSH on Port 443 at the Same Time

sslh is a protocol multiplexer that lets SSH, HTTPS, and OpenVPN share a single port. The most common use case: hide SSH on port 443 to get through firewalls that only allow HTTP/HTTPS.

2026 年 3 月 28 日
正體中文
Sslh Ssh Networking Security Linux
Featured image of post reverse_ssh: Manage Reverse Shells With Native SSH Syntax, No VPN Required
Tools

reverse_ssh: Manage Reverse Shells With Native SSH Syntax, No VPN Required

reverse_ssh flips SSH: target machines connect back to your server, and you connect to them with standard SSH syntax. HTTP/WebSocket/TLS transports punch through firewalls. SCP, SFTP, and port forwarding all work.

2026 年 3 月 27 日
正體中文
Ssh Reverse-Shell Security Networking Golang Firewall Tunnel
Featured image of post yazi: Rust Terminal File Manager with Image Preview — Alacritty Fix Included
Tools

yazi: Rust Terminal File Manager with Image Preview — Alacritty Fix Included

yazi is an async Rust terminal file manager with vim keybindings, image preview, Lua plugins, and fzf/zoxide integration. Alacritty has no native image protocol — macOS uses Chafa, Linux uses Überzug++ with X11/Wayland.

2026 年 3 月 26 日
正體中文
Yazi Terminal Rust File-Manager Alacritty
1 2 3 4 5 6 7 8 9 12
© 2020 - 2026 recca0120 Tech Notes
recca0120 on GitHub
Built with Hugo
Theme Stack designed by Jimmy