Setting up lando with phpstorm and xdebug
Once you put in the xdebug on and off into .lando.yml you can use the path mappings in the attached screenshot to get the debugger working in phpstorm. I needed to setup these pathmappings to get it working.
excerpt from my working .lando.yml
Creating a patch to a Drupal contrib module
To apply a patch from an existing merge request on Drupal's GitLab repository to your project while waiting for it to be merged, you can follow these steps: 1. Download the Patch From the merge request page (https://git.drupalcode.org/project/samlauth/-/merge_requests/18/diffs), you can usually find an option to download the diff or patch directly. If you're viewing the merge request: Click on the "Changes" tab. Right-click the "Download" button at the top right of the diff display and select "Save Link As..." to download the patch file. 2. Save the Patch Locally
Using two github accounts on the same machine
When dealing with multiple GitHub accounts on a single machine, managing SSH keys can get a bit tricky, but it's definitely manageable with a proper setup. Since ssh-add -l is showing the wrong GitHub user (or rather, the wrong SSH key for your current context), you'll want to set up SSH to use different keys for different GitHub accounts. Here’s how you can do that:
### 1. Generate a New SSH Key (if needed)
If you haven't already, generate a new SSH key for your second GitHub account. Skip this step if you've already generated a separate SSH key for each account.
A super interesting test of ChatGPT (OMG!)
Now I think this is amazing because it implies you can give ChatGPT a FAQ document, or regulations, and it can do an AMAZING job answering questions!!!!!
Prompt: In a game of RummyQ can I replace a joker on the screen, with any tile and then use it any way I like?
Generate a requirements.txt file and toml file for python
pip freeze > requirements.txt
poetry add $(cat requirements.txt)
What is the allegory of spoons
The allegory of the long spoons is a parable that shows the difference between heaven and hell by means of people forced to eat with long spoons. It is attributed to Rabbi Haim of Romshishok, as well as other sources.[1]
The allegory can be summarized as follows:
Download the Acquia site aliases
acli remote:aliases:download