Skip to main content
20
results
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial to understand that the issue lies within the "less" package, not Nginx itself. The vulnerability affects "less" before version 606, where close_altfile in filename.c in less omits shell_quote calls for LESSCLOSE, potentially allowing shell command injection. The current less version is 551, which is vulnerable. You'll need to upgrade "less" to a version at or beyond 606. CVE-2022-48624 close_altfile in filename.c in...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
Overview of the elements Set Up API Keys Obtain API keys for Pinecone and...
Andrew Fletcher
The error message "RuntimeError: Directory 'static/' does not exist" typically...
Andrew Fletcher
It seems like you're using the CharacterTextSplitter class from the tiktoken library to split text into chunks. The CharacterTextSplitter.from_tiktoken_encoder() method is used to create an instance of the CharacterTextSplitter class with specific configuration settings.   Breakdown of the parameters used in this method separator This parameter specifies the character or sequence of characters used to separate the text into chunks. In your example, the separator is set to "\n", which means...
Andrew Fletcher
OpenAI request timeout? Retrying...
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
  Set up your server Begin by cleaning up your server environment.  Do...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
Finding the issue with a server 500 error The Nginx error logs are showing too...