How to Display a Configuration File Without Empty Lines and Comments in Linux

When administering Linux servers, you often need to quickly inspect a configuration file while excluding empty lines and comments from the output. This is especially useful when working with large configuration files for Nginx, Apache, MySQL/MariaDB, PHP, SSH, and other services. For example, instead of scrolling through dozens or hundreds of lines of documentation and … Continue reading How to Display a Configuration File Without Empty Lines and Comments in Linux

Happy 35-th Birthday, Linux: The Operating System That Changed the World

Happy 35-th Birthday Linux: The Operating System That Changed the World — A Story of Linus Torvalds and Open Source Revolution August 25, 1991, became one of the most important dates in the history of modern computing. On this day, a young Finnish computer science student named Linus Torvalds announced a small personal project that … Continue reading Happy 35-th Birthday, Linux: The Operating System That Changed the World

What does sed -n ‘BEGIN,ENDp’ /path/to/file.txt Linux shell command do?

🐧 What does this Linux command do? At first glance, it looks simple. But this small command can save a lot of time when working with logs and large text files. Let’s break it down: — a stream editor for processing text; — disables automatic output of every line; — defines the range of lines … Continue reading What does sed -n ‘BEGIN,ENDp’ /path/to/file.txt Linux shell command do?

PHP 31-th Anniversary — A Quick Look at the Evolution of the Language Code from Version 7.4 to 8.4

🎉 PHP 31-th Anniversary — A Quick Look at the Evolution of the Language from 7.4 to 8.4 PHP has come a long way — from a simple scripting tool to a powerful modern language with JIT, async capabilities, enums, readonly classes, and property hooks. Today, on June 8, 2026, (31-th PHP programming language birthday) … Continue reading PHP 31-th Anniversary — A Quick Look at the Evolution of the Language Code from Version 7.4 to 8.4

Gates vs Policies in Laravel: What’s the Difference and When Should You Use Each?

Laravel provides two main mechanisms for handling authorization: Gates and Policies. Both determine whether a user is allowed to perform a specific action — but they serve different purposes, scale differently, and fit different architectural needs. In this post, we’ll break down the differences, show real PHP examples, and give practical guidance on when to … Continue reading Gates vs Policies in Laravel: What’s the Difference and When Should You Use Each?

How to Create a tar+bzip2 Website Archive While Ignoring VCS Folders (.git and others)

🗄️ How to Create a tar+bzip2 Website Archive While Ignoring VCS Folders (.git and others) When backing up web projects, you often need to create a compact archive without including version‑control system directories such as .git, .svn, .hg, or .bzr. These folders can take up hundreds of megabytes and are completely unnecessary in a production … Continue reading How to Create a tar+bzip2 Website Archive While Ignoring VCS Folders (.git and others)

🐳 Basic Docker Workflow Using PHP + MySQL + Laravel

Docker has become a standard tool for local development: it isolates environments, makes projects reproducible, and eliminates the classic “works on my machine” problem. In this post, I’ll walk you through a basic Docker workflow using a simple PHP + MySQL + Laravel stack. 🎯 What We Want to Achieve A PHP container (e.g., PHP … Continue reading 🐳 Basic Docker Workflow Using PHP + MySQL + Laravel

Role-Based Access Control (RBAC) in Modern Laravel

A Practical Guide for PHP & Back-End Developers Modern Laravel applications almost always serve multiple user roles: administrators, managers, editors, customers, API clients, and more. Hard-coding access checks quickly turns into a maintenance nightmare. That’s why Role-Based Access Control (RBAC) remains one of the most effective and scalable authorization models — especially in Laravel-based backends. … Continue reading Role-Based Access Control (RBAC) in Modern Laravel

New Digital Product: Creational Design Patterns (GoF) for Modern PHP Developers

Over the years of working with PHP — from small scripts to large production systems — I’ve noticed one recurring issue: object creation logic tends to get messy very quickly. At first, everything looks simple: $user = new User(); But as applications grow, this turns into: too many new operators scattered across the codebase tight … Continue reading New Digital Product: Creational Design Patterns (GoF) for Modern PHP Developers