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
50
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
•
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python 3.11.5 (latest version).
Errors
GPTSimpleVectorIndex is deprecated
Attempting to run python3.11 model-ai.py and I'm seeing the following response
/home/{user}/.local/lib/python3.11/site-packages/langchain/__init__.py:40: UserWarning: Importing BasePromptTemplate from langchain root module is no longer supported.
warnings.warn(
/home/{user}/.local/lib/python3.11/site-packages/langchain/__init__.py:40: UserWarning:...
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...
Andrew Fletcher
•
By default the maximum file upload size is set to 2MB. It is not a Drupal issue, instead a php issue as upload_max_filesize is set in your php configuration (php.ini file). Therefore it is a server-side configuration. If you have access to the php configuration file, I would recommend to make the changes directly in it. Yet, on some occasions you cannot access the server configuration (on a shared hosting, for instance) and if you wish to alter some of your server...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
•
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
•
At first, I attempted
echo 1 > /proc/sys/vm/drop_cachesResponse
-bash:...
Andrew Fletcher
•
Error when running ckan.ini init
from flask_debugtoolbar import...