Skip to main content
118
results
Andrew Fletcher
At times while developing in October CMS, you will perform a step that kills the site.  Recently, I had transferred the site to production and I was working through our steps to cross check deployment.  This included reviewing the error logger plugin.  The error logger has four tabs Mailer, Slack, Syslog and Relic.  In the syslog tab, I was tweeting the facility, when on saving the change the site the following error greeted me: [2020-10-14 08:01:29] development.ERROR:...
Andrew Fletcher
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
After creating a new view with a @Binding string as follows struct EditRival:...
Andrew Fletcher
Building a contact list using SwiftUI has many challenges. One challenge is...
Andrew Fletcher
What to do when you want to filter a Realm object, using NSPredicate in...
Andrew Fletcher
I had an instance where I needed to move content from a plist to the server database.  To achieve this step, I added a few lines of code where the plist was called and added a call to the API so the data would be on the server. The original code appeared as: class ContactsSource { static var contacts: [Contact] { let data = try! PlistLoader.array(fromFile: "ContactsDB", ofType: "plist") return data.compactMap { Contact(dictionary: $0) } } }I needed to access...
Andrew Fletcher
As a process I apply patches locally first, then using git upload the update(s)...
Andrew Fletcher
Today while in Terminal, I ran a regular script pod update.  However, this...
Andrew Fletcher
I'm going to take you on a journey about adding a gradient tint to a...
Andrew Fletcher
Creating a new SwiftUI project is a quick process.  There are already...
Andrew Fletcher
To copy the content of a directory /source to another existing directory /destination can be achieved with the command cp -a cp -a source/. destination/ Changing the variables accordingly: source = challenge/vendor/ destination = stg/vendor/ cp -a challenge/vendor/. stg/vendor/ The -a option is an improved recursive option, that preserve all file attributes and also preserves symlinks; The full point (.) at end of the source path (i.e. challenge/vendor/.) is a specific cp syntax...
Andrew Fletcher
First transfer the drupal-8.8.x.tar.gz file to your directory Via your ssh...
Andrew Fletcher
To get your ip address in Terminal on OSX on WIFI ipconfig getifaddr en0Whereas...