• Sharing SSH Keys from WSL2 to VS Code Dev Containers

    Quick intro to VS Code DevContainer: It’s a feature of vscode that enables you to launch your development environment from the docker container. In other words it looks like you have opened a regular vscode IDE, but your code...
  • Setting up SSH Authentication with Git

    When we are working for multiple clients or handling multiple client projects often times we see that each client has their git server in GitHub or GitLab or Bitbucket either in self-hosted model or subscribed to GitHub enterprise versions....
  • Sorting in Java

    An array of primitive types like byte, short, int, long, float, double, char, boolean can be sorted by calling the overloaded static method java.util.Arrays.sort(<primitive-type>[] arr) An array of wrapper types/Value Objects like Byte, Short, Integer, Long, Float, Double, Character,...
  • GoF Design Patterns Overview

    23 GoF Design patterns are categorized into 3 categories as shown below. Each category has a specific goal Creational: Goal is to provide a mechanism to create objects in way that promotes flexibility and reusability. Structural: Deals with object...
  • Essence of equals() and hashCode() in Java

    This post can be better understood after reading through my previous post on Equality Check between Strings in Java. By the end of this post, we should get an idea of when to override equals() and hashCode() and the...