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
66
results
Andrew Fletcher
•
Whilst installing Python 3.11.6 and running the command 'sudo make altinstall', the following error
Creating directory /usr/local/share/man/man1
/usr/bin/install -c -m 644 ./Misc/python.man \
/usr/local/share/man/man1/python3.11.1
if test "xupgrade" != "xno" ; then \
case upgrade in \
upgrade) ensurepip="--altinstall --upgrade" ;; \
install|*) ensurepip="--altinstall" ;;...
Andrew Fletcher
•
Ubuntu 20.04 comes with Python 3.8 installed. If you run the update...
Andrew Fletcher
•
Adding an SSL wildcard certificate to an Ubuntu server involves several steps....
Andrew Fletcher
•
When logging into Ubuntu server you will see a response similar to
Welcome to...
Andrew Fletcher
•
Forcing https and www or non-www is a process that I was a custom to through...
Andrew Fletcher
•
git reset, git revert, and git cherry-pick are three Git commands used for different purposes related to managing your version control history. Here's a brief overview of each command:
git reset
git revert
git cherry-pick
Snapshot
git revert
is to roll back to a previous version of the repo you're working on
git reset
simply wipe all changes made since the last commit. You don't want to commit the changes you have locally, however, you want to reinstate the conditions as they...
Andrew Fletcher
•
The error
> Task :app:packageDebug FAILED
Execution failed for task...
Andrew Fletcher
•
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
•
Logging into the server, and there are packages to be updated. You know...
Andrew Fletcher
•
Update Ubuntu 20.04
To begin update the server using the command
sudo apt update...
Andrew Fletcher
•
Install the CKAN package
Begin by cleaning up your server environment. Do this by updating Ubuntu’s package index:
sudo apt updateNow you can install the packages that CKAN requires (including ‘git’, which will allow you to install CKAN extensions):
sudo apt install -y libpq5 redis-server nginx supervisorResponse
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
fontconfig-config...
Andrew Fletcher
•
If you're planning to create extensions, generating CKAN from source is the...
Andrew Fletcher
•
git clone git@bitbucket.org:{username}/{repo}.git
And I was unceremoniously...
Andrew Fletcher
•
Each time a release is prepared for Google Play, the steps I work through are as...
Andrew Fletcher
•
Something I haven't had to do in a while is to change the name of a Git branch...