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.
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.
✅ capitalize(str)
Capitalizes the first letter of a given string.
✅ debounce(func, delay)
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. 🌟
deepClone and deepFreeze.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.
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:
A handy list of Bash commands to boost your workflow and productivity! Perfect for developers, sysadmins, and anyone working in the terminal.
ls -al — List all files and folders with details.cd — Change directory.A quick guide for getting started with open source projects—find, contribute, and grow as a developer!
good first issue, help wanted, or beginner friendlyEver wanted to deep-copy any JavaScript object, even those with circular references? Here’s a magical utility function that does just that. Perfect for copying state in complex apps, or just wowing your friends!
/**
* Deeply clones a value, including objects with circular references!
* @param {any} value - The value to deep clone.CI/CD stands for Continuous Integration and Continuous Deployment/Delivery — a modern software development practice designed to automate the building, testing, and deployment of applications.