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
122
results
Andrew Fletcher
•
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.
In this article, I’ll walk you through a recent experience of enforcing HTTPS on a Drupal site hosted on an Nginx server. We’ll go over the steps taken, challenges encountered, and some useful tools for ensuring your site...
Andrew Fletcher
•
When working on Drupal projects, especially in a collaborative environment, it’s...
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
•
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
•
When it comes to text editing, Visual Studio Code (VS Code) is one of the most...
Andrew Fletcher
•
On a server directory with over 100,000 PDF files, I needed to verify the...
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 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?
The routine of zipping files in Linux
In Linux, zipping files...
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...
Andrew Fletcher
•
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...