Blog

Docker layers and optimizing your Dockerfile

One small problem i recently came across was a project that had a slow build time to run, ~7 mins approx. Config changes required a rebuild, so 7 mins per change. Something i noticed was npm packages being installed for config changes and even HTML…

Randomizing your Windows desktop background using PowerShell

Hi! Do you ever get bored of your desktop background? I sure as heck do, so I created a little script to randomize it! (note: this will only work on Windows) There's 2 files involved: Set-RandomBg.ps1 - my script to download a random image using the…

Creating a portfolio site using Gatsby & Trello

What is Gatsby? Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps https://www.gatsbyjs.org/ Basically, Gatsby allows you to build a static site, similar to Jekyll but with a lot more…

Automatically generating authentication tokens using Postman

Postman is awesome. It does lots of magic things that most people don't know about or even care about. One of the useful features if you're working with API's that use frequently expiring tokens (such as short lived JWT's) then you may be making a…

Automating your local development environment

Dotfiles, source controlled development environments & automated profile setup Setting up a new environment can be such a pain, you need to Re-download all your software (if you can remember all the software & tools you had) Run 100's of installers…

AngularJS debugging tips

Accessing $scope of a component on the DOM When you select an element in the Dev Tools, a variable is created called $0 which is a reference to the element selected. You can then get the $scope of that selected element by running the following…

Generating SSDT static data from existing MS-SQL table(s)

Sql Server Data Tool (SSDT) projects allow us to define a database schema in a project file, wit the ability to easily develop database projects with the ability to build and generate a deployment script from the schema - meaning we don't have to…

Migrating a dotnet core console app to Docker

Before we get started, if you don't know about Docker, you should definitely have a read up about Docker. Docker containers wrap up software and its dependencies which allows developers to build, ship and run applications anywhere. Prerequisites…