↓ Skip to main content

Technical

Git: Commit logs

Git: Commit logs

·5 mins
Every project has a story, and in the world of software development, that story is often told through commit logs.
Consul

Consul

·2 mins
Consul is an open-source software tool developed by HashiCorp, designed to provide a distributed system for configuration management, service discovery, and health checking of services in a modern…
GenAI

GenAI

Artificial Intelligence (AI) has revolutionized many aspects of our lives, from virtual assistants like Siri and Alexa to self-driving cars and personalized content recommendations.
SNMP

SNMP

·4 mins
SNMP (Simple Network Management Protocol) is a widely used protocol for managing and monitoring network devices, such as routers, switches, servers, and printers.
Kernel

Kernel

·2 mins
The Linux Kernel stands as the backbone of the Linux operating system, serving as a critical component that enables the system to interact with hardware and manage system resources efficiently.
Whale!

Whale!

Photos from a whale-watching trip: whales surfacing and blowing spouts in the open sea.
Network Com

Network Com

·3 mins
In the world of computer networks, communication between devices is crucial. To facilitate this communication, various protocols are used at different layers of the networking stack.
DAST

DAST

·2 mins
DAST stands for Dynamic Application Security Testing. It is a type of security testing that assesses the security of an application while it is running.
x509: History

x509: History

·3 mins
X.509 certificates have become a fundamental component of secure communication on the internet. They provide authentication, encryption, and integrity for various applications and protocols.
Devanagari:

Devanagari:

·2 mins
Devanagari is a script that is used to write several languages spoken in the Indian subcontinent, including Hindi, Nepali, Marathi, and Sanskrit.
Tunnel: SSH

Tunnel: SSH

·3 mins
SSH tunneling is a powerful technique that allows you to securely tunnel network traffic between two endpoints.
Domain Name System

Domain Name System

·3 mins
DNS (Domain Name System) is a hierarchical and decentralized naming system that is used to translate human-readable domain names (such as google.com) into IP addresses that can be understood by…
cURL

cURL

·9 mins
CURL is a command-line tool that allows developers to transfer data between servers and clients using various protocols, including HTTP and HTTPS.
Ansible: Async & Poll

Ansible: Async & Poll

·3 mins
Ansible is a powerful automation tool that can be used to manage the configuration and deployment of a large number of systems. It has a rich library of modules that can be used to perform a variety of tasks, from managing files and packages to deploying applications and configuring network devices.
Scenario: Molecule

Scenario: Molecule

·3 mins
A scenario in Molecule is a configuration that defines how a role should be tested. It consists of a set of instructions and parameters that determine how a role is provisioned, converged, and verified. The purpose of scenarios is to allow for flexibility in testing a role by allowing multiple testing configurations to be defined and executed. You can have as many scenarios as you like and Molecule will run one after the other.
Ansible Variables

Ansible Variables

·3 mins
Variables are a crucial part of Ansible and are used to store values that can be used across playbooks, roles, and tasks.
Python Virtual Enviroments

Python Virtual Enviroments

·3 mins
Continuing from the blog, Virtual environments are isolated Python environments that allow you to manage dependencies separately for each project, providing a controlled and reproducible environment…
SSL/TLS

SSL/TLS

·2 mins
Secure Socket Layer and its successor TLS (Transport Layer Security) are cryptographic protocols that provide encryption, integrity, and authentication for network communication.
Testinfra

Testinfra

·2 mins
Testinfra is a Python-based framework for infrastructure testing. It allows you to write tests for your infrastructure and verify that everything is working as expected.
Python: When not to use it?

Python: When not to use it?

·2 mins
Python is a versatile and widely-used programming language, but there are certain scenarios when it may not be the best choice. Here are some examples of when not to use Python:
Python: Multi-Args

Python: Multi-Args

·2 mins
In Python, you can define a function with a variable number of arguments using the and syntax in the function definition.
Python: Inheritance

Python: Inheritance

·2 mins
Inheritance is a mechanism in object-oriented programming (OOP) that allows you to create new classes that are derived from existing classes.
Apache Karaf

Apache Karaf

·2 mins
Apache Karaf - I had only heard of it and never had practical exposure to this technology. Main questions in my mind were - What purpose does it serves? and Who uses it?
AWK

AWK

·1 min
awk is an interpreted language. The basic function of awk is to search files for lines that contains certain patterns. When the input line matches the pattern(s), awk performs specified actions on that line.
PKI

PKI

·2 mins
PKI is the core of security for most organizations, and at its heart is a couple of keys that together allows the encryption/decryption of the traffic exchanged.
Tip #Maven

Tip #Maven

·1 min
A decent developer trick is to ensure your maven points to the right JAVA version, and if you have freshly installed maven it will be pointing to the default available.
Hashicorp vault

Hashicorp vault

·1 min
“HashiCorp Vault is an identity-based secrets and encryption management system.”
Static IP’s in QEMU VM’s

Static IP’s in QEMU VM’s

·2 mins
Continuing from where I left in the blog before. If you are using looking to configure a static IP for your machines (may be your use case is similar to mine) this blog might be useful for you.
Vagrant-OSX

Vagrant-OSX

·1 min
In the previous blog, I was left with the error that had little information for me to debug. I realized since I migrated most of the files from my previous laptop it might be causing an issue.
Vagrant OSX

Vagrant OSX

·4 mins
Having just bought an M1 – MacBook Pro the issue are mounting. The premier challenge was to get my Vagrant boxes configured with provider virtualbox to run.
Gradle

Gradle

·1 min
Open source build automation tool FLEXIBLE and builds any type of software Run on JVM and must have a JDK installed to use it. Gradle models its buils as DAGs pf tasks. Build is graph of tasks Tasks consists of Actions Inputs Outputs Lifecycle Tasks Clean Check Assemble Build Build Configuration Clean Task Gradle evaluates and executes build scripts in three phases Initialization Configuration Execution
Go Modules

Go Modules

·1 min
If you are like me and getting errors while trying to compile your go lang code without having a go.mod in v1.18
Ansible: On Windows 10 Pro

Ansible: On Windows 10 Pro

·2 mins
Life is bringing it own challenges as I have moved to the United States of America. One of the immediate tech challenge has been using the loaner windows box and still be productive.
SSH Protocol

SSH Protocol

·2 mins
💬 What is SSH protocol? 💬 It is also referred to as Secure Shell, is a method for secure remote login from one computer to another. It is an alternative to telnet and rlogin
Kafka: Deploy & Test

Kafka: Deploy & Test

While I continue to learn more about architecture and design of kafka, a quickstart to deploy & test kafka is a must. Step 1: Add Chart Repo # In my local system it is already present which was confirmed by the listing
Spinnaker: Install & Configure

Spinnaker: Install & Configure

·12 mins
Spinnaker is an open-source continuous delivery platform which provides two core set of features Application Management Application deployment Applications , clusters , and server groups are the key concepts Spinnaker uses to describe your services. Key Concepts # Some of the key concepts in the spinnaker universe are covered as under
Event Streaming

Event Streaming

·2 mins
While reading Apache Kafka it was interesting analogy that they described Event streaming is the digital equivalent of the human body’s central nervous system. — Apache Kafka It draws a great parallel between how the central nervous system allows for real time event generations and consumption in terms of reflex actions. The examples are well explained and captured here.
Adding Node to a cluster

Adding Node to a cluster

In this blog, I will try add a new node to the already running cluster. My Cluster # root@master>k get nodes NAME STATUS ROLES AGE VERSION mydevmachine001830.samarthya.me Ready <none> 22h v1.23.1 mydevmachine002687.samarthya.me Ready <none> 41d v1.23.1 mydevmachine003277.samarthya.me Ready <none> 131d v1.23.1 mydevmachine003278.samarthya.me Ready <none> 131d v1.23.1 mydevmachine003417.samarthya.me Ready <none> 4m55s v1.23.1 mydevmachine003968.samarthya.me Ready <none> 131d v1.23.1 mydevmachine003969.samarthya.me Ready control-plane,master 131d v1.23.1 mydevmachine003970.samarthya.me Ready <none> 131d v1.23.1 mydevmachine003979.samarthya.me Ready <none> 29m v1.23.1 Steps to follow # Install docker Install kubeadm, kubectl & kubelet Join the cluster using the token Check the node has joined the cluster Step 1: Install docker # sudo yum install -y yum-utils sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo When adding repo make sure the repo has been added successfully to the machine
The inevitable

The inevitable

·1 min
India is a complex country, the diversity is ever present and ever growing. What got me going in my deep meditative thinking is having a discussion with my Dad. We have evolved from the just enough generation to over the edge generation. Things that were uncommon during my growing up years and now the basic necessity of this generation.
Documenting GO

Documenting GO

·1 min
Documentation is a huge part of writing any software. In java you have JavaDoc, which most of the developers adhere to. It is healthy and rich way of exposing the source documentation.
K8S RBAC

K8S RBAC

·2 mins
What? # Role Based Access Control(s) is a way of regulating access to entities like storage, network etc. RBAC authorization uses rbac.authorization.k8s.io API group. API Objects # There are 4 kind of kubernetes object
SCM for git clone

SCM for git clone

·7 mins
Having used SCM plugins for quite sometime, I thought - WHY I have never used them to clone a repository and while I employ the personal access token (NOW)- The weapon of choice, I have never tried it myself.