Skip to content

Instantly share code, notes, and snippets.

View Krishprajapati15's full-sized avatar
:octocat:
Building dreams in code...

Krish Prajapati Krishprajapati15

:octocat:
Building dreams in code...
View GitHub Profile
@Krishprajapati15
Krishprajapati15 / Open-Source-Contribution.md
Created June 2, 2025 16:05
This Open Source Contribution Cheat Sheet provides a step-by-step guide for beginners to start contributing to open source projects. It covers finding projects, making your first pull request, and best practices for successful collaboration. Perfect for anyone looking to get involved and grow their skills!

🌍 Open Source Contribution Cheat Sheet

A quick guide for getting started with open source projectsβ€”find, contribute, and grow as a developer!


πŸ”Ž Finding Projects

@Krishprajapati15
Krishprajapati15 / git-tips-cheatsheet.md
Created June 2, 2025 16:03
This Git Tips & Tricks Cheat Sheet provides a quick overview of essential Git commands and power-user tips. It’s perfect for everyday development, troubleshooting, and boosting your productivity. Great for both beginners and Git veterans!

πŸ§‘β€πŸ’» Git Tips & Tricks Cheat Sheet

A collection of essential Git commands and pro tips for working smarter with Git repositories.


πŸ“¦ Repository Basics

  • git init β€” Initialize a new Git repository
  • git clone β€” Clone a repository
@Krishprajapati15
Krishprajapati15 / Bash-Cheat-Sheet.md
Created June 2, 2025 16:00
This Bash Cheat Sheet provides a quick reference of essential commands for file management, searching, editing, system info, and networking. It’s designed to help beginners and experienced users navigate the terminal more efficiently and boost productivity. Perfect for daily use or as a learning aid!

πŸš€ Bash Cheat Sheet: Must-Know Commands for Productivity

A handy list of Bash commands to boost your workflow and productivity! Perfect for developers, sysadmins, and anyone working in the terminal.


πŸ“ File & Directory Operations

  • ls -al β€” List all files and folders with details.
  • cd β€” Change directory.
@Krishprajapati15
Krishprajapati15 / README.md
Created May 22, 2025 06:04
A minimal JavaScript debounce utility to control rapid function execution. Great for optimizing input fields, event listeners, or real-time UX features.

⚑ debounce.js

A lightweight and reusable debounce utility function written in pure JavaScript. Ideal for improving performance in events like input typing, window resizing, or button spamming.


πŸ“Œ What is Debouncing?

Debouncing is a technique used to limit the rate at which a function is executed. It ensures that a function is not called again until a certain time has passed since its last call. This is useful for performance optimization in scenarios like:

@Krishprajapati15
Krishprajapati15 / README.md
Created May 6, 2025 07:11
This TypeScript utility library provides a comprehensive set of tools to enhance your project's readability, maintainability, and type safety. It includes features such as a deepClone function for creating deep copies of objects, a Result type for structured error handling, a deepFreeze function for immutable objects, and a retry utility for han…

πŸš€ TypeScript Utility Library

Welcome to the TypeScript Utility Library, a collection of reusable, type-safe, and elegant utilities designed to streamline your TypeScript projects. Whether you're handling deep object manipulations, managing asynchronous operations, or ensuring robust type safety, this library has you covered. 🌟


✨ Features

  • Deep Object Manipulations
    Easily clone or freeze deeply nested objects with utilities like deepClone and deepFreeze.
@Krishprajapati15
Krishprajapati15 / README.md
Created May 5, 2025 15:58
This Gist contains a powerful collection of commonly used JavaScript utility functions that can help streamline your development workflow. From capitalizing strings and formatting dates to debouncing functions and deeply cloning objects, these handy utilities are essential tools for both beginner and experienced JavaScript developers. They can b…

πŸ› οΈ JavaScript Utility Functions Collection

A collection of essential and reusable JavaScript utility functions that simplify common programming tasks. These functions are small, pure, and easy to integrate into any frontend or backend JavaScript project.

πŸ“¦ What's Inside?

  • βœ… capitalize(str)
    Capitalizes the first letter of a given string.

  • βœ… debounce(func, delay)

@Krishprajapati15
Krishprajapati15 / README.md
Created May 5, 2025 15:53
This Gist demonstrates how to interact with the Ethereum blockchain using the Web3.js library. It includes simple, beginner-friendly examples such as connecting to the Ethereum mainnet using Infura, retrieving the latest block number, and checking the ETH balance of any Ethereum address. This code is ideal for developers who are starting with We…

πŸ”— Web3.js Ethereum Interaction Gist

This Gist demonstrates basic interactions with the Ethereum blockchain using the Web3.js library. You can:

  • Connect to the Ethereum mainnet via Infura.
  • Fetch the latest block number.
  • Check the ETH balance of any Ethereum address.

πŸ›  Requirements