developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
479
results
Andrew Fletcher
•
If you’re running a website on Drupal 10.x or 11.x, you might encounter a warning like this in your logs:
> "Warning: filemtime(): stat failed for sites/default/files/php/twig/67312f8c6d7ee_paragraph.html.twig_oBJkUYn5Hj1Gltpsh3AXvAcSC/ErOs4_HSnzbWqmYFWDDuM3htp2ANqUUtX84lTbfu2Bg.php in Drupal\Component\PhpStorage\MTimeProtectedFileStorage->checkFile() (line 63 of core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php)."Don’t worry – it’s just Drupal’s way of saying, “Hey, I...
Andrew Fletcher
•
For many Python developers and engineers, there’s a familiar yet frustrating...
Andrew Fletcher
•
Why memory management matters and how Python developers can use generators and...
Andrew Fletcher
•
Addressing inconsistencies in function returns within development teams
In our...
Andrew Fletcher
•
Setting up CKAN in a Docker environment can sometimes require some additional...
Andrew Fletcher
•
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
System status and package updates
1. Checking system uptime - `uptime`: This command displays how long...
Andrew Fletcher
•
When working with code in Visual Studio Code, you may need to search for...
Andrew Fletcher
•
Installing software on a Windows machine can sometimes require elevated...
Andrew Fletcher
•
Versioning is an important aspect of any mobile app development process. In...
Andrew Fletcher
•
Working on a project where the JSON dataset contains over 460,000 named records,...
Andrew Fletcher
•
If you're working with a large codebase in Visual Studio Code (VS Code) and need to find specific occurrences of a term, but only when it's a standalone word possibly surrounded by spaces or parentheses, regular expressions (regex) are your best friend. This guide will walk you through the steps to efficiently search for these instances, I'll be searching for the term 'SBT' and ensuring you don't pick up unwanted matches like `'ADSBTCR'` or `'SBT123'`.
Why use regular expressions?
Regular...
Andrew Fletcher
•
In today's security-conscious world, enforcing HTTPS on your web applications is...
Andrew Fletcher
•
Working with Docker can be a rewarding but occasionally frustrating experience,...
Andrew Fletcher
•
Introduction
For a while now, one persistent issue has been bugging me: a...
Andrew Fletcher
•
When working on Drupal projects, especially in a collaborative environment, it’s...