Skip to content

Instantly share code, notes, and snippets.

View vishnups1's full-sized avatar
๐Ÿ‘‹

Vishnupradeep vishnups1

๐Ÿ‘‹
  • Yahoo India
  • Bangalore
View GitHub Profile
@vishnups1
vishnups1 / Amazon-Web-Services-Beginners.md
Created December 1, 2024 13:38
Amazon-Web-Services-Beginners-Study-Path

Amazon Web Services (AWS) Beginners Study Plan

Week 1: Introduction to AWS and IAM Basics


Objective: Understand AWS fundamentals, services, and the security framework.

1. Create Free Tier Account

  • Goal: Set up your AWS Free Tier account to get hands-on access to AWS resources.
  • AWS Free Tier Signup
apiVersion: v1
kind: Namespace
metadata:
name: bluegreen
labels:
type: dev
---
apiVersion: apps/v1
kind: Deployment #object type
metadata:
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "5.47.0"
}
}
}
provider "aws" {
apiVersion: v1
kind: Namespace
metadata:
name: letsgo
labels:
type: development
---
apiVersion: apps/v1
kind: Deployment
metadata:
@vishnups1
vishnups1 / semantic_versioning_with_git_tags.md
Last active October 8, 2022 12:49
semantic versioning with git tags

Semantic Versioning With Git Tags


What is a git tag?

A git tag is just a way to add a marker to a commit.

There are two types of tags.

Light weight tag, a human redable name that you can assign to a commit hash.

@vishnups1
vishnups1 / dsa.md
Last active October 4, 2021 14:33
Data Structures And Algorithms

Data Strctures And Algorithm

  • Big O Notation is used to describe the performance of an alogrithm.
  • It is used to check if the algorithm is going scale well if the input grows really large.
  • O(n)

O(1)

  • O(1) notation
  • It doesn't matter how big the array is. It can be either one or one million items.
  • All we are doing below is printing the first item.
  • Below method has a single operation and takes constant amount of time to run.
@vishnups1
vishnups1 / go_modules_notes.md
Last active August 21, 2021 06:01
go_modules_notes

go modules notes:

  • go mod tidy
    • removes unused dependencies
    • adds the required dependencies
  • go get github.com/user/module
    • this will add github.com/user/project as dependency under go.mod
  • go mod why github.com/user/project
    • this provides information about where the package is used under a project
  • go get variations
  • go get github.com/julienschmidt/httprouter@latest to get the latest version of a package
@vishnups1
vishnups1 / ansible_notes.md
Last active November 18, 2020 14:43
ansible_notes

Introduction to Playbooks and Common Modules

  • Know how to work with commonly used Ansible modules
  • Create playbooks to configure systems to a specified state
  • Use variables to retrieve the results of running commands
  • Use conditionals to control play execution
  • Configure error handling
  • Selectively run specified tasks in playbook using tags

Know how to work with commonly used Ansible modules

  • Core modules to be familiar with
@vishnups1
vishnups1 / lipc_101.md
Last active August 10, 2020 15:40
lpic preparation
  • Pseudo File System

    • Only exists in RAM while the system in running.
    • /proc contains information about the processes running on a system. Processes are are listed by PID.
    • /sys contains information about the systems hardware and kernel modules and no process information is listed here.
    • man proc for more info.
  • Linux Kernel Module

    • Linux kernel is the core framework of the operating system.
    • GNU/Linux (GNU-The Open Source Tools Project / Linux-The Actual Kernel).
    • Linux Kernel is Monolithic (it handles all memory and device management).