developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
119
results
Andrew Fletcher
•
On a server directory with over 100,000 PDF files, I needed to verify the existence of specific documents. Whether there are a few hundred or whatever the number of files, this article explores the practical use of command-line tools to quickly ascertain whether a file is present. In the area of server management or application development, especially on systems like Ubuntu equipped with Nginx, it's crucial to perform routine checks to ensure that all necessary files are in place. Whether it's...
Andrew Fletcher
•
To review the content of files being generated in the /tmp directory on an...
Andrew Fletcher
•
Managing large directories, especially those filled with a diverse mix of media...
Andrew Fletcher
•
In the realm of system administration and monitoring, understanding memory usage...
Andrew Fletcher
•
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
•
Continuing on from the Drupal 9 to Drupal 10 upgrade outline written earlier... Upgrading Drupal 9 to Drupal 10. However, the point of difference is this article works through the actual action steps of the upgrade.
Planning and testing is critical for the Drupal to version 10 process to work successfully. As some of the environments that I work in are deployed via CD/CI pipelines.
Resource settings
Type
Version
Drush
11.6.0
Drupal
9.5.10
1. Download...
Andrew Fletcher
•
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
•
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
•
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
•
You can use the pip list --outdated command to view a list of installed Python...
Andrew Fletcher
•
In our projects, team members frequently generate new Git branches linked to the same Jira number, resulting in cluttered and disorganised structures that can pose challenges for both current and future developers. For instance:
Jira: ABC-123
Ticket work: Reformat headers
Over time, these branches accumulate and become disorganised, resulting in names like:
ABC-123-reformat-headers
ABC-123-format-headers
ABC-123-format-header
This can lead to a cluttered and inefficient workflow. It's preferable...
Andrew Fletcher
•
To begin, note that Lando is often used for web development and it may not be...
Andrew Fletcher
•
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...
Andrew Fletcher
•
The "keystore password was incorrect" error in keytool indicates that the...
Andrew Fletcher
•
In Vim, following is an outline of the vi(m) functions you can utilise whilst in...