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

Categories

Laravel PHP Testing Database DevOps Frontend MacOS Windows

Tags

Laravel PHP Testing PHPUnit Blade Guzzle Mockery SQLite Composer Docker Linux Migration MySQL Redis Validation Alpine.js AWS Eloquent JavaScript MacOS
Featured image of post Fix Redis TCP Backlog 511 Warning: Raise somaxconn
Database

Fix Redis TCP Backlog 511 Warning: Raise somaxconn

Redis warns that TCP backlog 511 exceeds somaxconn 128, dropping connections under load. Raise somaxconn via /proc and persist it in sysctl.conf permanently.

2020 年 6 月 12 日
正體中文
Redis Linux
Featured image of post 3 Laravel Migration Pitfalls and How to Fix Them
Laravel Database

3 Laravel Migration Pitfalls and How to Fix Them

Avoid 3 migration rollback mistakes: mixing add/drop in one closure, dropping index and column together, and multiple dropColumn calls. Catch them with SQLite.

2020 年 6 月 8 日
正體中文
Laravel Migration SQLite
Featured image of post Fix PHP Curl Comodo SSL Expired Error with GuzzleHttp verify
PHP Laravel

Fix PHP Curl Comodo SSL Expired Error with GuzzleHttp verify

PHP Curl throws a Comodo RSA SSL expired error on Linux due to missing Root CA. Use GuzzleHttp verify to point to the certificate file, globally or per service.

2020 年 6 月 1 日
正體中文
PHP Guzzle Laravel
Featured image of post Fix adb Server and Client Version Mismatch on Mac
MacOS

Fix adb Server and Client Version Mismatch on Mac

Homebrew and Android SDK each install a separate adb, causing server and client version conflicts. Remove the Homebrew copy and point PATH to the SDK to fix it.

2020 年 5 月 29 日
正體中文
Android MacOS
Featured image of post Throw Laravel ValidationException Manually for API Errors
Laravel

Throw Laravel ValidationException Manually for API Errors

Wrap external API errors with ValidationException::withMessages to output Laravel validation format, so the frontend displays them like regular form errors.

2020 年 5 月 24 日
正體中文
Laravel Validation PHP
Featured image of post tester-phpunit: Run PHPUnit Tests Inside Atom Editor
Testing PHP

tester-phpunit: Run PHPUnit Tests Inside Atom Editor

An Atom editor package for running PHPUnit tests directly inside the editor — no terminal switching required to execute and review PHP unit test results.

2017 年 7 月 23 日
正體中文
PHPUnit PHP Testing Atom
1 2 3 4 5
© 2020 - 2026 recca0120 Tech Notes
recca0120 on GitHub
Built with Hugo
Theme Stack designed by Jimmy