My first TypeScript file
I am a typescript file
Using an Alfred workflow to assist in switching from Google Chrome to Firefox
Now every time I am about to launch Chrome, I see the "Launch Firefox Instead of Chrome" launcher.
Auto deploy Docker containers using a self hosted CI (Drone 1.0.0-rc.1) and a multi stage Dockerfile
Drone.io is a great, Docker based alternative to Jenkins that is a lot like a self hosted alternative to TravisCI. One of the best ways to get Drone automatically building your images for you, especially images that have a build stage, is to use a multi-stage Dockerfile
Using the 'timer' observable from Rxjs and Chrome Headless to hack a contest at work
The official rules read: “Everyone has their own tagged link that points to the landing page — each unique click = 1 point”. Interesting, very interesting.
Optimizing your Dockerfile build layers
Too many layers and your machines take a large amount of storage and can take a long time to download and extract. Too few layers and the machine takes F O R E V E R to rebuild.
Getting rid of hiccups
I found this the other day when I had the hiccups a few different days. Posting it here because it worked amazing and I do not ever want to forget this technique.
Command/Query Bus with IoC Container
Actions can either be a Command or Query. With the ApplicationCore, we can dispatch our Actions.
Showing code coverage for a React app using Code Climate and Travis CI
Testing a TypeScript React app using TS-Jest without using Create React App
Lets create a TypesScript React app without using the cli tool Create React App. This allows you to create a custom build specific to your deploy process.
Docker Compose, Traefik 1.7 + Lets Encrypt
If you’ve ever configured Docker + Nginx + Lets Encrypt before, it takes some time. Tools like Certbot have made this process easier, but they are not without flaws, especially when deploying to a docker environment. Traefik makes it a cinch.
Update PHP using homebrew
Update PHP on your Mac using after the homebrew/php tap has been deprecated.
Brew install everything
So you just got yourself a fresh Mac, now what? Getting your Mac configured to your workflow is essential to productivity. You spend the better part of every day using it, it is worth spending the time to get it set up right the first time.
Setting up a private git server using Gogs
Getting a private Git/Gogs server behind SSL is actually surprisingly easy to get going. Let's see what it takes to get a containerized Gogs + MySQL running on a VPS server behind SSL using Docker.
Building a PHP7.2 + Nginx application using Docker
The goal of this is to have a working development and production build for a PHP7.2 Application using Nginx as our web server.
Configure SSL Using Let’s Encrypt, Nginx, and Docker
Some notes on setting up HTTPS on your server using the official Let's Encrypt Docker Image.