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
42
results
Andrew Fletcher
•
Ubuntu 20.04 comes with Python 3.8 installed. If you run the update script, you'll be informed that the latest version of Python is running. But here is the kicker, the actual latest version is currently 3.11.6... see https://www.python.org/downloads/source/
Use the following commands to download the Python 3.11.6 source code
Download the latest version
cd /usr/src
sudo wget https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz
Extract archive
Once the download is...
Andrew Fletcher
•
Loading the code in a platform - in this article, I'll be focusing on Android...
Andrew Fletcher
•
Changes to the Python3 package list post installing packages each of the...
Andrew Fletcher
•
Python3 error
None of PyTorch, TensorFlow >= 2.0, or Flax have been...
Andrew Fletcher
•
When running python openai command, I was greeted...
Andrew Fletcher
•
Python3
Error
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/{project}/.local/lib/python3.8/site-packages/markupsafe/__init__.py)
Update all PIP packages
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -UHowever, this failed due to
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
To resolve the X509_V_FLAG_CB_ISSUER_CHECK error, run
sudo pip3 install pyOpenSSL --upgrade
sudo pip3...
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
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
•
Running Docker
Dangerous word... I'm assuming that Docker is installed. Don't know how to check? Using Terminal (I prefer iTerm2), run the following command
docker -D info
The set-up
Go to your project directory, and create a docker folder and a “docker-compose.yml” file:
mkdir/Users/{your_name}/Sites/{your_directory}
cd /Users/{your_name}/Sites/{your_directory}
mkdir docker
cd docker
vim docker-compose.ymlCopy following code and add it in to the docker-compse.yml...
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...
Andrew Fletcher
•
Resetting Docker is basically following the start parameters. All...