Skip to main content

Optimising file transfers by improving efficiency from cp to rsync

Transferring files between development and production environments is a critical task in the deployment process. However, I continue to come across multiple approaches that scale from awesome automation using pipelines to the basic of direct command line entry. Where the basic approaches rely on outdated processes that are inefficient and difficult to maintain.

Mastering cache management using strategies for web optimisation

Deploying updates to production environments is a critical phase in web development, yet it often unveils challenges that can undermine the user experience. A prevalent issue arises when modifications to CSS and JavaScript files lead to inconsistent or broken layouts, as browsers continue to serve cached versions of these essential assets. This discrepancy not only frustrates users but can also tarnish a brand’s reputation for reliability.

How to set up a CKAN environment using Docker with Solr schema configuration

Setting up CKAN in a Docker environment can sometimes require some additional troubleshooting, particularly when working with Solr for search functionality. In this article, we’ll walk through how to set up CKAN 2.11 in a Docker environment with a specific focus on resolving issues related to Solr schema configuration.

 

Prerequisites

Before we start, ensure that you have the following installed on your system:

- Docker
- Docker Compose

 

Understanding and executing common Linux commands for CKAN administration

In this article, we will walk through a series of common Linux commands used for managing CKAN instances on an Ubuntu server with Nginx. We'll cover a variety of actions, explaining each command and its purpose. Whether you’re maintaining a CKAN instance, performing updates, or troubleshooting, this guide will help you understand the underlying operations.

 

The run through

 

Enforcing HTTPS on an Nginx server: a step-by-step guide

In today's security-conscious world, enforcing HTTPS on your web applications is no longer optional—it's essential. Whether you're dealing with government reports or routine security audits, failing to enforce HTTPS can trigger warnings that leave you scrambling for a solution.

How to search for "text" in VS Code while excluding comments

When working with code in Visual Studio Code, you may need to search for specific instances of a function or method, such as self.logger.log. However, it can be frustrating to sift through lines that are commented out, like # self.logger.log. Fortunately, VS Code provides a powerful search feature that allows you to exclude these commented lines from your search results.

 

Best practices and methods on how to create a Drupal 10 patch

When working on Drupal projects, especially in a collaborative environment, it’s crucial to follow best practices for creating and managing patches. Patches are essential for contributing back to the community, applying quick fixes, or sharing custom changes with your team. In this article, we'll explore the recommended method for creating a Drupal 10 patch and discuss when it might be appropriate to use alternative approaches.

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.

Subscribe to 2.x