Skip to content

Instantly share code, notes, and snippets.

View RajaniCode's full-sized avatar

Rajani RajaniCode

View GitHub Profile
@RajaniCode
RajaniCode / Java22.java
Created October 31, 2024 21:44
Java22.java
// Java 22
// OpenJDK 22
// % export PATH="$HOME/Downloads/Software/OpenJDK/JDK22.0.2/jdk-22.0.2.jdk/Contents/Home/bin/":$PATH
// % java --enable-preview --source 22 --enable-native-access=ALL-UNNAMED --add-modules=jdk.incubator.vector Java22.java
// Or
// % javac -Xlint:preview --enable-preview --source 22 --add-modules=jdk.incubator.vector Java22.java
// % java --enable-preview --enable-native-access=ALL-UNNAMED --add-modules=jdk.incubator.vector Java22
// % rm -rf *.class
@RajaniCode
RajaniCode / CS12.cs
Last active November 1, 2024 05:11
CS12.cs
// CS 12
/*
1. Primary constructors
2. Collection expressions
3. ref readonly parameters
4. Default lambda parameters
5. Alias any type
6. Inline arrays
7. Experimental attribute
8. Interceptors
@RajaniCode
RajaniCode / Maven Scala
Last active February 21, 2025 20:17
Maven Scala
###########################################################################################################################
# Maven # Scala
###########################################################################################################################
***************************************************************************************************************************
% export JAVA_HOME="$HOME/Downloads/Software/OpenJDK/JDK23.0.2/jdk-23.0.2.jdk/Contents/Home"
% export M2_HOME="$HOME/Downloads/Software/ApacheMaven/apache-maven-3.9.9"
% export M2="$M2_HOME/bin"
@RajaniCode
RajaniCode / Maven Java
Last active February 21, 2025 20:16
Maven Java
###########################################################################################################################
# Maven # Java
###########################################################################################################################
****************************************************************************************************************************
% export JAVA_HOME="$HOME/Downloads/Software/OpenJDK/JDK23.0.2/jdk-23.0.2.jdk/Contents/Home"
% export M2_HOME="$HOME/Downloads/Software/ApacheMaven/apache-maven-3.9.9"
% export M2="$M2_HOME/bin"
@RajaniCode
RajaniCode / Google Cloud Google Kubernetes Engine (GKE) Terraform Node.js MongoDB Minio
Created February 12, 2024 13:43
Google Cloud Google Kubernetes Engine (GKE) Terraform Node.js MongoDB Minio
###########################################################################################################################
Google Cloud Google Kubernetes Engine (GKE) # Terraform
###########################################################################################################################
===========================================================================================================================
# Cleanup # $HOME
===========================================================================================================================
@RajaniCode
RajaniCode / Amazon Elastic Kubernetes Service (Amazon EKS) Terraform Node.js MongoDB Minio
Created February 12, 2024 13:42
Amazon Elastic Kubernetes Service (Amazon EKS) Terraform Node.js MongoDB Minio
###########################################################################################################################
Amazon Elastic Kubernetes Service (Amazon EKS) # Terraform
###########################################################################################################################
===========================================================================================================================
# Cleanup # $HOME
===========================================================================================================================
@RajaniCode
RajaniCode / Azure Kubernetes Service (AKS) Terraform Node.js MongoDB Minio
Created February 12, 2024 13:41
Azure Kubernetes Service (AKS) Terraform Node.js MongoDB Minio
###########################################################################################################################
Azure Kubernetes Service (AKS) # Terraform
###########################################################################################################################
===========================================================================================================================
# Cleanup # $HOME
===========================================================================================================================
@RajaniCode
RajaniCode / Amazon Elastic Kubernetes Service (Amazon EKS) Docker Amazon Elastic Container Registry (Amazon ECR) Node.js
Created February 12, 2024 13:40
Amazon Elastic Kubernetes Service (Amazon EKS) Docker Amazon Elastic Container Registry (Amazon ECR) Node.js
###########################################################################################################################
Amazon Elastic Kubernetes Service (Amazon EKS)
###########################################################################################################################
# AWS # Docker # ECR # EKS # Node.js
###########################################################################################################################
@RajaniCode
RajaniCode / Azure Kubernetes Service (AKS) Node.js
Created February 12, 2024 13:38
Azure Kubernetes Service (AKS) Node.js
###########################################################################################################################
Azure Kubernetes Service (AKS)
###########################################################################################################################
# Create a new cluster
###########################################################################################################################
***************************************************************************************************************************
@RajaniCode
RajaniCode / Google Cloud Google Kubernetes Engine (GKE) Go Node.js
Created February 12, 2024 13:37
Google Cloud Google Kubernetes Engine (GKE) Go Node.js
###########################################################################################################################
Google Cloud Google Kubernetes Engine (GKE)
###########################################################################################################################
# Install the gcloud CLI
###########################################################################################################################
===========================================================================================================================