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.

Python enumerate(): How to Start at 1 (and 12 Tested Examples)
Coding tips

Python enumerate(): How to Start at 1 (and 12 Tested Examples)

enumerate(items, start=1) gives you a counter that starts at 1 alongside each item. Tested examples for lists, dicts, zip, reversed order, file line numbers and comprehensions, plus why it beats range(len()) and the list.index() trap.

October 11, 2026 · 11 min read · 135 views

What Is UAC in Windows? User Account Control Explained for Beginners
Coding tips

What Is UAC in Windows? User Account Control Explained for Beginners

UAC (User Account Control) is the Windows feature that runs your apps with standard rights and asks before anything gets admin power. Here’s how the two tokens, the dimmed secure desktop, the four slider levels and the registry settings fit together.

October 11, 2026 · 13 min read · 64 views

NTFS vs FAT32 vs exFAT: Which Format Should You Use? (Windows 2026)
Coding tips

NTFS vs FAT32 vs exFAT: Which Format Should You Use? (Windows 2026)

Use NTFS for internal Windows drives, exFAT for USB sticks and SD cards you share with a Mac, and FAT32 only for small or old devices. Here are the real limits (4 GB files, 32 GB format cap), the security differences and the commands.

October 11, 2026 · 12 min read · 105 views

What Is %windir%? Windows Environment Variables Explained (With a List)
Coding tips

What Is %windir%? Windows Environment Variables Explained (With a List)

%windir% is an environment variable that points to the Windows folder, usually C:\Windows. Here’s what the common variables mean, the difference between user and system variables, set vs setx, PowerShell’s $Env: syntax and how PATH finds programs.

October 11, 2026 · 11 min read · 60 views

How Is Redundancy Pay Calculated in the UK? (2026 Guide)
Coding tips

How Is Redundancy Pay Calculated in the UK? (2026 Guide)

Statutory redundancy pay is weeks of pay for each full year of service, set by your age, capped at 20 years and £751 a week from 6 April 2026. Worked examples, tax and deadlines.

October 8, 2026 · 14 min read · 37 views

How Much Holiday Am I Entitled To in the UK? (2026 Guide)
Coding tips

How Much Holiday Am I Entitled To in the UK? (2026 Guide)

Most UK workers get 5.6 weeks of paid holiday, which is 28 days on a 5-day week. Part-time, shift and irregular-hours sums, bank holidays, starting or leaving mid-year, and holiday pay.

October 8, 2026 · 14 min read · 31 views

0%