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

Categories

PHP Laravel Testing DevOps Frontend Database AI Tools Python MacOS

Tags

Testing Laravel Php Typescript Claude-Code Javascript Ai-Agent PHPUnit Python SQLite Composer Linux Vitest Aws Blade Cloudflare Developer-Tools Devops Docker Guzzle
Featured image of post EmDash: A Full-Stack TypeScript CMS Built on Astro + Cloudflare — Can It Replace WordPress?
Frontend

EmDash: A Full-Stack TypeScript CMS Built on Astro + Cloudflare — Can It Replace WordPress?

EmDash is a full-stack TypeScript CMS built on Astro and Cloudflare, featuring sandboxed plugins, Portable Text content, and multi-database support as a modern WordPress alternative.

2026 年 4 月 7 日
正體中文
Astro Cloudflare Typescript CMS
Featured image of post League Period: A Swiss Army Knife for Time Intervals in PHP
PHP

League Period: A Swiss Army Knife for Time Intervals in PHP

Comparing two time intervals for overlap with raw DateTime means writing a pile of if conditions. League Period wraps time intervals in immutable value objects with built-in overlap, containment, gap, and intersection operations.

2026 年 4 月 6 日
正體中文
Php Period Datetime League Scheduling Immutable
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
1 2 3 4 5 6 7 8 12
© 2020 - 2026 recca0120 Tech Notes
recca0120 on GitHub
Built with Hugo
Theme Stack designed by Jimmy