Skip to main content
13
results
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your computer to do something.  In this instance, I want to rename a batch files in a directory.  Such as changing:   37351001 - BlueSpotted.jpg 37351008 -SpangledEmporer _ 0133A.jpg 37353003 -Black-Bream_3481 .jpg 37353004   -35 - Yellowfin.jpgInstead having these files appear as: 37351001.jpg 37351008.jpg 37353003.jpg 37353004.jpgHowever, I don't have four files.  Wouldn't be worth my time...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
Andrew Fletcher
Registering a user via REST is an important process particularly when the requests come from a mobile device. In working through the process you might have come across error message like: 403 Forbidden : "Only anonymous users can register a user." 422 Unprocessable Entity : "A Password cannot be specified. It will be generated on login."So how did I get these and what to do? First off, check the REST set up in the administration area of Drupal.  Configure User and User registration...
Andrew Fletcher
Whatever you are coding - code clarity is your goal. Before you scream and...
Andrew Fletcher
To create a .pem file, is quick once you have your .p12 certificate.  I...
Andrew Fletcher
I had the issue where I needed to filter an array list by a specific column....
Andrew Fletcher
A handy resource list of fonts for iOS: iOS Font List -...
Andrew Fletcher
https://github.com/kylebrowning/waterwheel.swift After a short amount searching I came across Kyle Browning Waterwheel Pod.  I flipped down to installation and there it is in three steps.  Super.  But wait.  Step one, CocoaPods.  What are pods? https://cocoapods.org/ Easy to follow, in no time cocoapods are added. Using terminal you need to initialise the pod to the directory where the Xcode project is located. cd ~/Path/To/Your/Project/ pod init pod update This...
Andrew Fletcher
Ha you have read it before, one of those throw away lines that is written "just...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in...