developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
495
results
Andrew Fletcher
•
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.
Why patches matter in Drupal development
Patches serve as a way to...
Andrew Fletcher
•
If you're working with Drupal on an Ubuntu 24.04 server, it's common to use the...
Andrew Fletcher
•
Maintaining a Drupal site is usually smooth sailing once the environment is...
Andrew Fletcher
•
If you’ve ever encountered strange errors while running a bash script, you’re...
Andrew Fletcher
•
Managing dependencies in a web project can be challenging, especially when...
Andrew Fletcher
•
If you've ever worked in a cross-platform development environment, you've likely encountered line ending issues. These can manifest as warnings in Git, such as:
warning: in the working copy of 'file/path/filename', CRLF will be replaced by LF the next time Git touches itThese warnings arise from differences in line endings between Windows (CRLF) and Unix/Linux (LF) systems. This article will guide you through resolving these issues by configuring your repository to handle line endings...
Andrew Fletcher
•
Have you ever wanted to use Terminal with a more fluid style and increase your...
Andrew Fletcher
•
Managing and tracking the progress of Jira tickets is crucial for ensuring that...
Andrew Fletcher
•
When it comes to text editing, Visual Studio Code (VS Code) is one of the most...
Andrew Fletcher
•
The current Nginx version running is 1.18.0. It seems like the Nginx...
Andrew Fletcher
•
Recently, after upgrading to Ubuntu 24.04, we encountered a significant challenge with our Apache Solr service—it refused to restart. This post documents the steps I took to diagnose and resolve the issues, providing a clear guide for anyone facing similar troubles.
Initial troubleshooting
The journey began with a simple command to check the status of our Solr service:
sudo service solr statusThe response indicated that the service had failed:
× solr.service - LSB: Controls Apache Solr as...
Andrew Fletcher
•
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
•
On a server directory with over 100,000 PDF files, I needed to verify the...
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to...
Andrew Fletcher
•
Managing files on a server often includes tasks like clearing logs or resetting...