Quantcast
Channel: The Automation Code
Browsing latest articles
Browse All 42 View Live

Image may be NSFW.
Clik here to view.

How to install Azure DevOps Extension in Azure CLI?

Why do we need an Azure DevOps (ADO) extension in Azure CLI? Well, you know how to manage Azure DevOps services (Pipeline, workItems, Repo, Artifacts, etc) from the portal. If you are a DevOps engineer...

View Article



Image may be NSFW.
Clik here to view.

How to set environment variables in Windows?

What is an environment variable in Windows? In Windows, an environment variable is a map/hash kind of variable with a Key-Value pair that stores the values of the variable inside the operating system...

View Article

Image may be NSFW.
Clik here to view.

How to Set Environment Variable in Windows using Python?

In the previous article, we have seen how to set the environment variables with GUI, PowerShell, and CMD. In this section, let’s continue to set the environment variable programmatically using Python...

View Article

Image may be NSFW.
Clik here to view.

How to Set Environment Variable using GoLang?

In the previous articles, we mentioned setting up environment variables using PowerShell and Python in Windows OS. In this article, we will set up environment variables with GoLang. Set up environment...

View Article

Image may be NSFW.
Clik here to view.

How to create dynamic array in PowerShell?

There are two types of arrays in PowerShell. Fixed array Dynamic Array Fixed Array Fixed arrays are the ones whose values cannot be removed or added. Their sizes are fixed. For example, below is the...

View Article


Image may be NSFW.
Clik here to view.

How to set environment variables in Azure Pipeline?

You can set environment variables in Azure Pipeline so they can be used in the scripts and application code. This variable is process level means it is available during that pipeline run only. To set...

View Article

Image may be NSFW.
Clik here to view.

How to: Error response from daemon: Bad response from Docker engine

Error: response from daemon: Bad response from Docker engine When you run docker commands you may have encountered the error “ERROR: Error response from daemon: Bad response from Docker engine”...

View Article

Image may be NSFW.
Clik here to view.

How to pass multiple arguments to docker run?

Let’s say your docker build image looks something like this, FROM mcr.microsoft.com/azure-powershell COPY ./testscript.ps1 tmp/testscript.ps1 ENV Parameter1="Val1" ENV Parameter2="Val2" CMD...

View Article


Image may be NSFW.
Clik here to view.

Dictionary in Python

Create a dictionary in Python A dictionary in Python is a key-value pair of objects. Key-value pairs can be different data types. To create an empty dictionary, below is the syntax. dict_example = {}...

View Article


Image may be NSFW.
Clik here to view.

How to concatenate strings in Python?

a. Concat String with ‘+’ Operator In Python concatenating strings are easy. For example, let’s say you have two strings to merge then you put the plus (‘+’) operator to merge two strings. str1 =...

View Article
Browsing latest articles
Browse All 42 View Live




Latest Images