Posts

My ToDo List for 2024 (daily updates)

waffarx cash back

[fixed] Netlify: Error: Failed to Load Modules. Hugo Theme Submodule

I removed and re-added a submodule of themes/kmt Hugo theme. But when Netlify tried to deploy my updated web blog an error occurred. The error message is this. Error: failed to load modules: module "kmt" not found in "/opt/build/repo/themes/kmt"; either add it as a Hugo Module or store it in "/opt/build/repo/themes".: module does not exist The error says that kmt theme directory does not exists and it is true. But the problem is in my process of removal of old kmt theme.

How to effectively delete a git submodule

I need to remove a git submodule from my Hugo website. I installed a theme called kmt for my web blog, but I want to remove it now. It is nice to mention that the kmt hugo theme is open source and developed by me. To remove a submodule you need to: delete the relevant section from the .gitmodules file 🔗 [submodule "themes/ananke"] path = themes/ananke url = https://github.com/theNewDynamic/gohugo-theme-ananke.git -[submodule "themes/kmt"] - path = themes/kmt - url = https://github.

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.

What specs make an image beautiful?

Wanna take a beautiful photo to post it on your Facebook? or you wanna take a beautiful photo of a product to post it on social media to attract product sales? Wanna take a photo of a group of tourists to post it on your social media pages of your tour company? or wanna take a beautiful selfie to post it on instagram? Here are some unknown simple secrets of a beautiful image taken or created.

Tags: marketing

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.