programming

All About My Custom Hugo Theme KMT

My ToDo List for 2024 (daily updates)

waffarx cash back

A new old way of phishing Facebook pages

Too many friends asked me about that stolen Facebook pages in the last week. Almost all these Facebook pages were stolen by phishing. Phishing is an old method of hacking by giving a visually identical Facebook page telling you that you need to give them some information because of anything. After you tell them the information including the OTP sent to your phone or e-mail, your account and/or your pages will be stolen.

FIX: Go Runtime : goroutine stack exceeds 1000000000-byte limit fatal error stack overflow

I was writing a CLI program to process some data. I need to call the same function again and again until I finish processing all data records. The number of records is 40,572,219 which is so big. I wrote the function like this. func dbAutoProcessData(db *sql.DB, inId int) { rows, err := db.Query(`SELECT * FROM tbl WHERE info LIKE '%something%' AND id > ? LIMIT 1;`, inId) if err != nil { log.

My Dream OS as a Software Developer

I am thinking of a better operating system. All operating systems right now need more improvement and development to improve usability and user experience. my dream operating system features 🔗 Thoughts on Basic Parts of OS I think the best OS may be just a linux distribution such as Ubuntu, with a desktop environment such as GNOME, COSMIC or PANTHEON. Then add some software tools for normal users and developers.

All Keyboard Shortcuts in Windows OS

Using keyboard shortcuts are faster than using the mouse. Pressing Ctrl + P is faster than moving the mouse, then click on file menu, then moving the mouse to print and click on it. The problem with keyboard shortcuts is that you don’t know which key combinations are used for what, and you did not train yourself to use them. So I collected all keyboard shortcuts used in Windows 7, 8, 10 and 11 in this one post.

keyboard shortcuts in Microsoft Word

Using keyboard shortcuts makes you more efficient and productive as it speed you up. Pressing some key combinations is faster than clicking and moving then click by mouse. So, all IT-related specialists and programmers tend to train themselves to touch typing which is typing faster. In Microsoft Word, there is a keyboard shortcut for almost every function and action. Microsoft Word is one of the Microsoft Office suite. MS Word is designed to be a rich text editor to be used to write books, researches, reports, text documents, .

How to use automatic image loading optimizations in Blogger's blogspot

If you are using Blogger to host your blogspot blog for free, you must use the latest optimization features to serve pages faster to users. As you can see in the following image, there are two features that I added arrows to point to. These two features are off by default, so just turn them on to help speed up your webpages load faster. Let’s know how these features help make your blog pages load faster.

[fixed] Docker desktop on Mac OS says "Docker Engine stopped"

I was developing a new feature in KartBusiness , but when I tried to launch the local development environment with Laravel Sail, Sail said docker is not running. I opened the Docker desktop and there is a message “Docker Engine stopped”. I checked the notifications inside Docker Desktop, and there are too many notifications telling me “Failed to fetch extensions”. My first approach to fix this problem is to terminate Docker Desktop and Docker via Activity Monitor, then start Docker Desktop again and check if it works.

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 things. Some features improved, more features and capabilities added. Here are the list of all features and capabilities kept or added to the website: Futureproof content format 🔗 In the new website, I use markdown files .md as content storage. So I can update or upgrade or even completely change the tech stack without reproducing/rewriting the old content.

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 driver' sudo apt-get purge nvidia* sudo apt-get install nvidia-340 nvidia-settings sudo nvidia-xconfig The fix is to let the built-in ubuntu-drivers program decide automatically which graphics driver to install. Open the terminal and type this command to update the apt repositories. sudo apt update Then, remove all packages started with nvidia using this command.

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 -> 9.6.5 npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.5 npm notice Run npm install -g [email protected] to update! npm notice Here is a screenshot of the npm upgrade notice. Upgrade npm inside Laravel Sail Docker environment 🔗 You can not just run npm install -g npm@9.