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…

Introducing Laravel Shopify

Background As an active Ruby (and Rails) developer, I found myself regularly making Shopify apps in Rails and Sinatra. I've even released my own Gems to solve common (small) issues I've faced developing for these platforms. PHP itself... I haven't been active in years on that front. With PHP7 however,…

Reactive VueJS Plugins

VueJS has been my go-to framework from building small to medium-sized frontend applications and add-ins. Its simply great - easy to develop with and able to plug into existing systems as a simple view layer. Plugins & Reactivity Plugins in Vue, allow you to extract code into a re-usable module.…

Wordpress Under Docker: A Basic Guide

Purpose There's many lengthy guides out there for the official Docker image for Wordpress. However, some people have a little trouble getting going so I will quickly provide some tips to help out. I haven't used Wordpress professionally in a long time, but I decided to do some weekend digging…

Developing sanely on Windows: Revisited

Back in November I wrote a post about how to develop sanely on Windows. It was a successful experiment which resulted in a usable environment to develop. Today, I am re-visiting this with some more notes as I've now been full-time developing on Windows for a month now. With this,…

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…

Opinion: When to use a VPS vs PaaS

Introduction Well this is my first post for 2017. I've been very busy with family and the recent passing of my close grandfather who was diagnosed with Bronchitis Obliterans, also known as "Popcorn Lungs", a rare and incurable condition. He went through the new Assisted Death option here…

Toggling TinyMCE v4

Heres a easy way to turn on and off the TinyMCE editor for version 4. document.getElementById('toggle-tinymce').addEventListener('click', function(e) { e.preventDefault(); var editorID = this.dataset.editorId; var editor = tinymce.EditorManager.get(editorID); if (editor) { editor.remove(); } else { editor = tinymce.EditorManager.createEditor(editorID, tinyMCE.settings); editor.render(); } }); You…

shopify_app_whitelist Gem

I regularly use shopify_app. Its a great way to get an app, embedded or not, up and running with Rails. Sometimes I'll create apps with shopify_app which are to be used by only one store. These apps sometimes have a front-end component for the themes... proxy integration, or…

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.…