oh my bash

Customize your Mac or Linux prompt or terminal

Do you have a MacOs laptop? I am not an Apple fan. In fact, I have in the past, bought a Macbook Pro and returned it within the first fourteen days as I felt that what I got was not worth the price. However, as I have mentioned several times in the past in this blog, my career started on Linux and hence I do like and feel really comfortable navigating the command line....

January 23, 2022 · 2 min · 299 words
SRE

Site Reliability Engineering vs Devops: What are they? How do they differ?

What is SRE? SRE stands for Site Reliability Engineering. That’s just a lot of words. What does it mean though? Site Reliability engineering is what IT operations would be if it was run by software engineers. That’s an interesting take. But it was not helpful in clarifying anything about SRE just yet. Let’s try probing more. How did we go from Development to SRE? You know the part where people deploy software and then ensure things run fine in production....

December 4, 2021 · 14 min · 2849 words
Azure Active Directory

Azure Active Directory for Developers: What you need to know

This is a long read and I spent a pretty long time going through videos and articles compiling this into one post. Not something I would have done usually. But I do think that sometimes having it all in one place is easier to access than splitting into multiple articles. I hope the TOC helps group things. Azure AD is Microsoft’s cloud-based identity and access management service. Lots of words. But do they make sense?...

October 23, 2021 · 12 min · 2357 words
Azure Functions

How to use complex settings in Azure Functions using Options pattern and Dependency injection

I only recently found out about this, so I had to share it immediately. I have been using the Values section in the local.settings.json in a not-recommended way for some time. Application settings in the local.settings.json has some naming restrictions which I have been ignoring as the way I used it seemed to work. The docs said: Values must be strings and not JSON objects or arrays. Setting names can't include a colon (:) or a double underline (__)....

October 22, 2021 · 2 min · 345 words
System Design

Azure functions with Swagger and OpenAPI

What is OpenAPI specification? This is a specification for machine-readable interface files for describing, producing, consuming and visualizing RESTful web services. Apparently, this was earlier part of the Swagger framework, it became a separate project sometime in 2016 overseen by the Open API initiative, an open-source collaboration project of the Linux Foundation. I am not trying to sound clever here. That’s all taken from wikipedia as I just wanted to give you an idea of what it is without having to leave this post....

September 19, 2021 · 5 min · 952 words