Skip to main content
62
results
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to run a git merge.  However, in actioning this command, I'm been greeted with the following response 'not something we can merge' ❯ git merge origin/{branch} merge: origin/{branch} - not something we can mergeTo resolve this, first I attempted to do a git checkout to the branch But this was swiftly meet with "did not match any file(s) known to git" git checkout {branch} error: pathspec '{branch}' did not match...
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
Working through and importing JSON data into a content type.   Drush...
Andrew Fletcher
After cloning a site, next you will want to import the config file.  Which...
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the copy [cp] command.  This came about due to 'upgrading' the server from Centos 6 to 7.  Once I had migrated a domain, I ran the following command yes | cp -rf 'stg/core' 'tmpdir'To my surprise, the first run of this command took over 38 minutes to complete.  Crap!  Yes a simple cp -a command is a very painful and slow process.  Read more about the pain and times under Centos 7 in this...
Andrew Fletcher
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
Android Studio error Installation did not succeed. The application could not be...
Andrew Fletcher
Android Studio error error: package android.support.v4.content does not existThis is a problem with plugins using old Android support dependencies instead of the AndroidX equivalent.  As it's a dependency issue, to resolve add jetifier.  I know yet another package... npm install jetifier npx jetify npx cap sync  Tools Ionic CLI : 6.20.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 6.2.0 ...
Andrew Fletcher
Android Studio build errors Build failed error: cannot find symbol if...
Andrew Fletcher
Initialise your Capacitor config​ To initialise Capacitor use the CLI...
Andrew Fletcher
Run the NPX commands to update the app npm run build && npx cap syncRun...
Andrew Fletcher
Goal: Restrict content access through username and password entry. 1: Apache...