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
24
results
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to connect to AWS S3, although everything worked seamlessly in AWS-managed environments. This challenge was not just a technical hurdle; it was a crucial bottleneck that needed resolution to ensure smooth Drupal deployments across various AWS environments (dev, staging and production).
Integrating AWS S3 into a local Docker container running Drupal 10 is more than just a technical setup; it’s a transformation that will...
Andrew Fletcher
•
The error you're encountering indicates an issue with the ffi gem during the...
Andrew Fletcher
•
Docker containers list
To view a list of Docker containers that are currently...
Andrew Fletcher
•
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
•
Build the PHP base image with apache-buster using the Dockerfile.base
Since JN...
Andrew Fletcher
•
Creating a bash script
Bash scripts are files containing code that tell your computer to do something. In this instance, I want to rename a batch files in a directory. Such as changing:
37351001 - BlueSpotted.jpg
37351008 -SpangledEmporer _ 0133A.jpg
37353003 -Black-Bream_3481 .jpg
37353004 -35 - Yellowfin.jpgInstead having these files appear as:
37351001.jpg
37351008.jpg
37353003.jpg
37353004.jpgHowever, I don't have four files. Wouldn't be worth my time...
Andrew Fletcher
•
Working on a decoupled React / Drupal 9 site.
Aim: Adjust the output of curated...
Andrew Fletcher
•
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
•
Getting Started with Cocoapods
Installation
Built with Ruby, Cocopods is installable with the default Ruby available on macOS. Using the default Ruby install will require you to use sudo when installing gems.
sudo gem install cocoapodsHowever, if you attempt to install or update Cocopods without Sudo you will hit a permission issue.
gem install cocoapods
Fetching cocoapods-1.11.2.gem
Fetching cocoapods-core-1.11.2.gem
Fetching rexml-3.2.5.gem
Fetching xcodeproj-1.21.0.gem
Fetching...
Andrew Fletcher
•
Running Docker
Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
•
Running Docker and attempting to install a web proxy environment where I'm...
Andrew Fletcher
•
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
•
Create and push to Docker Hub
Creating your own custom image... you need to have...