Never miss a beat

Join my newsletter.

The Archives

What is Laravel's Homestead?

Published: 3/1/2020

Laravel is, as far as PHP frameworks go, extremely popular. In their guide, the Laravel community recommends you use Homestead as your local development environment. But what is Laravel’s homestead and why use it? Laravel’s Homestead Homestead is Laravel’s suggested development environment for building Laravel applications in PHP. Homestead is packaged as a vagrant box (a virtual machine) and is aimed to simply the initial setup of your Laravel project. Why use Homestead? Laravel actually has a…

Deploying from Azure DevOps to DigitalOcean

Published: 2/19/2020

Azure DevOps is one hell of a tool, but is it still an option if you don’t want to deploy code to Azure? Well, yes, although it is a lot easier to deploy to Azure than anything else. This makes sense given how the two integrate and are owned by the same company. However, I’m going to show you how I deploy from Azure DevOps to DigitalOcean . Deploying from Azure DevOps to DigitalOcean isn’t as difficult as it may seem. In fact, with Azure DevOps’ build pipelines and a few modules, you can…

Python Length of a List

Published: 2/17/2020

When writing Python, it’s fairly common to find yourself working with lists of data. Usually, you’ll also find yourself trying to figure out just how my items are in that list. Thankfully, in Python, finding the length of a list is fairly easy. The key takeaway here is the len function that’s built into Python . No external library required! The len function takes in a sequence or a collection and returns the number of items contained within. This means that the length function has an…

Testing React Components with React Testing Library

Published: 2/15/2020

Testing react components with React Testing Library can be tricky, so I decided to try something new and put together a video demonstrating how to test your react components. I’ll work on improving the audio quality going forward, but I’d love to know your thoughts! Wanna see more content like this in the future? Lemme know!

Managing Authentication with React's useContext Hook

Published: 2/11/2020

Contexts are a commonly used tool when building React libraries, but are often overlooked when building an application in React. I don’t believe that should be the case, as useContext can provide you a powerful alternative (but lightweight) alternative to tools like Redux when managed carefully. The classic example of using a context is to declare an app theme but we can use them for so much more than that. In fact, we’re going to leverage a context today to demonstrate how simple…

Understanding React Lifecycle Methods

Published: 2/5/2020

React Lifecycle Methods are one tricky piece of business, especially if you’re coming from a framework that doesn’t have their own. Thankfully, they’re fairly similar to Android’s lifecycle methods and it wasn’t long before I was able to grasp them. React has changed a lot over the past few years and it’s lifecycle methods are no exceptions. In fact, with the release of hooks, the idea of lifecycles were shaken once more! React hooks can often be seen as a way to simplify the lifecycle process…