Skip to main content
116
results
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...
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.  In my instance, the column is language.  To be able to reduce the query to the language column the code required is levels = selectedCategory?.levels.filter("language = %@", language)Language can be any string, in this instance for me language is a two alpha character such as 'fr', 'en' or 'de'. Further to this you can continue to chain this query through including sort as per levels =...
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...
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...
Andrew Fletcher
While I have posted an article about how to POST an image using REST in Drupal 8... the journey there can be slow.  Crawling through the errors to eventually spot the missing link.  For me the how to is as important as the solution. On the journey I did receive the following 404 Not Found error: GuzzleHttp\Exception\ClientException: Client error: `GET https://yourdomain.com/sites/default/files/pictures/imagename01.jpg` resulted in a `404 Not Found` response: <!DOCTYPE...