Konnor's Blog

Written by Konnor Rogers who currently works at VeueLive as a full time developer. You should follow him on Twitter

PNG optimization from the command line

May 04, 2021

Optimize your pngs from the command line using pngquant and bash

How do default_url_options work in Rails?

April 03, 2021

A quick down and dirty guide to the totally bizarre default_url_options API in Rails.

Differences between JavaScript and Rails timezones

March 05, 2021

Common pitfalls and issues with Rails timezones. Differences between the browser and the server, and various other tidbits.

Active Storage Variants with Rails 6.1

February 24, 2021

receiving the following error with ActiveStorage Variants with Rails 6.1? ActiveRecord::NotNullViolation (PG::NotNullViolation: ERROR: null value in column 'record_id' of relation 'active_storage_attachments' violates not-null constraint) Let me help!

Webpack, Rollup, Parcel, Snowpack, and beyond

September 29, 2020

A brief comparison between popular frontend bundlers. I will walk through my thoughts and feelings related to each bundler

Dynamic Getters and Setters on an Object

August 10, 2020

A guide to defining dynamic getters and setters on a Ruby Object

Dockerizing Bridgetown

May 23, 2020

Getting started building with Bridgetown by dockerizing it. I'll walk through a Docker setup for Bridgetown using Alpine Linux.

Getting Started with Rails 6

May 03, 2020

A guide to getting setup with Rails 6 using Docker

Adding Emotion, Typescript, and Jest to Gatsby

March 05, 2020

A detailed description of adding emotion, typescript, jest, and react-testing-library.

Adding tailwindcss to a Gatsby project

January 20, 2020

Details on how to add tailwindcss to a Gatsby project.

Setting up a Gatsby project with Docker

January 16, 2020

How to setup a new gatsby project with docker within the current directory of your project

Making EMS Helper - Hiccups

December 18, 2019

Detailing a few of the issues faced when attempting to populate the database.

Making EMS Helper - Setting up

December 08, 2019

Detailing the initial setup of EMS Helper with Rails 6, Webpack, TailwindCSS, Docker, and Docker-Compose

Making EMS Helper - Introduction

December 05, 2019

This is the beginning of EMS Helper. A service meant to provide people with the ability to quickly locate the closest appropriate hospital.

PostgresQL - Setting up postgres on a local environment

November 24, 2019

I will detail a short and easy way to get PostgresQL running on a Ubuntu based machine for local development.

PHP for Beginners - Part 8 - What the heck is PDO?

November 23, 2019

Lets learn about PDO and why its important.

How to setup TailwindCSS with PostCSS and Webpack

October 11, 2019

I will detail how to setup TailwindCSS with PostCSS and Webpack. I will do the bare minimum setup to get it working without many plugins.

JS - How to configure webpack-dev-server live-reloading

October 10, 2019

In this post, I will go over how to configure webpack and webpack-dev-server to allow for live-reloading similar to live-server

JS - Using Jest with Import and Export statements

October 02, 2019

Using jest with import and export statements is not easy. I will detail how to use the ES6 based syntax in the following post.

JS - Appending multiple children to an element

September 29, 2019

After searching and scouring the internet for the best way to append multiple children within the DOM at the same time, I came across the DocumentFragment API

JS - Introduction

September 29, 2019

A basic introduction as to what this series will be about

PHP for beginners - Part 7 - Classes?...Like school?

August 26, 2019

Lets look into classes in PHP. Classes are the building blocks of Object Oriented Programming

Learning PHP - Part 6 - MySQL? Or Your SQL?

August 26, 2019

Lets learn some basics of SQL based databases, in this case, MySQL

Learning PHP - Part 5 - Lets make it functional

August 26, 2019

Lets learn a little bit about functions

Learning PHP - Part 4 - Lets get conditional

August 19, 2019

Dealing with conditionals and booleans

Learning PHP - Part 3 - Arrays, Arrays, and more Arrays

August 18, 2019

Lets dive deep into arrays and associative arrays

Learning PHP - Part 2 - Lets get coding!

August 18, 2019

Learn php with me! Part 2

Learning PHP - Part 1 - Lets Compile PHP!

August 18, 2019

Compiling PHP with PHPENV is not easy, come enjoy my frustrations in this task.

My Second Post!

May 06, 2015