Notes

Coding tips

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

What Is a UUID? Versions, v4 vs v7, and When to Use Them
Coding tips

What Is a UUID? Versions, v4 vs v7, and When to Use Them

A UUID (Universally Unique Identifier) is a 128-bit value used to label records, files, sessions and API objects so they stay distinct across machines without a central ID server.

October 18, 2026 · 12 min read · 13 views

How to Resize an Image for Web: Dimensions, Compression and WebP
Coding tips

How to Resize an Image for Web: Dimensions, Compression and WebP

To resize an image for the web, set the display dimensions you need (for example 1200×630 for Open Graph social cards), export at 1× or 2× that size, compress with a modern format such as WebP, and never upscale a small photo to invent detail.

October 18, 2026 · 11 min read · 18 views

How to Create a Strong Password: Passphrases, Managers and Passkeys
Coding tips

How to Create a Strong Password: Passphrases, Managers and Passkeys

A strong password is long, unique to one account, and hard to guess. The practical way to get there is a password manager that creates and stores a different secret for every site, plus a memorable passphrase for the manager itself and for email.

October 18, 2026 · 10 min read · 23 views

0%