Posts
Encapsulating console.log with spread operator
Published 4 November 2015 in archive with tags javascript , es2015 , es6 ES6 or ES2015 contains lots of goodies. One of them, my favourite, is the spread operator. It "allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) are expected." Continue reading …Determine volume location on Docker host
Published 3 November 2015 in archive with tags docker , jenkins Yesterday I was having an issue that I've had before. It stumped me last time and it stumped me again. I just didn't think and it cost me too much time. Continue reading …Check if temp table exists in SQL
Published 14 October 2015 in archive with tags sql I'm going to start posting some SQL snippets, either things I learn day to day or things that I've had sat around for years. Continue reading …Reclaim your inodes by deleting dangling docker volumes
Published 8 September 2015 in archive with tags docker , linux , bash Note: these days, you can simply usedocker volume prune
, but this is being posted for posterity. This was an issue which caused lots of problems back in 2015, and determining ways of managing inode usage helped a number of platforms including Shopify, who took containerisation to a new level.
Continue reading …