Get the public IP address from the command line
To get the public IP address of the server from the command line, execute
Migrating from Chef Client version 13 to 15
Syntax changes There are breaking changes between Chef Client version 13 and the newer versions, make sure you update your Chef cookbooks to make them work with the new version of the Chef Client. Resource Since version Old syntax New syntax Notes logger…
Debugging Go programs in Visual Studio Code
Install Visual Studio Code Install Delve For up-to date info visit https://github.com/derekparker/delve/tree/master/Documentation/installation
Computer failed to join domain from its current workgroup ‘WORKGROUP’ with following error message: The system cannot open the device or file specified.
When you use PowerShell to join a Windows server to the domain make sure the -OUPath is correct. Computer failed to join domain from its current workgroup ‘WORKGROUP’ with following error message: The system cannot open the device or file…
Computer ‘…’ failed to join domain. The value provided as the current password is incorrect.
Computer ‘…’ failed to join domain ‘…’ from its current workgroup ‘WORKGROUP’ with following error message: Unable to update the password. The value provided as the current password is incorrect. If you can…
Form value count limit 1024 exceeded
By default dotnet core limits the form element count to 1024. To submit forms with more elements, increase the limit in the ConfigureServices() method of the Startup.cs file:
Using Makefiles
Makefiles are great to self-document frequently executed commands in a repository. They provide easy access to the bash code by easy to remember tags. Formatting Only tabs are allowed to indent lines. The indentation groups the commands under the rules.…
DevOps Engineering part 1. (Ubuntu server) – Install the DevOps development tools on Ubuntu server
Ubuntu server does not have a user interface, we will use the terminal to install the DevOps tools. Terraform On your workstation open a web browser and navigate to https://www.terraform.io/downloads.html to get the version of the latest Terraform…
Using the Windows Subsystem for Linux (WSL)
Sharing files between Windows Subsystem for Linux and Windows Start WSL Access the Windows files from Linux Access the Linux files from Windows To start from Windows To start from Linux Managing packages in Linux To update the Linux packages in Ubuntu…
Build a Docker container image for your application
Create the image A Docker container image is one of the best formats to distribute your application. The container provides an immutable environment, so the application runs the same way on your workstation and on any server. We will use the simple Go…