Hackerlite

Ramblings of an amateur developer. Hopefully cover Node JS, Java, Docker, AWS and anything else I can give back to the development community.

  • Home
  • About Me
  • github
  • twitter
  • linkedin
Subscribe
kubernetes

Kubernetes Migration

My attempt at deploying a workload in a Kubernetes cluster on Digital Ocean using Terraform and Helm.

Blair Garrett Blair Garrett
ghost

Ghost, Digital Ocean and Terraform

How I set up Ghost Blog on a Digital Ocean Droplet using Terraform and managing the state using Google Cloud Storage.

Blair Garrett Blair Garrett
heroku

Heroku Docker Deployments

Resolving the `error parsing HTTP 400 response body: unexpected end of JSON input:` with pushing Docker images to Heroku.

Blair Garrett Blair Garrett
typescript

Mock memory-cache in TypeScript with Jest

Mock memory-cache in TypeScript with Jest

Blair Garrett Blair Garrett
helm

Waiting For Tiller

Waiting for the Tiller component of Helm to become ready in a cluster.

Blair Garrett Blair Garrett
Javascript

Leeds JS - Talking About Ghost Blog

Me talking about Ghost blog at the Leeds JS meetup event in September 2018.

Blair Garrett Blair Garrett
npm

NPM vs Yarn vs PNPM

A speed comparison of npm, yarn and pnpm. With and without cache, without lock files and with existing node modules.

Blair Garrett Blair Garrett
docker

Azure CLI Dockerfile with kubectl

Dockerfile with Azure CLI and kubectl

Blair Garrett Blair Garrett
php

My first external talk

Just want to take you through the practices, tools and techniques I employed when making my best attempt to secure and speed up API’s.

Blair Garrett Blair Garrett
jest

Migrating from Mocha and Sinon to Jest

Example of migrating from Mocha and Sinon to Jest.

Blair Garrett Blair Garrett
react

React v16.2 Fragments - Configuration

Overview on how I set up React 16 Fragments with Webpack 3. Explaining my Webpack configuration and the NPM modules I opted for.

Blair Garrett Blair Garrett
jest

How to mock event.preventDefault() with Jest

Level - Intermediate. Read Time ~ <3 minutes. This evening I've been starting work on converting unit tests from Mocha to Jest. The reason for doing this is that Jest runs test in

Blair Garrett Blair Garrett
Javascript

Boilerplate for Hapi.js, Web Socket, HTTP/2, React and Redux

Level - Advanced. Read Time ~ <10-15 minutes. TL;DR Github Repo Running App Boilerplate Goals Recently I set myself the goal of learning and gaining a better understanding of the following technologies:

Blair Garrett Blair Garrett
Javascript

Merge Object values in JavaScript

Level - Intermediate. Read Time ~ <10 minutes. Something which should be simple and it is. Latest mini-challenge was to merge the values and keys of 2 objects in JavaScript. The reason behind

Blair Garrett Blair Garrett
docker

Alpine Docker Image with Node-SASS

Level - Intermediate. Read Time ~ <5 minute. Recently I spent several fun hours of my life trying to build an Alpine Linux Docker image with Node-SASS installed. So the tools and tech

Blair Garrett Blair Garrett
php

Consume SOAP Services in PHP Using Zend

Level - Intermediate. Read Time ~ <10 minute. Little to my bemusement I thought consuming SOAP Web Services in PHP was a trivial task. It is, once you know how. I spent several

Blair Garrett Blair Garrett
linux

Install Docker Compose on Cent OS 7

Level - Beginner/Intermediate. Read Time ~ <1 minute. This was slightly more frustrating than it should be. But you simply just need to run the following commands in the shell: - $ curl

Blair Garrett Blair Garrett
Javascript

Simple Gulp file to compress CSS and HTML for a static site on AWS S3

Level - Beginner/Intermediate. Read Time ~ 5 minutes. Repo - https://github.com/blairg/aws-s3-static-site-template The other day I was tasked with hosting a landing page for a website whilst it was being

Blair Garrett Blair Garrett
AWS

How to copy between S3 buckets and retain full permissions

When copying or syncing between S3 buckets on AWS using the CLI. If you want the destination bucket owner to have full permission to the objects being inserted in the bucket, you will

Blair Garrett Blair Garrett
Hackerlite © 2021
Latest Posts Ghost

Subscribe to Hackerlite

Stay up to date! Get all the latest & greatest posts delivered straight to your inbox