Skip to main content
104
results
Andrew Fletcher
To set an environment variable on Ubuntu, can be achieved via a few options.  This depends on whether you want the variable to be system-wide or specific to a user's session.  Here are a couple of more common methods for setting environment variables: Setting environment variables for the current session You can set an environment variable for the current user's session by using the export command in your shell. The variable will be available as long as the session is active. To set an...
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...
Andrew Fletcher
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
Logging into the server, and there are packages to be updated.  You know the standard Ubuntu / Linux response 5 updates can be applied immediately. To see these additional updates run: apt list --upgradable 3 additional security updates can be applied with ESM Apps. Learn more about enabling ESM Apps service at https://ubuntu.com/esmFollowed by the action sudo apt update && sudo apt upgrade -y Response Reading package lists... Done E: Could not get lock...
Andrew Fletcher
git clone git@bitbucket.org:{username}/{repo}.git And I was unceremoniously...
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
Twig error Twig\Error\SyntaxError: Unknown "filter" tag. in...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal installation. Current path to the file: web/core/modules/views/src/Plugin/views/argument/ Orignal filename: ArgumentPluginBase.php Adjusted filename: ArgumentPluginBase-adjusted.php   Create a Patch A patch is used to create or override changes in another file.  The command to create a patch is: diff -u {original filename} {changed filename} > {patchfile}.patchdiff -u...
Andrew Fletcher
In the terminal type, the following command: sudo apt updateAfter typing the...
Andrew Fletcher
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...