Skip to main content
53
results
Andrew Fletcher
A growing list of commands I've used and what they do in no specific order sudo snap install bw ps aux | grep java whoami ip addr show uptime sudo apt update && sudo apt upgrade -y cat /etc/os-release sudo apt-get install needrestart sudo reboot sudo needrestart sudo ckan sysadmin add {name} sudo ckan sysadmin list sudo ckan user list sudo ckan --config /etc/ckan/default/ckan.ini config validate hstr sudo nano /etc/ckan/default/ckan.ini exit  Here's a breakdown of what each of these...
Andrew Fletcher
When attempting to install python libraries on my OSX pip3 install pandas,...
Andrew Fletcher
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
The "Too many open files" error in Python typically occurs when your program has opened more file descriptors than the operating system allows. This error is often seen in situations where files are not being properly closed after use, leading to the exhaustion of available file descriptors.   Close Files Properly Make sure you are closing files after you finish using them. Use the close() method for file objects or, preferably, use the with statement, which automatically closes the file...
Andrew Fletcher
You can use the pip list --outdated command to view a list of installed Python...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
Snapshot of the error File...
Andrew Fletcher
To begin, note that Lando is often used for web development and it may not be...
Andrew Fletcher
You can perform the following steps: Check Apache Modules Apache Struts 2 is typically integrated with Java applications and runs on servlet containers like Apache Tomcat. However, if you want to check for any signs of Struts 2 on Apache, you can look for loaded Apache modules. Run the following command: apache2ctl -MLook for modules related to Struts or Java. For example, if you see a module named mod_struts or anything related to Java, it might indicate Struts 2 is installed. Response Command...
Andrew Fletcher
Lando is a development environment tool that makes it easier to set up 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...
Andrew Fletcher
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...