developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
6
results
Andrew Fletcher
•
I had been running a few Centos 6 servers just past their EOL (30th November 2020) and it was time to kick in to action a plan I had been working on when I realised EOL was on my doorstep.
A month or so beforehand, I started researching options to upgrade to Centos 7. Okay initially I wanted to jump Centos 7 and charge in to Centos 8 which had a planned EOL of 2029. CentOS 8 had been stable for well over a year. Not bad, closer to two years would have been...
Andrew Fletcher
•
I need to set the default php-version of a subscription to php7.3. The...
Andrew Fletcher
•
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
•
Building a contact list using SwiftUI has many challenges.
One challenge is...
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 =...