How to Transition from CRA to Vite: A Step-by-Step GuideCRA has been one of my favorite tool. It gave us superpower to spin up react app with out of the box support for eslint , postcss , testing library,Web vitals and many more.. Since CRA has been depreciated and now React team recommend using framework...Mar 15, 2025 · 5 min readblog.ahmadullah.in
Troubleshooting [zsh: Corrupt History File]: A Simple Guide for Windows, Linux, macOSIf you often use the Zsh shell, at some point, you've probably encountered the frustrating issue of a corrupt history file. This problem can happen suddenly and disrupt your workflow by causing errors when you try to view or search your command histo...Jan 5, 2025 · 4 min readblog.ahmadullah.in
Mastering Git: How to Write Effective Conventional Commit MessagesCommit Message Formats <type>(<optional scope>): <description> empty separator line <optional body> empty separator line <optional footer> Inital Commit chore: init Types API relevant changes feat Commits, that adds or remove a new feature fix C...Dec 19, 2024 · 3 min readblog.ahmadullah.in
Access WSL ports Over LanOld way [don't use] $remoteport = bash.exe -c "ip -4 addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'" $found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; if( $found ){ $remoteport = $matches[0]; } else{ echo "The Script Exited...Feb 14, 2023 · 1 min readblog.ahmadullah.in
JavaScript Tips: Web share Apiconst shareData = { title: "au.mirza", url: "https://www.instagram.com/au.mirza" }; const btn = document.getElementById("share"); btn.addEventListener("click", shareHandler); function shareHandler() { if (navigator.share && navigator.canShare...Feb 9, 2023 · 1 min readblog.ahmadullah.in