Sunday, August 8, 2021

Copy Line : IDEs : Notepad++ and VSCode

Ctrl + Shift + D                      Notepad++
Shift +Alt + ArrowDown       VSCode

Semver: Tilde vs Caret

http://nodesource.com/blog/semver-tilde-and-caret/

First Came ~     Apply patches...latest   

~1.2.3 can take 1.2.x Series.....Path Versions


Later Software Matured...Needed something to replace both MINOR.PATCH version

So Caret ^ was introduced

^1.2.3 can take 1.x.x Series until and not including 2.0.0

https://semver.npmjs.com/ 

Typescript: Best Learn : Site

https://www.tutorialsteacher.com/typescript/type-inference

Wednesday, August 4, 2021

Kubectl - Kubernetes -1

eks@ABCDAWS01:/$ kubectl get pods -n fda | awk '/case-management/{print $1}'
case-management-6b66d59f44-b6fph

eks@ABCDAWS01:/$ kubectl get pods -n fda | awk '/case-management/'
case-management-6b66d59f44-b6fph      1/1     Running   0          37m

eks@ABCDAWS01:/$ kubectl get pods -n fda |grep -E 'business|case|platform|output'
business-rules-68b8c55fd4-5gm8k       1/1     Running   0          37m
case-management-6b66d59f44-b6fph      1/1     Running   0          37m
output-generation-74b548d65b-fc44z    1/1     Running   0          37m
platform-7b5c6965c8-s2cv6             1/1     Running   0          36m

GetEnt : Linux Commands

getent command in Linux with examples

getent is a Linux command that helps the user to get the entries in a number of important text files called databases

https://www.geeksforgeeks.org/getent-command-in-linux-with-examples/

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass