Blog
Snippets
About
Resume
BlogSnippetsAboutResume

Snippets

Reuseable code snippets collected by me

Prod NodeJS Docker Config

Production ready docker configuration for nodejs based applications.

useAsync

Custom hooks to use an async effect

Validate color

Check if a string is a valid color

Shuffle an array

Shuffle an array in Javascript

Code block syntax notes

Markdown Code block's basic and advanced syntax

Event Emitter

Simple Event Emitter or PubSub pattern

Read files names

Read all file names inside a folder

.gitignore

Keep 1 file and ignore others in a directory

useLocalStorageState

Custom hooks to use local storage state

githubtwitterlinkedinmail
Copyright © 2022
• endalk200's blog