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
71
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
•
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....
Andrew Fletcher
•
If you're planning to create extensions, generating CKAN from source is the preferred option. However, even if you have installed from package, you can make adjustments to creating extensions.
Set up your server
Begin by cleaning up your server environment. Do this by updating Ubuntu’s package index:
sudo apt update && sudo apt upgrade -yNow install the packages required by CKAN (which includes git, which will allow you to install CKAN extensions):
sudo apt-get install...
Andrew Fletcher
•
git clone git@bitbucket.org:{username}/{repo}.git
And I was unceremoniously...
Andrew Fletcher
•
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
•
Git filename error when running the git add command. The error I'm...
Andrew Fletcher
•
Post creating a new branch in the repo, next step was to run the checkout...