Ansible Cheat Sheet

Ansible Concepts Cheat Sheet Core Components Key Terminology Advanced Concepts Ansible Directory Structure Explanation of Components Nodes What are Ansible Nodes? Ansible uses the term nodes to refer to the machines it manages. There are two types of nodes in an Ansible setup: Key Characteristics & Workflow How it Works This process is what makes … Read more

Git Cheat Sheet

Git Concepts & Terminology Cheat Sheet Fundamental Concepts Core Commands & Operations Branches & Pointers Advanced Concepts & Files Merging Specifics Repository States & Objects Additional Terminology Git Commands Cheat Sheet git init git init is a command used to create a new, empty Git repository. It’s the first step in starting a new project … Read more

Terraform Interview Questions

Terraform Interview Questions

1. What is Terraform, and why is it used? Terraform is an open-source Infrastructure as Code (IaC) tool. It lets you define and manage your infrastructure (like servers, databases, and networks) using configuration files written in HashiCorp Configuration Language (HCL). It’s used because it allows you to: 2. Explain the difference between Terraform and other … Read more

How to reverse a string in bash shell?

How to reverse a string in bash shell

To reverse a string in the Bash shell, the most common and efficient method is using a for loop or, for a more modern approach, an external command like rev. Bash doesn’t have a built-in function specifically for string reversal, so you’ll typically use a loop to iterate over the characters. Method 1: Using a … Read more

How to extract substrings in the Bash shell?

How to extract substrings in the Bash shell

You can extract substrings in the Bash shell primarily using parameter expansion, a built-in feature that is fast and efficient. Other methods include using external commands like cut, expr, and awk. Parameter Expansion This is the most common and recommended method for substring extraction. It’s built into the shell, making it very quick as it … Read more

How to split a string in bash shell?

How to split a string in bash shell

You can split a string in Bash using a few different methods, each with its own advantages. The most common methods are using an array with the Internal Field Separator (IFS), using the cut command, and using parameter expansion. Using the Internal Field Separator (IFS) The IFS is a special shell variable that defines the … Read more

How to Create a Google Gemini API Token Step by Step

How to Create a Google Gemini API Token Step by Step Google’s Gemini (formerly Bard) models are now available to developers through the Google AI Studio and Google Generative AI API. If you’re looking to integrate Gemini into your application—whether for text generation, chat, or multimodal tasks—you’ll need an API token. This guide walks you … Read more

What are the components of LangChain?

As large language models (LLMs) like GPT-4 and Claude become increasingly powerful, developers are looking for robust ways to build intelligent, context-aware applications on top of them. This is where LangChain shines. LangChain is a modular framework for developing applications powered by LLMs. It provides a rich set of building blocks—called components—that can be composed … Read more

What is LangChain?

What is LangChain

In the rapidly evolving world of artificial intelligence, the rise of Large Language Models (LLMs) like OpenAI’s GPT, Anthropic’s Claude, and Meta’s LLaMA has opened up powerful new ways to build intelligent applications. But tapping into the full potential of these models—especially for building real-world applications—often requires more than just sending a prompt to an … Read more