Skip to content

Instantly share code, notes, and snippets.

View lam0819's full-sized avatar
πŸ’­
Busy

Alan Lam lam0819

πŸ’­
Busy
View GitHub Profile
echo "======== start clean docker containers logs ========"
logs=$(find /var/lib/docker/containers/ -name *-json.log)
for log in $logs
do
echo "clean containers logs : $log"
cat /dev/null > $log
done
echo "======== end clean docker containers logs ========"
@lam0819
lam0819 / TAYLOR-Principles.md
Last active February 9, 2026 03:01
TAYLOR-Principles.md

Taylor Otwell Methodology β€” Coding Principles

Every line of code in this project MUST follow these principles:

1. Elegant & Expressive Code

// YES β€” reads like English
$page = Page::with('blocks')->published()->findOrFail($id);