Programming

Kart Business Project

Predictions for the Future of Programming Future in 2030

OCR Software made by Abanoub Hanna - Software Developer

Should I use `mb_strlen($text, 'utf-8')` or `strlen($text)` in PHP ?

In most cases, you should use mb_strlen($text, 'utf-8') in PHP. Here’s a breakdown of the reasons: Why mb_strlen is the recommended? 🔗 Accuracy for Multibyte Characters: mb_strlen is designed …

Don't Communicate by Sharing Memory, Share Memory by Communicating: A Go Approach

This concept, a core principle in Go’s concurrency model, can be confusing at first glance. Let’s break it down with practical examples in Go, highlighting the difference between unsafe …

How I improved Kartbusiness.com page loading speed from 52 to 94

I used PageSpeed Insights , to detect the performance bottlenicks so I can analyze and fix the performance issues. Here are all optimizations I did on KartBusiness.com to improve the PageSpeed …

Execute a command once per line of piped input?

How to execute a command once per line of the piped input? or how to pipe each line at a time in linux terminal? is the same question. There are two main ways to achieve this. Using a while loop with …

Ed Line Editor for Beginners: A Practical Cheat Sheet

ed : The original Unix text editor. ed is a line editor for the Unix operating system. It was one of the first end-user programs hosted on the system and has been standard in Unix-based systems ever …

Awk: A Swiss Army Knife for Text Manipulation

What is awk ? 🔗 awk is a powerful programming language for working on text files. It’s particularly handy for extracting specific data from files, manipulating columns, and performing …

sed: Stream Editor for Text Manipulation

sed (Stream Editor) is a powerful command-line tool used for manipulating text streams. It’s like a search-and-replace tool on steroids, allowing you to modify text files in various ways. sed is …

Git Subtree: Managing Subprojects Within Your Git Repository

What is Git Subtree ? 🔗 Git subtree is a powerful Git technique that allows you to include an entire separate Git repository as a subdirectory within your main project’s repository. This is …

Git Cola: A Friendly GUI for Git

What is Git Cola ? 🔗 Git Cola is a free and open-source graphical user interface (GUI) for Git. If you find the command-line interface of Git a bit daunting, Git Cola provides a user-friendly way to …

Managing Big Files with Git Annex: A Beginner's Guide

Git is a fantastic version control system for code, but it can struggle with large files like videos, datasets, or design assets. That’s where Git Annex comes in! It’s an extension to Git …