Code Snippets
These are a collection of code snippets I have used in the past and want to share with you.
Generating UUIDs in JavaScript
Sep 28, 2024
Check in which environment the code is running
Sep 13, 2024
How to Remove a Query String From a URL in JavaScript
Sep 7, 2024
Deep Clone an Object in JavaScript
Sep 4, 2024
Range Function
Jul 12, 2024
Visually Hidden
Jul 12, 2024
Random number generator
Jul 11, 2024
useHasMounted
Jul 11, 2024
How to Check if an Element is in the Viewport in JavaScript
May 20, 2024
How to get the current URL with JavaScript
Mar 20, 2024
Common CSS Class Names
Oct 25, 2023
Installing PostgreSQL on macOS
Oct 4, 2023
Move cursor to the end of input
Mar 22, 2023
Check if date is between two dates
Mar 5, 2023
CSS - Custom text selection
Mar 5, 2023
SQL countries table
Feb 15, 2023
Remove Duplicates from an Array
Jan 26, 2023