Skip to content

Instantly share code, notes, and snippets.

View rupeshtiwari's full-sized avatar
🎯
Focusing

Rupesh Tiwari rupeshtiwari

🎯
Focusing
View GitHub Profile

Perfect, here's your setup with your exact details filled in:


1. Generate the key pair

ssh-keygen -t ed25519 -C "roopkt@gmail.com"
@rupeshtiwari
rupeshtiwari / material-icon.md
Last active June 2, 2026 07:51
Custom Material Icon Folder ( customize folder icons vscode material theme)
tags vscode, material,customize folder icons vscode material theme
title How to add custom folder icon in Material icons

Steps to add custom folder icon in Material icons

Go to Settings.json file

@rupeshtiwari
rupeshtiwari / Setting up Webpack for Typescript Project From Scratch.md
Last active May 12, 2026 19:52
Setting up Webpack for Typescript Project From Scratch

Setting up Webpack for any Typescript project from Scratch

Welcome to step by step hands-on guide to setup webpack in your upcoming typescript project. Please follow the steps and you should be able to create your own webpack project. Please download the source code from github.

You will learn below things:

  1. ✅Create a Typescript node.js project.
  2. ✅Install Dependencies with webpack & typescripts.
  3. ✅Use Webpack CLI to crate webpack.config.js file and modify webpack.config.js based on our need.
@rupeshtiwari
rupeshtiwari / download_m4s.md
Last active March 14, 2026 08:18
download m4s files
brew install yt-dlp


yt-dlp --verbose --allow-unplayable-formats --merge-output-format mp4 -f "bv*+ba/b" "https://classes.gdvpanel.in/guruji-live-classes/01/dash/stream.mpd"

@rupeshtiwari
rupeshtiwari / host, kernel, operating systems os, applications.md
Last active March 13, 2026 02:59
host, kernel, operating systems os, applications, linux

What is host, kernel, operating systems and applications?

Host

The host is the physical hardware that the kernel, operating system, and applications run on. It provides the necessary hardware and infrastructure for the system to function. For example, the host could be a laptop, a desktop computer, a server, or a smartphone.

Kernel

The kernel is the core of the operating system. It is responsible for managing the resources of the host, such as the CPU, memory, and storage.

@rupeshtiwari
rupeshtiwari / cgroups vs namespaces.md
Last active March 13, 2026 02:46
cgroups vs namespaces, linux

Cgroups and Namespaces

Cgroups (control groups) and namespaces are two Linux kernel features that are used to manage and isolate resources and processes.

Cgroups:

Cgroups allow administrators to limit and distribute resources among different groups of processes. They do this by grouping processes together and then applying resource limits to those groups. This can be used to ensure that no one process or group of processes consumes too many resources, which can lead to performance problems or even system instability.

Namespaces:

Namespaces create isolated environments for processes, separating them from the host system and other processes. This can be used to protect processes from each other and to prevent them from interfering with each other's resources.

@rupeshtiwari
rupeshtiwari / Getting started with Kubernetes in MacOS.md
Last active March 13, 2026 02:46
Getting started with Kubernetes in MacOS

Getting started with Kubernetes on your local macOS.

🌟 Are you ready to dive into the world of Kubernetes from scratch? 💻

🚀 Calling all aspiring developers! Whether you're an Angular, .NET, or Java enthusiast, a frontend or backend guru, or a full stack enthusiast, this step-by-step beginner's guide is perfect for you! 🎉

📚 In this comprehensive tutorial, we will start from the very basics and guide you through the process of getting started with Kubernetes. You don't need any prior knowledge of Kubernetes or containerization - we'll cover everything from the ground up. You'll learn about the core concepts, containerization, Kubernetes architecture, and how to deploy and manage your applications using Kubernetes.

So, if you're excited to learn Kubernetes and take your application development skills to the next level, let's dive in and embark on this Kubernetes journey together! 🌈✨

Installing dependencies: Docker Desktop for MacOS

How to see all the logstash running

ps -aux|grep logstash

How to kill logstash instance

sudo kill -9 <process-id>
@rupeshtiwari
rupeshtiwari / linux scripts commands.md
Last active March 13, 2026 02:46
unix linux commands bash scripts, run in background, kill process in linux

Linux commands

How to know which process is using port

# port 9600 
sudo lsof -i :9600

@rupeshtiwari
rupeshtiwari / angular-cli-scripts.md
Last active March 13, 2026 02:46
Angular Project with Angular Material

Welcome to Angular CLI Gist

Creating Angular App from angular cli and then integrating with angular material.

Creating new Angular App

ng new pm-pinch --routing --style scss --prefix pm --skip-install --dry-run

With routing module With sass as default styles