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
60
results
Andrew Fletcher
•
The user parameters provides details about a specific user based on the following parameters:
User uid;
The output of this query will return user profile data only of the fields containing data. An example of the data returned includes, but is not limited to the following:
Name {name} - in the system this is their username;
Created {created}
Firstname {field_firstname}
Lastname {field_lastname}
Gender {field_gender}
Calling a query
To call a user query the details are...
Andrew Fletcher
•
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
•
On your local OSX environment using Terminal or iTerm you can create a MySQL...
Andrew Fletcher
•
This article assumes that you are running Docker and Lando already. Don't...
Andrew Fletcher
•
While working with lando, I had the following error
ERROR: for safs_appserver_1...
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
•
Working in Lando and you have hit the situation where you need to view the log...
Andrew Fletcher
•
Changes in your .env file
Connecting your app to the new environment you need to...
Andrew Fletcher
•
How to apply a gradient tint over a background image?
Set the background...
Andrew Fletcher
•
Working on formatting the date in Xcode, and you come across the situation where you need to check or test the date format. NSDateFormatter is a great site to check your date format string. I wanted to transform the 2019-08-15 10:34:49+1000 to Aug 15, 12:34 AM.
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "MMM d, h:mm a"
let dateFormatted = dateFormatter.string(from: run.timestamp!)dateFormatted prints Aug 15, 12:34...
Andrew Fletcher
•
Adding a floating decimal point for n number of places is quite easy to achieve....
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...
Andrew Fletcher
•
If you have this error, the core issue is the dyld issue.
dyld
dyld is a...