Create a React web site
The React framework adds components on top of HTML and JavaScript to create dynamic one-page web applications. It does not have routing and data handling capabilities, to create a full stack web application use Next.js or Remix. Configure the development…
Using GitHub Copilot on the workstation
GitHub Copilot is a ChatGPT based AI pair programmer extension for Visual Studio Code, Visual Studio, JetBrains IDE, and Neovim. It is most effective in Python, JavaScript, TypeScript, Ruby, Go, C# and C++. Installation GitHub Copilot has personal and…
Kerbal Space Program 2 configuration
Settings file The game settings file is located at C:\Users\YOUR_USER_NAME\AppData\LocalLow\Intercept Games\Kerbal Space Program 2\Global\Settings.json Mods Mods make using KSP 2 a better experience. Modders can create functionality faster than the…
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…