An everyday JavaScript pattern to avoid clunky switch-case statements and unnecessary if conditionals.
Automatically run scripts with NPM/Yarn before or after another script.
Code snippet that extracts a Twitter user handle from a valid Twitter URL using JavaScript.
Make a bulk conversion of markdown images to HTML strings using a regex find and replace with VS Code.
Quick JavaScript/Node snippet that can pul a GitHub repo path from a full GitHub URL.
Manually creating images for blog posts can be super time-consuming. Here's the foundation necessary for automatically generating meta images for content in markdown files.
When writing some script or program that works with markdown files, it's nice to not have to generate them manually. Here's a script to get the job done for you.
Quick snippet to run some function n times using JavaScript.
Astro is the new static site generator on the scene. This is why I'm so excited about it.