dev

Total Posts: 13

Easily Password Protect NextJS pages with Iron Session

22 October, 2022 3:56 PM

Say you want to set up a simple password protected page (or a bunch of pages), just for yourself, in your NextJS application. It's super…

Connect To fly.io Sqlite Production Database

08 June, 2022 10:46 PM

Gonna give a quick how to for connecting to and getting your sqlite database from your production app on fly.io. It can be a bit confusing…

Sorting One Array With Another in JavaScript

13 March, 2022 9:55 AM

Recently I needed to sort one array I had no control of to show specific categories in a specific order. Any items in the array of…

Angular Dynamic Page Titles with Nested Routes

30 September, 2021 9:21 AM

This is a quick demo of one way you can accomplish dynamic page titles in the html head tags with Angular. This should work in most recent…

Destructure Optional Params in Typescript

06 May, 2021 2:15 PM

Sometimes you have a function with an optional Object argument that you want to destructure in the function. Like so: However you'll get an…

How to find a Database in 2021

14 January, 2021 6:55 PM

I haven’t been around as long as some, but I’ve been around web development to remember the days where everyone had a cpanel and managed…

Automate Firebase 🔥 hosting with Github Actions

23 May, 2020 12:49 PM

UPDATE 01/21/21: Using the firebase init command you can now automatically set up deployment from Github through the CLI and you shouldn't…

How to generate a random ID in JavaScript

22 February, 2020 1:34 PM

I'm sure this is posted in a ton of places already but I thought I would share a method I sometimes use to generate random strings of…

Conditional Vue Hash Router

02 December, 2019 4:28 PM

Recently I built a Vue app for a client that existed inside an existing Wordpress site. The Vue app was responsible for handling a complex…

Webpack Image Loading

23 September, 2019 1:23 PM

Sometimes you have to make a custom webpack config. Whether you're working on making a vue app inside a server rendered framework like…

Netlify Dev + Serverless Functions + Mailchimp Subscribe Form Tutorial

06 September, 2019 7:13 PM

You've probably heard about Netlify , the amazing static host that literally makes everything about static website hosting feel like a walk…

Why don’t we talk to users?

28 June, 2019 3:17 PM

Have you ever been in a meeting with a stakeholder and you or someone else suggests interviewing users or looking at user feedback in order…

Welcome!

27 June, 2019 1:40 PM

Hey there, my name is Matt. I’m a husband, dog dad, software engineer, musician, photographer, coffee enthusiast, life-long learner…

matt@codegregg.com