-
Validating PAC files with NodeJS/Mocha
As a UK resident, I have had to resort to workarounds in order to access certain US-based sites, due to geo-blocks caused by GDPR “compliance”. …
-
I'm still alive!
It’s been quite a while since I last did a blog post! …
-
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. …
-
Future Decoded 2017 Powershell session
A big thank you to Microsoft for their kind invitation to speak at Future Decoded 2017 in London! …
-
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. …
-
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. …
-
[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. …
-
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! …
-
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; …
-
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. …