Code Snippets
Short code for discrete problems which can be copied and pasted.
Name | Description | ||
---|---|---|---|
useChartDimensions | A responsive React hook for managing d3.js chart dimensions. | 03-18-2025 | |
Dark Mode | Setting up dark mode to nextjs app | 04-11-2024 | |
Higher Order Function with Auth | Higher order function with authentication | 03-15-2024 | |
useIsMounted | React hook to check if component is mounted | 05-11-2023 | |
Animated Background Shapes | Create blurry, animated shape effect with combination of CSS filters, mix-blend-mode and custom animations in tailwindcss. | 01-19-2023 | |
Debounce | Restrict the calling of a function by delaying the execution | 07-11-2022 | |
Enable Hyper-V for Windows 10 Home | It's a shame that Hyper-V is not available for windows 10 home edition. Here's a hack to enable it. | 08-24-2021 | |
Tailwind Widgets | Tooltip, search form, animations in tailwind | 05-02-2021 | |
List Python Class Members | List all members of a Python class | 03-15-2021 |
Rows per page
Page 1 of 1