Skip to main content
45
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
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
These steps are for Drupal 8 and 9.   Export your database Order here is...
Andrew Fletcher
Loading the code in a platform - in this article, I'll be focusing on Android...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch both local and remote.   Steps to renaming a branch Rename your local branch: If you are on the branch you want to rename: git branch -m new-nameWhereas, if you're on a different branch: git branch -m old-name new-nameDelete the old-name remote branch and push the new-name local branch: git push origin :old-name new-nameReset the upstream branch for the new-name local branch:Switch to the branch and then: git...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
Goal: I want to download a table list to a txt or csv file. Initially, as a root user I tried using drush drush sql-dump --tables-list=media_field_data > db-list.sqlOf course as a root user and Drush set-up not as root. failed with  Command 'drush' not found, did you mean: command 'rush' from deb rush (1.8+dfsg-1.1)My bad. Changing the user away from root and running the command again drush sql-dump --tables-list=media_field_data > db-list.sqlProduced a permission error bash:...
Andrew Fletcher
This issue I have a folder with about 10,000 files in it.  I want to scan...
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...