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
103
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
•
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...
Andrew Fletcher
•
Have you ever wanted to use Terminal with a more fluid style and increase your speed and efficiency? This article was inspired by watching a colleague navigate long lines of command navigation using only the arrow keys. While my pain threshold is high, seeing this during a group presentation was painful. It's time to sharpen your shortcuts for command-line navigation. Improving your understanding of Terminal can significantly boost your productivity as a developer. Knowing the right shortcuts...
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...
Andrew Fletcher
•
In the realm of system administration and monitoring, understanding memory usage trends is crucial for maintaining system health and performance. While tools like htop offer real-time insights into memory usage, they lack the capability to provide historical data. So, what if you need to analyze memory usage over the past 24 hours or even a week? Fear not, as Sysstat comes to the rescue with its powerful sar command.
Installing Sysstat
Before delving into historical 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...
Andrew Fletcher
•
To determine the size of a directory using the terminal, you can use the du...