KHALID

Latest Insights

Thoughts on software engineering, design philosophy, and building next-generation digital products.

AI
Mar 03, 2026
1 min read

How to write Good Promt

If you write prompts randomly, you will not get perfect output. To achieve this, you need to add more organized prompts so that you get the best results.

Development
Jan 29, 2026
3 min read

How to Handle CORS in Node.js When Your Frontend URL is Dynamic (Unlimited Subdomains)

If your frontend URLs are unlimited but share the same main domain (like *.vercel.app), you don’t need to whitelist every subdomain manually. Instead, use a dynamic CORS origin check that allows any hostname ending with .vercel.app and blocks all other domains. This keeps your backend secure while supporting infinite frontend deployments.

All Stories

JavaScriptJan 28, 2026

Revise JavaScript #02

In this part, we’ll explore Synchronous, Event Loop, Callback Queue, Job Queue, Asynchronous, and Threads in JavaScript with simple explanations and examples to strengthen your fundamentals.

View Details
JavaScriptJan 26, 2026

Revise JavaScript #01

In this part, we’ll explore call stack, memory heap, stack overflow, and garbage collection in JavaScript with simple explanations and examples to strengthen your fundamentals.

View Details
System DesignJan 26, 2026

System Design Journey 01

এইটা System Design জার্নির প্রথম অংশ। এই অংশে System Desgin, IP, IPv4 & IPv6, OSI model আলোচনা করা হয়েছে। এইটা মূলত আমার System Design লার্নিং থেকে একটু একটু করে বানানো। ডিটেলস জানার জন্য টপিক নিয়ে সার্চ দিলে ভালো ভাবে জানতে পারবেন।

View Details
LinkedInJan 23, 2026

A Simple Guide to Growing on LinkedIn

There are days when LinkedIn feels pointless. You post something. No reach. No comments. You start wondering: “Is this even worth it?” This blog exists for those days. Not to motivate you emotionally—but to reset your strategy.

View Details