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
•
For many Python developers and engineers, there’s a familiar yet frustrating situation where a process abruptly stops and simply returns “Killed” in the terminal. This ambiguous response, often given without further information, can be perplexing. However, in most cases, a process is killed due to memory limitations or system restrictions. In this article, we’ll look at common reasons why Python processes get terminated this way, and how to identify and address the underlying causes.
Why...
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...
Andrew Fletcher
•
When working with code in Visual Studio Code, you may need to search for specific instances of a function or method, such as self.logger.log. However, it can be frustrating to sift through lines that are commented out, like # self.logger.log. Fortunately, VS Code provides a powerful search feature that allows you to exclude these commented lines from your search results.
The challenge
Suppose you want to search for all occurrences of self.logger.log in your codebase, but you don't want to...
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...
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
•
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...
Andrew Fletcher
•
If you're working with Drupal on an Ubuntu 24.04 server, it's common to use the...