Skip to main content
328
results
Andrew Fletcher
16 Apr 2023
Creating a foreach loop such as  var maxDigits: Int = 5 private var pinDots: some View { HStack { ForEach(0..<maxDigits) { index in ZStack { Image(systemName: self.getImageName(at: index)) .font(.system(size: 50.0, weight: .thin, design: .rounded)) .foregroundColor(.white) .background( index < pin.count ? Color.black.opacity(0.8) : .clear).cornerRadius(35.0) } ...
Andrew Fletcher
01 Apr 2023
How to count the number of files in a directory.  At some point you'll have...
Andrew Fletcher
20 Mar 2023
Docker containers list View a list of the Docker containers up docker...
Andrew Fletcher
27 Feb 2023
Running Docker, I deleted the images and containers they had been built to...
Andrew Fletcher
25 Feb 2023
I've recently upgraded the server Ubuntu 20.04 updating the PHP version...
Andrew Fletcher
13 Feb 2023
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my applications I need to run 8.1.x.  How do you switch the current PHP version?   Current version Check the current PHP version by executing the command php -v Response: PHP 8.2.2 (cli) (built: Feb 5 2023 12:38:16) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.2, Copyright (c) Zend Technologies with Zend OPcache v8.2.2, Copyright (c), by Zend Technologies   Unlink PHP To change your PHP version, begin by...
Andrew Fletcher
12 Feb 2023
Update Ubuntu 20.04 To begin update the server using the command sudo...
Andrew Fletcher
17 Jan 2023
A recent upgrade to PHP 8.1, has highlighted an error that hadn't been...
Andrew Fletcher
13 Jan 2023
This guide has been compiled as a reference tool on how to access field...
Andrew Fletcher
06 Jan 2023
Setting up the admin password.   Process: 1. Edit jetty.xml To begin...
Andrew Fletcher
06 Jan 2023
Looking at composer I first wanted to check the current version, which is actioned by running the following command composer -V The response I was seeing Composer version 2.1.5 2021-07-23 10:35:47     How to update to the latest version of Composer? Going to the Composer site, today the latest version is 2.5.1.  To update my version to this I need to run composer self-update However, if you have the following response [Composer\Downloader\FilesystemException] Filesystem...
Andrew Fletcher
06 Jan 2023
How do you remove a file from git? Use the command (rm) to remove files...
Andrew Fletcher
28 Dec 2022
Working in Drupal 9.5 and I'm now getting the following cache tag...
Andrew Fletcher
27 Dec 2022
Regular commands for brew   Brew update This updates Homebrew itself....
Andrew Fletcher
23 Dec 2022
Moving a Git repo due to a change of agencies   Steps to change the...