JS GraphQL IntelliJ Plugin – Developer Guide

https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/docs/developer-guide#working-with-graphql-endpoints-and-scratch-files

To use the JS GraphQL IntelliJ Plugin an important bit of info for me was creating a .graphqlconfig file at the root of the project. This is where this plugin picks up the schema.

{
  "name": "Dashboard Schema",
  "schemaPath": "schema.json",
  "extensions": {
    "endpoints": {
      "Local GraphQL Endpoint": {
        "url": "http://localhost:5004/graphql",
        "headers": {
          "user-agent": "JS GraphQL"
        },
        "introspect": true
      }
    }
  }
}

There’s also more about this configuration file here.

Fixing a PS4 controller that won’t charge

https://www.slashgear.com/fixing-a-ps4-controller-that-wont-connect-or-charge-19460389/

Having browsed a few articles, the wobbly USB connector and failure to charge two PS4 controllers indicated a problem that may be difficult to repair. I wasn’t keen on hard-wiring the battery to the USB cable either!

Many suggestions seemed to conclude simply having to replace the controller in this case, until I found the link above with the simplest and best solution, a charging dock that uses the connector at the other side. Excellent. That should keep these good for some time yet.

Rich is a Python library for rich text

https://github.com/willmcgugan/rich

This is a screenshot of the output in Windows Terminal (PowerShell)

Output in screenshot above from the following commands, where we have Python and virtualenv previously installed.

virtualenv venv
.\venv\Scripts\activate
pip install rich
python -m rich

Very nice. I will use this in Python scripts.

Neat, this also works in Jupyter Notebooks. Read more about it here.