Pomodoro Method

I've had a history of a bad back and neck, ever since I was a kid. I've seen a chiropractor countless times about my issues. Sitting all day at a desk in my adult years, doesn't help at all to that. Researching in help for this, besides ergonomics of the…

Moving away from CanCanCan to Pundit

What is Pundit & CanCanCan? Pundit is a simple, platform-agnostic, plain-ol-Ruby authorization library. It provides a set of helpers to get authorization done simply no matter if its plain Ruby, Sinatra, or Rails. CanCanCan is a fork of the original CanCan Gem for Rails. CanCanCan, like Pundit, is an authorization…

Journey to Sucker Punch

Background jobs are great. Mailing, data processing, image processing, database operations… you name it. If its a repetitive blocking process for the user and its not time-sensitive, then its probably suited to be moved to a job. delayed_job My go-to ActiveJob adapter for Rails has always been Delayed Job.…

ActiveRecord and Liquid Drops with Sinatra

Normally I use ERB when doing templates but there was a special use-case recently where I needed to allow the app user to modify a specific template. Liquid templates (what Jekyll and Shopify uses) was perfect for this situation because it has a simple syntax for anyone to pick up…

Calculating Percent Saved with Shopify

Visually displaying to the customer how much they are saving is a big help to driving them towards a purchase. This is a simple snippet and guide to help you achieve this functionality in your Shopify stores. First, to calculate the percentage saved, lets look at the basic math for…

Developing Shopify Themes with Teams

This is a simple write up to explain how a team can utilize Git versioning to manage a Shopify theme successfully. Its not a complicated processes but will require patience! As a side-note, this is simply a personal recommendation based on my experiences, there are of course other ways to…

Qr Code Gradients

Qr codes and matrices are a great way to share content to an audience, it allows anybody to simply put their phone up to the Qr image, scan it, and see what's inside. The premise of QrInColor.com was to provide a free way for users to not only create…