Notes

Beginners

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 Read a CSV File in Python Without Pandas
Coding tips

How to Read a CSV File in Python Without Pandas

Read CSV files in Python with only the built-in csv module: csv.reader, DictReader, numbers and blank cells, Excel's BOM, semicolons and writing a CSV.

October 4, 2026 · 8 min read · 118 views

Git Undo Last Commit but Keep Changes (Tested)
Coding tips

Git Undo Last Commit but Keep Changes (Tested)

Undo your last Git commit and keep the changes with git reset --soft HEAD~1, plus mixed, hard, reflog recovery, --amend and revert, each run on a real repo.

October 4, 2026 · 7 min read · 44 views

JavaScript Debounce Function Example, Explained
Coding tips

JavaScript Debounce Function Example, Explained

A ten-line JavaScript debounce function with real output: fast typing turned into one search, keeping this, cancel(), and a leading-edge version for buttons.

October 4, 2026 · 9 min read · 57 views

Build an Offline Habit Tracker With localStorage
Coding tips

Build an Offline Habit Tracker With localStorage

A small offline habit tracker in plain HTML and JavaScript: habits saved as JSON in localStorage, streaks from local dates, a 7-day row and a JSON backup.

October 2, 2026 · 10 min read · 121 views

JavaScript Async/Await Tutorial for Beginners
Coding tips

JavaScript Async/Await Tutorial for Beginners

A beginner async/await tutorial: async functions, try/catch, fetch with response.ok, Promise.all for parallel work, retries, and the forEach mistake to avoid.

October 2, 2026 · 11 min read · 238 views

JavaScript map, filter and reduce Explained
Coding tips

JavaScript map, filter and reduce Explained

JavaScript map, filter and reduce explained with practical examples: transform, keep and combine array items, chain them, and avoid the classic mistakes.

October 2, 2026 · 11 min read · 87 views

0%