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.

PHP Form Validation and Sanitization Guide
Coding tips

PHP Form Validation and Sanitization Guide

How to validate and sanitize PHP form input: trim, filter_var, mb_strlen and allow-lists, then escape output with htmlspecialchars, add CSRF and redirect.

October 2, 2026 · 11 min read · 220 views

Python List Comprehension Examples Explained
Coding tips

Python List Comprehension Examples Explained

Python list comprehension examples I actually use: basic syntax, filtering with if, if/else, nested loops, dict and set comprehensions, and common mistakes.

October 2, 2026 · 10 min read · 184 views

Python f-Strings: Formatting Examples
Coding tips

Python f-Strings: Formatting Examples

Python f-string formatting examples for decimals, thousands separators, percentages, alignment, dates and = debugging, plus what's new in Python 3.12 and 3.14.

October 2, 2026 · 9 min read · 444 views

HTML Semantic Tags Explained With Examples
Coding tips

HTML Semantic Tags Explained With Examples

HTML semantic tags explained with examples: header, nav, main, article, section, aside and footer, when to use each, and the div mistakes to avoid.

October 2, 2026 · 8 min read · 40 views

HTML Form Input Types and Validation
Coding tips

HTML Form Input Types and Validation

HTML input types and built-in validation attributes (required, minlength, min, max, step, pattern) with examples tested in Chrome, plus :user-invalid styling.

October 2, 2026 · 8 min read · 155 views

CSS Position Explained: Absolute vs Relative
Coding tips

CSS Position Explained: Absolute vs Relative

CSS position explained: static, relative, absolute, fixed and sticky, why absolute needs a relative parent, why sticky stops working, and how z-index stacks.

October 2, 2026 · 8 min read · 452 views

0%