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
27
results
Andrew Fletcher
•
I installed Lando 3.6.2 and Laravel 9. When I visit the web page, I getting
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.28. in /app/vendor/composer/platform_check.php on line 24
Problem solving
Opening the directory in VS Code, if I run the command
php -vThe response I'm getting is
PHP 8.1.2 (cli) (built: Jan 21 2022 04:47:26) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2,...
Andrew Fletcher
•
Do you want set up a CI/CD process using GitHub Actions?
This is a walk-through...
Andrew Fletcher
•
If like me you tried the command
php artisanHowever, you had the following...
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
•
How to apply a gradient tint over a background image?
Set the background image
The first step is to set the background image. I wanted the image to cover the entire device, so scale aspect fill will be required.
self.backgroundImage = UIImageView(image: UIImage(named: "bgkMain"))
self.backgroundImage.contentMode = .scaleAspectFill
self.view.insertSubview(self.backgroundImage, at: 0)
Set the tint layer
With the background in place, next construct the tint layer. To make...
Andrew Fletcher
•
Working on formatting the date in Xcode, and you come across the situation where...
Andrew Fletcher
•
Adding a floating decimal point for n number of places is quite easy to achieve....
Andrew Fletcher
•
A list of languages for the iOS app in speech mode:
Arabic (Saudi Arabia) -...
Andrew Fletcher
•
During the process of building the app, there are warnings about the code....
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
•
If you have this error, the core issue is the dyld issue.
dyld
dyld is a...