Notes

Cybersecurity, SOC & coding notes

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.

How to Calculate Sales Tax Backwards From a Total (With 2026 Rates)
Learning notes

How to Calculate Sales Tax Backwards From a Total (With 2026 Rates)

To calculate sales tax backwards, divide the total you paid by 1 plus the tax rate as a decimal. That gives you the pre-tax price, and the difference between the two is the tax. For a $107 receipt at 7%, $107 ÷ 1.07 = $100, so the tax was $7.

October 18, 2026 · 10 min read · 15 views

Python Pathlib Tutorial: Path, Glob, Read and Write
Coding tips

Python Pathlib Tutorial: Path, Glob, Read and Write

Python's pathlib module gives you object-oriented filesystem paths: join them with the / operator, read and write text with read_text and write_text, create directories with mkdir, and find files with glob and rglob.

October 18, 2026 · 12 min read · 20 views

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

0%