Skip to main content
115
results
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
Registering a user via REST is an important process particularly when the...
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
To copy the content of a directory /source to another existing directory...
Andrew Fletcher
First transfer the drupal-8.8.x.tar.gz file to your directory Via your ssh program (for us Terminal on OSX), enter the path to the directory where you transferred the drupal-8.8.x file gunzip -c drupal-8.8.0.tar.gz | tar xopf - rm -rf /var/www/vhosts/example.com/subdir/drupal-8.8.0.tar.gz rm -rf /var/www/vhosts/example.com/subdir/core ; rm -rf /var/www/vhosts/example.com/subdir/modules ; rm -rf /var/www/vhosts/example.com/subdir/profiles ; rm -rf...
Andrew Fletcher
To get your ip address in Terminal on OSX on WIFI ipconfig getifaddr en0Whereas...
Andrew Fletcher
While I have posted an article about how to POST an image using REST in Drupal...
Andrew Fletcher
You have been working hard on getting comments being added (POST) through REST...
Andrew Fletcher
For others that have spent countless hours getting this to work and are...