Changing git push from passphrase
Changing git push from passphrase? There are several ways to tackle this step. I'm going to focus one of these steps.
From your web directory root, look for your .git directory. Then open the .git...
cd .git
Next using your shell prompt (iTerm2), view the contents of the config file
vim config
Presently the config file looks like the following
Could not open input file: artisan
If like me you tried the command
php artisan
However, you had the following “Could not open input file: artisan” error when starting the Laravel service using the above command.
How come “Could not open input file: artisan” error is showing up in Laravel
There are a few causes behind this error.
How to run an update using composer, but not to the latest version of Drupal
Let say in composer.json you have
"drupal/core-recommended": "^9.2"
You're attempting to run
composer update "drupal/core-*" --with-all-dependencies
...to update to the latest 9.2.x version. Yet instead you are finding 9.3.6 installed.
login details for account '{email}' were rejected
Connecting a device and testing in Xcode have you had a no profiles error?
Showing All Messages
The operation couldn’t be completed. Unable to log in with account '{email}'. The login details for account '{email}' were rejected.
No profiles for '{bundle identifier}' were found: Xcode couldn't find any iOS App Development provisioning profiles matching '{bundle identifier}'.These two messages are interconnected. To resolve this step, go
Cocoapods install and update
Getting Started with Cocoapods
Installation
Built with Ruby, Cocopods is installable with the default Ruby available on macOS. Using the default Ruby install will require you to use sudo when installing gems.
sudo gem install cocoapods
However, if you attempt to install or update Cocopods without Sudo you will hit a permission issue.
Investigating Swoole
Investigating Swoole.
After reading about Swoole on Medium article - Moving From Nginx+FPM to Swoole Has Increased Our PHP API Performance by 91%.
This article is in development as I work through my experiences in installing and using Swoole.
More to come
https://github.com/swoole/swoole-src
Using synonyms in Solr
Have you tried adding custom synonyms to Solr on Drupal?
How did you go?
What do you need to do to connect a custom synonym list to your Solr?
Set-up : the tools
What am I using?
Search API Synonym- https://www.drupal.org/project/search_api_synonym
Solr : 8.1
OSX Setup for Development
RayCast
Replace Spotlight with RayCast. And you can be the judge of performance. I'll flag that RayCast offers many extra features like snippets, extensions etc that you will regularly use.
Spark Email
Yep - I ditched OSX Mail client. Spark is one of the best email client I found.
Sequel Ace
Sequel Ace is my Database Management tool.
Deprecated function: trim() PHP
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.
Mariadb hangs on start up in Docker
Running Docker and attempting to install a web proxy environment where I'm attempting to create local web set up the consist of Drupal 9 with Composer + Docker-compose + Nginx + MariaDB + PHP8.1
However, when I run the command
docker-compose up
The terminal hangs at