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
16
results
Andrew Fletcher
•
Installing PHP on OSX and it installed PHP 8.2.x. However, for my applications I need to run 8.1.x. How do you switch the current PHP version?
Current version
Check the current PHP version by executing the command
php -vResponse:
PHP 8.2.2 (cli) (built: Feb 5 2023 12:38:16) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.2, Copyright (c) Zend Technologies
with Zend OPcache v8.2.2, Copyright (c), by Zend Technologies
Unlink PHP
To change your PHP version, begin...
Andrew Fletcher
•
Trying to have a chat recently, and Microsoft Teams would not open on MAC OS....
Andrew Fletcher
•
How do you generate a .pem file from an existing .ppk key?
Is putty on your...
Andrew Fletcher
•
Well for me it is very slow. Recently, I upgraded from CentOS 6 to Centos...
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app... shortly afterwards you'll be getting yourself knee deep in changing the language on the fly. Followed by the question – how do you change the language of the app without having to restart the app? To change the language of the app there are a couple of key steps involved:
Adding / managing languages
Managing the app bundle
By the way I have added to GitHub a demo app - switch languages showing how...
Andrew Fletcher
•
Building a contact list using SwiftUI has many challenges.
One challenge is...
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...
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 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...