Skip to main content
34
results
Andrew Fletcher
In the realm of system administration and monitoring, understanding memory usage trends is crucial for maintaining system health and performance. While tools like htop offer real-time insights into memory usage, they lack the capability to provide historical data. So, what if you need to analyze memory usage over the past 24 hours or even a week? Fear not, as Sysstat comes to the rescue with its powerful sar command.   Installing Sysstat Before delving into historical memory usage...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
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
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
  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 -y  Check if Python3 is already installed python --versionResponse Unknown option: -e usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information.Or python3 --versionResponse Python 3.8.10  Update Python If you want to update to the latest version sudo apt-get install python3...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...