All Posts
335 posts
Recreated the Website to be futureproof
The old website had some good features such as auto light/dark mode, ~500 posts, good enough speed & performance, mobile-first design UI/UX, responsive layout. The refreshed website kept all those …
Ubuntu boots to black screen after trying to install proprietary Nvidia graphics driver
The problem occured after installing proprietary Nvidia graphics driver using those commands. sudo apt-get update && clear && apt-cache search nvidia-[0-9] | grep 'binary …

How to upgrade npm in Laravel Sail ?
When I stop the vite live server sail npm run dev of Laravel 10 by ctrl + c, the CLI tells me to upgrade npm with this message. npm notice npm notice New patch version of npm available! 9.6.4 -> …
Useful npm Packages for All Projects
date-fns 🔗 date-fns (a.k.a Date Functions) is a library which gives you functions to deal with dates. It is great package with a small size. dotenv 🔗 dotenv create a .env file to store your …

View time taken of last command in Fish shell
Just use $CMD_DURATION to get the time taken running the last command. To make your prompt give you the elapsed time for every command you run in Terminal, add this function in your Fish config file …
Website Types
E-Commerce Website 🔗 There are too many e-commerce websites such as Amazon, Souq, Jumia, AliBaba, .. etc. What you should focus on if you are about to create an e-commerce website ? showcase the …

WebSocket Communication Between Two Go Programs, the Easy Way
This article was written with one idea in mind: to show you, how to make a communication between two Go programs, using WebSockets. The simplest possible way. When using WebSockets, one program has to …
Why built-in functions in python are faster ?
Because Python is sitting of the shoulders of giants. Built-in functions are written in C and C++ under the hood. C and C++ languages are efficient and fast, so their functions will be faster than the …
Why Did Google Develop Go ?
long compile time 🔗 Google has two tremendous problems. One of them is compile time. Back in the 1980’s, reasonable sized projects took hours to do a clean build. There were whole server farms …