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 49
2024 3
2023 11
2022 13
2020 15
More

Categories

PHP Laravel Testing Frontend DevOps Database Tools Python AI MacOS

Tags

Laravel Php Testing Javascript PHPUnit Sqlite Python Typescript Ai-Agent Claude-Code Composer Linux Aws Blade Developer-Tools Devops Docker Guzzle MCP Mockery
Featured image of post Strauss: The Better Mozart for WordPress Plugin Dependency Isolation
PHP

Strauss: The Better Mozart for WordPress Plugin Dependency Isolation

Strauss is a Composer dependency prefixing tool forked from Mozart. It fixes Mozart's known limitations: full files autoloader support, constant prefixing, license compliance, and zero-config defaults. The modern choice for WordPress plugin dependency isolation.

2026 年 4 月 5 日
正體中文
Strauss Composer Wordpress Php Namespace
Featured image of post Mozart: Isolate Composer Dependencies in WordPress Plugins
PHP

Mozart: Isolate Composer Dependencies in WordPress Plugins

All WordPress plugins run in the same PHP process. If two plugins use different versions of the same library, only one version loads — and it might be the wrong one. Mozart prefixes your vendor dependencies with a custom namespace so they can't conflict with anyone else's.

2026 年 4 月 4 日
正體中文
Mozart Composer Wordpress Php Namespace
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
1 2 3 4 5 6 10
© 2020 - 2026 recca0120 Tech Notes
recca0120 on GitHub
Built with Hugo
Theme Stack designed by Jimmy