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
26
results
Andrew Fletcher
•
Updating to PHP 8.1, I found this interesting code stop...
Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in bales_preprocess() (line 162 of /var/www/{path/to/file})
What is trim(). Very simply, it removes whitespaces (if they exist) at the start or end of a string.
Andrew Fletcher
•
Running Docker
Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is...
Andrew Fletcher
•
Adding a pem file to secure ejabbered on the server for chat connection.
Getting...
Andrew Fletcher
•
To create a .pem file, is quick once you have your .p12 certificate. I won't go through the process regarding p12 file generation as there are many sites that outline these steps. If you cannot find a site that outlines this make a comment below and I'll point in the right direction.
Open the terminal and go to the path where you save the apns-cert.p12. where and follow the below command to generate the .PEM file.
The command below depends on the following two elements:
Name of the...
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...
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 iOS. Eventually these articles will tell my story as a newbie to app development.
My initial plan is to learn completely differently to how I would normally. I usually, read a bunch of books about the subject and jump straight in with coding. This time I will force myself to slow down. Watch a couple of videos and follow there steps. Hmm, I will require patience for this!
First video...