Skip to main content

Posts

Devops trigger in Logic App Hi All! Typically we do CI/CD to provision a resource and/or whenever code commit, pull request etc., to update a resource or an application occurs on the same resource. We may get a scenario that when pipeline gets completed, I want to trigger/hook some other action which should be discrete (i.e. that action should not be part of my pipeline.) When this kind of requirement comes, we think that either Logic App or azure function app will be suitable. One who is willing to code prefers fuction app and one who likes built-in connector and less coding prefer Logic App. In the below example, I'm configuring logic app trigger as whenever my azure devops build pipeline completes, aazure function should invoke. you can do as per your requirement. Cheers!
While loop with head and tail in linux Hi All! In today's post we're going to see/refresh about while loop with head and tail in bash. head - Read the first top 'n' lines. Example: head -n 5 reads first 5 lines from a file or input. tail - Read the last 'n' lines. Example: tail -n 5 reads last 5 lines from a file or input. Please look into the below image we have a txt file called file1.txt which has 3 lines of text and we read using head and tail as above.
Find azure function trigger details Hi All! Imagine that you have been deployed into a new cloud team as azure admin / azure developer where team has few azure functions. You got some tasks related of azure fnctions but we can not ask everything from the team. Before we reach out to them, we should have our findings/inputs to discuss with them. you would like to find the trigger details of an az function that when it gets triggered. In this example we are going to find below. what trigger my azure function has? If it is blob trigger, what storage account mapped with it? What blob is a destination? i.e. when that blob gets file uploaded, azure function starts In this post, we are going to see, how to find my azure function details that with what service my azure function integrated. Go to the azure function app which you need to discover and follow the steps as per the illustration below
Applying Task List, Bold, Italic fonts in Github Hi All ! We already saw that implementing head tag (h1.....h6) at Github in one of my post. You people can view that post for refreshment from this blog. In this post, we are going to see about applying bold, italic text and implementing tasks list. For an example, a text enclosed by single asterik become italic and enclosed by double asterik/underscore become bold. Please look into the below image.
Bash - Linux if-else glimpse Hi All ! In this post we are going to refresh about if-else statements in bash / Linux. The below is an example for string validation. The below is an example for numbers validation
Applying HTML equivalent head tags in Github Hi All! When we work on code hosting platform like Github, we may require to add our comments to notify with some highlights for specific text(s). For an example, you are going to create an issue in Github where you need to highlight few text in some large font size. If it is in HTML, we can go for h tag from 1 to 6 typically but what is the native way in Github instead of HTML. By using '#' hash symbol we can achieve it. One hash (#) represents h1 . Likewise ###### (six) hash represents h6 . Please look into the below image Let's see about bold , italic and others in my upcoming post.
View Linux's system, Kernel and release Informations Hi All! Consider a scenario that you are joning in a cloud team as an admin. There are already some Linux servers provisioned. Now you have been tasked to upgrade the linux release and/or perform some other operations. Here we need to know about the Linux system informations like below, before we are going to perform some operation(s). In this post we are going see / learn / refresh below uname -r -> show kernel release information uname -a -> show linux system information cat /etc/distro-release -> show installed linux(distribution) version details. Here the input is alpine-release. If your distribution is redhat, pass redhat-release or the relevant one If you pass cat /etc/*release, you will get some more details about the release. Please look into the below image