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
39
results
Andrew Fletcher
•
DDEV has become a popular tool for local web development, offering a streamlined approach to managing Docker-based environments. However, setting up and managing DDEV projects, particularly with the latest versions of Docker Desktop, can present challenges. This article guides you through resolving key issues, setting up Drupal, and managing multiple projects effectively.
Overcoming common DDEV setup issues
Problem: Port conflicts and router errors
One of the most common errors developers...
Andrew Fletcher
•
Securing sensitive content is essential for protecting data integrity and user...
Andrew Fletcher
•
Docker containers list
To view a list of Docker containers that are currently...
Andrew Fletcher
•
Setting up CKAN in a Docker environment can sometimes require some additional...
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 warning on Drupal's 'status report' page that reads:
GD library
library bundled (2.1.0 compatible)
Supported image file formats: GIF, PNG.
Unsupported image file formats: JPEG, WEBP.Check the PHP GD installation documentation if you want to add support.
It was time to dig into the problem and resolve this warning once and for all.
When running Drupal in a Docker environment, you might encounter issues with image...
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to...
Andrew Fletcher
•
Overview of the elements
Set Up API Keys
Obtain API keys for Pinecone and...
Andrew Fletcher
•
The error message "RuntimeError: Directory 'static/' does not exist" typically...
Andrew Fletcher
•
It seems like you're using the CharacterTextSplitter class from the tiktoken...
Andrew Fletcher
•
OpenAI request timeout?
Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised ServiceUnavailableError: The server is overloaded or not ready yet..Try increasing the timeout parameter. For example,
llm = ChatOpenAI(temperature=0, model_name=model)Change to
llm = ChatOpenAI(temperature=0, model_name=model,...
Andrew Fletcher
•
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
•
Set up your server
Begin by cleaning up your server environment. Do...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
•
Working in an AWS ec2 environment, my goal is to access the server via...