HomeServicesKnowledgeProjectsToolsResourcesLabAboutNotesNowContact
Notes

Ghi chú ngắn, đủ để dùng lại.

Không cần dài như blog. Đây là digital notebook cho command, snippet, ý tưởng và những thứ nên tìm lại trong vài giây.

Linux

Cách xem port đang chạy Linux

sudo ss -lntup

Nếu cần process giữ một port: sudo lsof -i :PORT.

Linux

Restart / reload Nginx

sudo nginx -t
sudo systemctl reload nginx

Ưu tiên test config trước; reload giảm gián đoạn hơn restart.

CSS

Text gradient nhanh

background: linear-gradient(90deg,#635bff,#00c2ff);
-webkit-background-clip: text;
color: transparent;
Idea

Project idea: Deploy Inspector

Upload một static bundle và kiểm tra tự động: broken link, localhost URL, missing asset, canonical, robots, sitemap và secret pattern.