The clicking area of the object in Phaser does not cover the entire image
When Phaser constructs the input area of an object where the user’s click will trigger the action, it tries to read the dimensions of the image. It usually works, but in some cases the area does not cover the entire image. To display the input area…
Error: EACCES: permission denied, open …
When Node.js libraries cannot open files on the local disk, the file does not exist at the specified location, or the file or folder permission are not correct. To check the permission of the file see Get the octal file permission number of a file or…
Get the octal file permission number of a file or directory
The chmod command sets the file permission to an octal number. To see the current value On macOS On GNU Linux
Using the redis Docker container locally
To develop applications with the redis database we can use a Docker image. The documentation is at https://hub.docker.com/_/redis/ Set up the redis container to be accessed via localhost on the local computer Start the redis container Start the redis…
DeprecationWarning: Access to process.binding(‘http_parser’) is deprecated.
When you try to run an older Node.js application under a new version of Node.js you may get deprecation warnings. If you downgrade Node.js and keep the out of date component, you will introduce a dangerous security risk in your application. To refresh…
DevOps Engineering part 1. (Win) – Make your Windows computer easier to use
Set up your computer Display the file extensions On Windows 11 On Windows 10 On Windows 7 (if you accidentally run into an ancient machine) Disable the Caps Lock key If you frequently accidentally press the Caps Lock key and you feel it is not necessary,…
Install the DevOps development tools on Windows
Chocolatey If you want to host Chocolatey packages internally install Chocolatey. See Install Chocolatey Store your username in an environment variable We will use it in the .kitchen.yml file of the Chef SDK. Virtual Box Download Virtual…
Install software development tools on Windows
Text Editor Notepad ++ Install a good text editor. If you do not have a favorite, I recommend Notepad ++ Configure Notepad ++ Tab settings Visual Studio Code Configure Visual Studio Code To work with Dev Containers, install the Dev Containers extension…
xcrun: error: invalid active developer path on macOS
Issue After a major macOS upgrade (currently to Ventura) the command line tools, including git, in the terminal windows (Terminal, iTerm) stop working. We get the error message xcrun: error: invalid active developer path…
There is a double quote at the end of the value read from the .env file
Developers frequently use the .env file to store configuration values on the workstation. If the values contain sensitive data add the line to the .gitignore file to avoid committing the file into source control. If the value contains spaces, enclose it…