Java - Union and Intersection of two lists
Suppose you have two lists, and you want Union and Intersection of those two…
March 03, 2021
Often in automation, we need to install stuff from command line, not from the UI. We will install Perl from command line, and with Dockerfile.
As we have seen in previous post on How to install packages from command line This post is motivated from that only.
Open powershell
RUN Set-ExecutionPolicy Bypass -Scope Process -Force; \
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'; \
iex ((New-Object System.Net.WebClient).DownloadString("https://chocolatey.org/install.ps1"));
Once chocolatey is installed, you need to fire just one command to install strawberry perl or activeperl.
choco install strawberryperl -y;
FROM microsoft/windowsservercore:ltsc2016
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
ENV CHOCO_URL=https://chocolatey.org/install.ps1
RUN Set-ExecutionPolicy Bypass -Scope Process -Force; `
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'; `
iex ((New-Object System.Net.WebClient).DownloadString("$env:CHOCO_URL"));
RUN choco install strawberryperl -y;
Suppose you have two lists, and you want Union and Intersection of those two…
Introduction I had to write a CICD system for one of our project. I had to…
You have created some views, and want to port it to your production environment…
While writing JUnit test cases, we encounter cases like we want to initialize a…
Introduction I had to develop a small automation to query some old mysql data…
Each jar file has a manifest file in META_INF/MANIFEST.MF I have to read each…
Introduction In this post we will see following: How to schedule a job on cron…
Introduction There are some cases, where I need another git repository while…
Introduction In this post, we will see how to fetch multiple credentials and…
Introduction I have an automation script, that I want to run on different…
Introduction I had to write a CICD system for one of our project. I had to…
Introduction Java log4j has many ways to initialize and append the desired…