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
23
results
Andrew Fletcher
•
Finalising a deployment to Drupal 10 and reviewing the latest log messages.
Flysystem - $context is deprecated
Deprecated function: Creation of dynamic property Drupal\flysystem\FlysystemBridge::$context is deprecated in Drupal\Core\File\FileSystem->doScanDirectory() (line 720 of /var/www/html/content/core/lib/Drupal/Core/File/FileSystem.php)
#0 /var/www/html/content/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'Creation of dyn...', '/var/www/html/c...', 720)
#1...
Andrew Fletcher
•
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your Sites directory and create a new directory using the mkdir command. In this instance I'm going to create a new directory titled ADCE
shortcut command to access the Sites directory
cd ~/SitesCreate the new directory
mkdir ADCEGo in to the new directory
cd ADCERun the devcontainer command
devcontainerThis will require you to respond to prompts. I'll be setting up on PHP 7.4, Drupal 9, MySQL 5.7 and SOLR...
Andrew Fletcher
•
Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As...
Andrew Fletcher
•
Working on a new CentOS 7 server, Node wasn't installed. You can...
Andrew Fletcher
•
I started out with a simple task... install Tailwindcss. What unfolded is...
Andrew Fletcher
•
The purple warning notification of annoyance recently came my way! I...
Andrew Fletcher
•
I'm currently working on a project that requires login, register, forget password functionality in SwiftUI. As I'm developing the code, I came across a great resource for validating an email address with Regex:
http://emailregex.com/
In the end, I leveraged the worked produced on https://stackoverflow.com/questions/25471114/how-to-validate-an-e-mail-address-in-swift
The code used:
extension String {
var isValidEmail: Bool {
let name =...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...
Andrew Fletcher
•
After creating a new view with a @Binding string as follows
struct EditRival:...
Andrew Fletcher
•
What to do when you want to filter a Realm object, using NSPredicate in...