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.

Best JPEG Quality Setting for Web, Email and Print (We Tested 40 to 100)
Coding tips

Best JPEG Quality Setting for Web, Email and Print (We Tested 40 to 100)

For most web photos, a JPEG quality setting between 75 and 85 gives the best balance of sharpness and file size. Use 85 to 90 for portfolio images and prints you'll edit later, and avoid 100, which creates much larger files with almost no visible improvement.

October 18, 2026 · 10 min read · 21 views

How to Find the BPM of a Song: Tap, Count or Use Software
Coding tips

How to Find the BPM of a Song: Tap, Count or Use Software

The quickest way to find the BPM of a song is to tap along to the beat for 10 to 20 seconds on a tap-tempo tool, which averages the gaps between your taps. Without any tool, count the beats for 15 seconds and multiply by four.

October 18, 2026 · 10 min read · 21 views

12.07% Holiday Pay Explained: Irregular Hours and Zero-Hours Workers UK 2026
Learning notes

12.07% Holiday Pay Explained: Irregular Hours and Zero-Hours Workers UK 2026

If you work irregular hours or only part of the year in the UK, you build up paid holiday at 12.07% of the hours you work in each pay period. Your employer can either pay you for that holiday when you take it, or add 12.07% to every payslip as "rolled-up" holiday pay.

October 18, 2026 · 10 min read · 24 views

How to Calculate Stacked Discounts: Why 20% Off Then 10% Off Isn't 30%
Learning notes

How to Calculate Stacked Discounts: Why 20% Off Then 10% Off Isn't 30%

Stacked discounts multiply rather than add. To find the final price, multiply the original price by (1 − first discount) and then by (1 − second discount). So 20% off followed by an extra 10% off gives 0.8 × 0.9 = 0.72 of the price, which is 28% off, not 30%.

October 18, 2026 · 10 min read · 22 views

0%