This is a portfolio of code snippets from projects I've worked on over the years using the following technologies: Drupal, Sass, Gulp, Git, jQuery, Docksal, and more.
Since most of my full time coding work over the past 5 years has dealt with Enterprise level private repositories, I decided to create this site as a showcase for some code snippets, examples, and experiments I've worked on over the years. This is a work in progress, so I'll be adding more code over time.
Attach fitvids.js to a wysiwyg field where a video is present via the video filter module.
This code allows a user to select a color theme from a slide out panel in a Drupal theme
A Jekyll loop that draws upon YAML data for responsive images
Get an array of node types and then add a body class
Create Twig template theme hook suggestions for Drupal user view modes
Using Drupal 8's theme_suggestions_later hook for enhanced Twig template variations
Using Drupal 8's libraries-override function
In which we query with Drupal's global views_get_page_view function
A custom script to install Node, Yarn, Jekyll, and Ruby in Docksal
Create CSS utility classes the easy way using a Sass @each loop