Skip to main content
96
results
Andrew Fletcher
  Continuing on from the Drupal 9 to Drupal 10 upgrade outline written earlier... Upgrading Drupal 9 to Drupal 10.  However, the point of difference is this article works through the actual action steps of the upgrade. Planning and testing is critical for the Drupal to version 10 process to work successfully.  As some of the environments that I work in are deployed via CD/CI pipelines.   Resource settings Type Version Drush 11.6.0 Drupal 9.5.10   1. Download...
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...
Andrew Fletcher
To begin, note that Lando is often used for web development and it may not be optimised for running long-running Python scripts or applications.  It's primarily designed to host web services, so if you have specific Python development requirements, you might want to consider using a dedicated Python development environment or container.  However, Lando can be useful for running Python scripts in the context of web development projects. To run Python within a Lando environment, you can...
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...
Andrew Fletcher
Permission error Traceback (most recent call last): File "/var/www/html/open-ai/summarise-ai.py", line 144, in <module> getfiles() File "/var/www/html/open-ai/summarise-ai.py", line 26, in getfiles summarise(filename) File "/var/www/html/open-ai/summarise-ai.py", line 105, in summarise savedata(filename, refine_outputs['output_text']) File "/var/www/html/open-ai/summarise-ai.py", line 118, in savedata with open(file_name, 'w') as json_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',...
Andrew Fletcher
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...