Sun Dec 17 2017
One weird trick to reduce build time! CI services hate him!
This is a fairly simple way to reduce your build time if you spend a lot of time bundling dependencies prior to performing tests or deployments in CI.
The trick is to bundle any build dependencies into a Docker image so that you don’t have to install them each time you run a job.
Let’s take a look at my .
Continue readingFri Sep 15 2017
Earlier this year (06/05 to 07/05), Nathan Malishev, Josh Parnham, Daniel Sykes-Turner, and I attended the Facebook Melbourne Hackathon — located in Facebook’s beautiful, and brand new, Melbourne office.
Our team, ‘Moji’, ended up taking home first prize — a trip to San Francisco to compete in the Facebook Global Hackathon finals.
We built an end-to-end product, moji.cool, consisting of a dashboard, a Chrome extension and an embedable widget, which allowed end users to react to any web page they come across.
Continue readingThu Feb 2 2017
Over the past couple of months I’ve received numerous messages asking me how I’ve made this website respond to cURL requests with JSON (a little like JSON Resumé). If you’re out of the loop, you can either curl hugo.md or check out this GIF:
It’s super simple to setup — I’ve done it with nginx and with Caddy. All it does is:
Check the user agent on incoming requests to the root site (example.
Continue readingThu Dec 29 2016
Zeit is a great little company that aims to “Make Cloud Computing as Easy and Accessible as Mobile computing”, and they’re doing that just with their relatively new service, Now. Now aims to make deploying Node and Docker apps as simple as typing now into your terminal. It also allows deploying static websites, which is what I’ll be using it for in this little tutorial.
Prerequisites This tutorial assumes that you’ve got a Zeit account, and have some familiarity with GitLab Review Apps, GitLab CI, and that you have a GitLab Runner setup and ready to go.
Continue reading