Easily Measure Code Coverage in React

This guide will teach you how to easily measure code coverage in React for a project generated with create-react-app. This article is going to use https://github.com/chrishart0/gsd-aws-cdk-serverless-example as an example. Either follow along with your own code or fork that repo. The example repo is a mono repo with a Lambda function backend and a ReactJS front end, we are going to be focusing on the contents of the frontend directory....

March 18, 2022 · 3 min · chart

Sun Tzu's The Art of DevOps: I

If Sun Tzu was practicing modern development methodologies, Sun Tzu’s The Art of DevOps… “Cloud Infrastructure are like unto water; for water in its natural course runs away from high places and hastens downwards… Water shapes its course according to the nature of the ground over which it flows; the infrastructure engineer works out his resource allocation in relation to the load which he is facing. Therefore, just as water retains no constant shape, so in the cloud, there are no hard-coded compute allocations....

March 16, 2022 · 2 min · chart

Fix: Can't connect to Kobo e-reader on Linux

How to fix not being able to connect to Kobo e-reader on Linux. I’ve owned a Kobo Forma for a few years now and I love it. My biggest issues with the device always come from trying to connect to it to upload new books. Of course, I never connect it to wifi, I just upload PDFs I’ve downloaded and Epubs from https://www.gutenberg.org/. I can’t connect to my Kobo e-reader Linux This is a frequent issue for me....

March 14, 2022 · 2 min · chart

Quickly fix botocore.exceptions.noregionerror: you must specify a region.

Quickly diagnose and fix the botocore.exceptions.noregionerror: you must specify a region error. The fix is you must specify a region. The quickest fix is to open your ~/.aws/config and add region=us-east-1 to the [default] profile. There are more details and several other ways to specify a region at the bottom of this article in the How To Fix section. Here is how your config file should look. This will resolve botocore....

March 10, 2022 · 3 min · chart

AWS SAM in a Docker Container

If you’ve worked on even one Lambda function then you know that development without local testing can be slow. In this article we will go over using AWS SAM to startup an API on port 3000 with API Gateway and Lambda locally inside of a docker container nested inside another Docker container running AWS SAM for portability, ease of use, and easier integration into larger products / end-to-end suites. If this sounds useful to you keep on reading....

February 23, 2022 · 4 min · chart

Make your Life Easier by Running AWS CDK in a Docker Container

Cross post from Medium Tags: CDK, 3 Musketeers, AWS This is an example of AWS CDK in a docker container following the 3 Musketeers pattern. GitHub Repo: https://github.com/chrishart0/aws-cdk-typescript-3-musketeers What Is This 3 Musketeers Thing Anyway and Why Would I Want to Do Such a Thing as to Containerize the AWS CDK? Links: 3 Musketeers for an epic Developer Experience What is 3 Musketeers? What is AWS CDK There are a host of benefits to the 3 Musketeers pattern, which mostly center around Developer Experience....

February 22, 2022 · 3 min · chart