Skip to main content

Troubleshooting PHP 8.3 mbstring issues on Ubuntu with Nginx

Maintaining a Drupal site is usually smooth sailing once the environment is properly set up. However, even in a stable environment, updates to modules can sometimes reveal underlying configuration issues that weren't apparent before. This was the case when I updated a contrib module on a Drupal 10.3 site, which suddenly started throwing errors related to the mbstring PHP extension.

 

Troubleshooting bash script errors - a guide to fixing line endings and hidden characters

If you’ve ever encountered strange errors while running a bash script, you’re not alone. Errors like : not found and Syntax error: end of file unexpected (expecting "then") can be particularly frustrating, especially when the script appears to be perfectly fine. This a situation that I had recently involving such errors and this article shows how I was able to resolve them, focusing on line endings and hidden characters.

Using Terminal shortcuts like a pro for efficient command-line navigation

Have you ever wanted to use Terminal with a more fluid style and increase your speed and efficiency? This article was inspired by watching a colleague navigate long lines of command navigation using only the arrow keys. While my pain threshold is high, seeing this during a group presentation was painful. It's time to sharpen your shortcuts for command-line navigation. Improving your understanding of Terminal can significantly boost your productivity as a developer.

How to track the history of Jira tickets moving in and out of a specific fix version

Managing and tracking the progress of Jira tickets is crucial for ensuring that projects stay on track. One common requirement is to monitor how Jira tickets move in and out of specific fix versions. This is useful for the team members who need to keep an eye on release planning and version control.

How to efficiently use find and replace in VS Code

When it comes to text editing, Visual Studio Code (VS Code) is one of the most popular tools among developers. One of its powerful features is the Find and Replace function, which can save you countless hours of manual editing. In this article, we'll explore how to use this function to replace all spaces with a newline character, and then go a step further to find spaces followed by alphabetic characters (excluding numerics), and replace them with newlines.

 

Efficiently managing large file archives in Linux: excluding directories with Zip

Managing large directories, especially those filled with a diverse mix of media such as documents and images, can quickly become cumbersome. In my latest project, dealing with a directory that totals a whopping 87GB, the need for efficient file compression and selective archiving became apparent. How can we streamline this process using the zip command, particularly when we want to exclude non-essential files and directories?

 

Understanding transaction control in MySQL: A guide to START TRANSACTION, ROLLBACK and COMMIT

Recently I came across this piece of gold when dealing with databases, particularly relational ones like MySQL, managing transactions efficiently is crucial to ensure data integrity and consistency. In MySQL, transactions are used to group several SQL commands into a single unit that either completely succeeds or completely fails, ensuring that a database remains in a consistent state.

Exploring historical memory usage monitoring with Sysstat

In the realm of system administration and monitoring, understanding memory usage trends is crucial for maintaining system health and performance. While tools like htop offer real-time insights into memory usage, they lack the capability to provide historical data. So, what if you need to analyze memory usage over the past 24 hours or even a week? Fear not, as Sysstat comes to the rescue with its powerful sar command.

 

How to determine the size of a directory in Terminal

To determine the size of a directory using the terminal, you can use the du (disk usage) command. The syntax for this command can vary slightly depending on the operating system you are using, but a common way to use it is as follows:

 

Subscribe to 2.x