Skip to main content
94
results
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up 57992.5 MB, where locally the site size is showing 957MB.  There is something serious happening here and I need to establish the problem quickly.  When dealing with a significant discrepancy in site size between a local environment and a server, it's important to identify the root cause of the larger disk usage on the server.    Approaches for discovering the issue(s)   1. Analyse Large...
Andrew Fletcher
  Continuing on from the Drupal 9 to Drupal 10 upgrade outline written...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
You can use the pip list --outdated command to view a list of installed Python packages that have newer versions available. This command will show you which packages are outdated and can be updated to the latest versions. Here's how you can use it pip list --outdatedThis command will display a list of installed packages along with their current version and the latest version available. If there is an update available for a package, it will be listed in the output. To update a specific package,...
Andrew Fletcher
To begin, note that Lando is often used for web development and it may not be...
Andrew Fletcher
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...
Andrew Fletcher
The "keystore password was incorrect" error in keytool indicates that the...
Andrew Fletcher
In Vim, following is an outline of the vi(m) functions you can utilise whilst in...
Andrew Fletcher
The os.makedirs(directory_path) function in Python can be used with both absolute and relative paths. Whether you should use an absolute or relative path depends on your specific use case and the location where you want to create the directory:   Absolute Path Use an absolute path when you want to specify the exact location in the file system, starting from the root directory (e.g., /path/to/new/directory). It ensures that the directory is created at the specified location, regardless of...
Andrew Fletcher
Permission error Traceback (most recent call last): File...
Andrew Fletcher
You can move a file from one directory to another in Python using the shutil...
Andrew Fletcher
To set an environment variable on Ubuntu, can be achieved via a few options....
Andrew Fletcher
Whilst installing Python 3.11.6 and running the command 'sudo make altinstall',...