1. Use 'terraform plan' without connecting to the internet

    You may be in the situation where you’re trying to quickly test the output of a terraform plan, but you haven’t actually got internet access, or valid AWS account credentials. …


  2. Future Decoded 2017 Powershell session

    A big thank you to Microsoft for their kind invitation to speak at Future Decoded 2017 in London! …


  3. Pester - Mocking a function with a parameter of type System.Array

    Pester has a very cool Mock function that allows you to replace a function with a Mocked function, which you can then test to see if it’s run with certain parameters. …


  4. Display a VSTS dashboard on a TV screen with custom CSS

    I have a tablet set up at work that always shows me my VSTS dashboard, which I’ve configured with widgets just for my consumption. …


  5. [Reblog] Refactoring a monolithic Powershell DSC project using PSForge

    Over the last couple of years, we have been managing environment configuration of a Windows-based production environment with Powershell DSC. It’s been working rather nicely so far – any configuration drift is fixed within 15 minutes, and Windows-literate engineers are quick to get used to the Powershell-based configuration syntax.


  6. Atlassian svn-git migration scripts are not creating branches and tags

    Atlassian have some really useful scripts to help you to convert a Subversion repository over to Git. The clean-git script is supposed to generate all the local branches and Git tags from the imported SVN branches and tags, however when I tried running the script it didn’t actually do anything! …


  7. Powershell DSC: Solving duplicate keys in Script resource

    Recently I came across a puzzling issue while writing a custom Powershell DSC resource - when I tried to use it more than once in a single configuration, I would get this error message; …


  8. Working on multiple Git branches simultaneously

    Working on multiple branches at the same time has been a staple part of traditional source control tools such as CVS, SVN and Perforce, due to the fact that each branch is kept in a separate folder. Multiple branch versions of a single file can be opened in text editors and modified alongside each other, and this was taken for granted. …


  9. Ansible: delegate_to and variables

    One nice feature of Ansible is its ability to “delegate” tasks to the control machine, or any other host that the control machine can SSH to. …


  10. Unable to use 'open' command in OSX tmux

    I recently installed tmux on my laptop running OSX 10.10.4. I’d not had any issues until I tried to use the ‘open’ command in order to install a .pkg file manually. …