Skip to main content
63
results
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
Git filename error when running the git add command.  The error I'm...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
Updating NPM packages using npm update and I'm seeing the following response npm...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
This issue I have a folder with about 10,000 files in it.  I want to scan through the directories and isolate files that are different from what sits in the database.  How do you generate a list of file names of all the files into a single txt file?   Solution One option is using the list command ls > filename-list.txtHowever, this option will generate a list of the current directory, listing directories by name only and therefore not including file from each of the directories...
Andrew Fletcher
Using Homebrew for speed tests... I'm using Speediest CLI - for more details go...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
How to count the number of files in a directory.  At some point you'll have...
Andrew Fletcher
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
Andrew Fletcher
How do you remove a file from git? Use the command (rm) to remove files from your local git repository git rm --cachedIt's important to note the --cached flag deletes the file from your git repository, it becomes an untracked file in your project folder.  For the change(s) to kick in, you need to commit the changes.
Andrew Fletcher
Moving a Git repo due to a change of agencies   Steps to change the...
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
This article works through the steps to update dependencies in package.json...