Skip to main content

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.

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.

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

Subscribe to