Bored Hacking

When should you use Gatsby?

November 01, 2019

Gatsby.js is an up and coming technology for building simple statically generated websites. It has seen a huge adoption, and seemingly everyone in frontend development has heard about it or is talking about it. However, this has led to people trying to use Gatsby in the wrong places instead of other technologies better suited for that situation. This post talks about me falling into this subgroup as well as some of the cases where you should use Gatsby and when you shouldn't use Gatsby.

Automating Deploys to Kubernetes with CircleCI

October 11, 2019

This tutorial shows how to automate deployments to Kubernetes using CircleCI. This tutorial uses AWS services like ECR and EKS, but it can be generalized and changed for other Kubernetes solutions. This post will go through the entire CircleCI flow of deploying changes for your app to Kubernetes from updating the image and storing it in a repository to deploying the new application on EKS.

Mocking Sentry in Jest and Gatsby

September 23, 2019

This is a very short and simple tutorial describing how to mock [Sentry]( in the Jest testing framework and in a Gatsby.js application. This approach can be used in Jest only, but I will use Gatsby.js and their unit testing tutorial as a basis.

Deploying a Gatsby Application to an S3 Bucket Using CircleCI

August 15, 2019

This is a tutorial about how to deploy a Gatsby.js application to an S3 bucket using CircleCI.

Avoiding Webscraping Throttling Using Python and Tor as a Proxy

July 08, 2019

In order to hide your IP address and to try and limit throttling when web scraping, it might be a good idea to use a proxy such as Tor. This post describes how to use Python based web scraping tools and Tor to hide yourself when scraping websites for data. However, it can also be used more broadly when using Python to make requests to hide your actual IP. I do not condone the use of this information for any illegal or illicit activity.

Deploying a New Docker Image to an EKS Cluster on Codeship

May 19, 2019

This is a tutorial about how to deploy a new Docker image to your Kubernetes worker nodes with Codeship when you've deployed your cluster on EKS. This was based on a combination of tutorials found on Codeship and comments and extraneous links. The documentation on Codeship requires you to look in multiple places and is outdated in some cases, so hopefully this aggregates it in one place and updates it.

Setting Up AWS Elastic Kubernetes Service (EKS) and Deploying

May 15, 2019

This is a tutorial on how to setup an AWS Elastic Kubernetes Service (EKS) cluster and deploy a Docker container service to EKS. We will mostly follow the AWS tutorial but make some changes to deploy your personal containers instead of the ones provided by the EKS tutorial. This process was used to deploy our Next.js Application.

Setting Up a Next.js Docker Container and Publishing it to AWS ECR

May 13, 2019

This is a tutorial on how to setup a simple Docker image for a Next.js application so that we can deploy the Docker image to a container registry. We will use AWS Elastic Container Registry (ECR) in this tutorial as our Docker container registry. This way we can access our Docker image from other machines and deploy the image to something like AWS Elastic Kubernetes Server (EKS) or AWS Elastic Container Service (ECS).

Setting Up Google Optimize in a React App Using Segment

April 27, 2019

Setting up Google Optimize for A/B experiments in a Single Page Application(SPA)

Pipelining Segment Events Back Into Our eCommerce Store

April 27, 2019

Using AWS Lambda Functions and Kinesis Streams to process and stream events

Hello World

April 23, 2019

Welcome to James Russo's Blog about technology