Using GitHub Copilot

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 business subscription model. Start your free trial at https://github.com/features/copilot Ask for suggestions Select the suggestion See …

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 development team, as they only have to concentrate to their particular area. This also means, a game update can render a mod unusable until 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 add the enableDebug() function to your code.

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 directory If you get the error message related to …

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 container “detached” ( -d ) in the background and expose it through localhost:6379 Check if the …

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 the referenced Node.js libraries

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 Windows key If you use a Macintosh computer, you use the Command key all the time. Unfortunately, on the Windows keyboard you will always accidentally hit the Windows …

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 Box from https://www.virtualbox.org/wiki/Downloads and follow the instructions to install it. At the time of writing, this was the section where the …

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 Git For Git installation and configuration see Install Git on Windows JSON To automatically pretty print JSON responses in Chrome Make To install Make …