Author

Force Git to Use LF instead of CR+LF on Windows
Force Git to Use LF instead of CR+LF on Windows

When working with Git, especially in a cross-platform environment, line ending settings are essential for maintaining code consistency and preventing unintended changes. This article provides a detailed guide on properly configuring end-of-line (EOL) sequences to use LF (Line Feed) under Windows systems. Understanding Line Endings Before we dive into configuration, let’s understand what line endings... » read more

PHP – Parse and Extract Image URL from HTML
PHP – Parse and Extract Image URL from HTML

When working with HTML content, it is often necessary to extract specific information, such as image URLs, from the markup. In PHP, there are multiple approaches to achieve this. In this article, we will explore two commonly used methods: preg_match_all and the PHP DOMDocument class. Let's assume we have an HTML content snippet as follows:... » read more

Manually Register or Add a User in Laravel Command Line
Manually Register or Add a User in Laravel Command Line

Laravel is a widely-used, open-source PHP web application framework. One of its many strengths is how it handles authentication. Authentication is crucial in web development as it is used to establish a user's identity before granting access to protected resources within an application. Laravel provides an elegant and simple way to handle authentication, which is... » read more

VirtualBox – Add a Shared Folder in Windows 10
VirtualBox – Add a Shared Folder in Windows 10

A boring article is usually a story on my blog. We've all had those moments where the monotony of a day takes its toll. However, there are also those days where an unexpected event throws everything off course. The latter happened to me recently, and I decided to document it, not just to inform but... » read more

Install Python 3 and Pip on Windows 10
Install Python 3 and Pip on Windows 10

If you are aspiring to become a developer or want to automate repetitive tasks, Python is an excellent programming language to learn. It is easy to grasp, versatile, and extensively used in various fields, including web development, data analysis, artificial intelligence, and more. In this guide, we will walk you through the steps to install... » read more

PHP – Convert Seconds into Hours and Minutes
PHP – Convert Seconds into Hours and Minutes

Converting seconds into a more intuitive format of hours and minutes is essential in creating user-friendly applications. This guide explores the practical techniques PHP developers can use to convert timestamps into a human-readable format, enhancing the user experience.