How to merge multiple repositories, with their history, into a single repository, using the
git subtree add command.
I will be attending May Meetup - The Ultimate DevSecOps and Well what would you do next...? on
Sharing Multiple SSH Sessions over the Same Network Socket (3 mins read).
Reusing network sockets for speed and reduction of authentication handshakes with OpenSSH.
Better Git Diff Outputs with Git Submodules (2 mins read).
How to get nicer
diffs when working with submodules.
file in Chef doesn't actually
delete it (3 mins read).
Why you should explicitly add
backup false when
file through Chef, to avoid leaving potentially sensitive files still on the box.
I will be attending Tech Nottingham May 2018: Quantifying Feelings and Automating Curtains on
Morsels of Goodness: What's Cooking in Chef 14? (5 mins read).
A look at the new features coming in the new Chef 14 release, as well as what to watch out for when upgrading.
Finally Returning to Full Time Work After 123 Days (2 mins read).
Receiving the final sign off after four months off for my ruptured appendix.
How to dynamically serve a branch on a subdomain for GitLab Review Apps using Caddy Labels.
Deploying to Netlify using GitLab CI (3 mins read).
How adding two lines to my
.gitlab-ci.yml migrated my existing site from GitLab Pages to Netlify.
Executing an Interactive Python Shell (REPL) for a Script (1 mins read).
python -i to get an interactive REPL after running a Python source file.
Bundling Common Rake Tasks into a Gem (8 mins read).
An example of how to create a helper gem for common Rake task, using the real-world example of Chef cookbooks.
docker login as another user in Chef (2 mins read).
Hitting the error
permission denied while trying to connect to the Docker daemon socket when trying to run
docker login as a non-root user in Chef.
My First Week Back to Working (Remotely) After Three Months (6 mins read).
How I've found the first week back to work after almost three months, and the productivity gains of working reduced hours.
I will be attending April 2018 - Alexa Skill Development with Amazon on
Chef 13 Upgrade:
knife-cookbook-doc Rubocop Updates (1 mins read).
Missing space after # and
Do not use block comments errors for your
knife-cookbook-doc formatted comments.
Chef 13 Upgrade:
knife-cookbook-doc gem upgrade (1 mins read).
Logger entries in autogenerated
README.mds for Chef 13.
Preparing for breaking changes in Chef 14 by renaming
new_resource.property_name in Custom Resources.
Rspec code to verify that a Ruby Class Method is called from another method, without needing to mock anything.
ruby_blocks with ChefSpec (3 mins read).
Testing implementation of a
ruby_block in ChefSpec, to ensure that the code executes as expected.
Chef 13 Upgrade: Lessons Learnt and Documented for Posterity (1 mins read).
Notes on the main problems encountered when upgrading from Chef 12 to Chef 13, both with ChefSpec and Rubocop.
Chef 13 Upgrade: Rubocop Changes for
lazy Parameters (1 mins read).
How to resolve the
Parenthesize the param lazy Rubocop error when upgrading your cookbook to Chef 13.
How to resolve the
Parenthesize the param render_file Rubocop error when upgrading your cookbook to Chef 13.
A one-liner shell command to fix Rubocop errors
%w-literals should be delimited by [ and ].
Chef 13 Upgrade: Testing
ruby_blocks with ChefSpec (1 mins read).
block.block.call to trigger
ruby_blocks within ChefSpec 7 and Chef 13.
Emoji Support in Dunst (2 mins read).
How to see Emoji when using the Dunst notification system.
SSLError When Running Berkshelf Behind a Proxy (2 mins read).
Getting around the pesky
OpenSSL::SSL::SSLError SSLv2/v3 read server hello A error when running Berkshelf behind a proxy.
2017 in Review (68 mins read).
A look back over the awesome (and not so awesome) things that happened in 2017, and a look forward to what 2018 holds.
Hackference 2017 (8 mins read).
My summary of the Hackference 2017 conference and hackathon.
2017's Music In Review (5 mins read).
What music was I listening to in 2017?
by . #music.
I will be attending #NottTechParty - The Nottingham Tech Community Christmas Party 2017 on
I will be attending ONESOURCE Statutory Reporting: The Pipeline to Production on
I will be attending Nott Tuesday November 2017: Design Thinking & Product Management on
I will be attending Tech Nottingham October 2017: Lightning Talks And Security Through Obscurity on
I will be attending Women in Tech October 2017: The Power of Community on
service resources in Kitchen-Docker (3 mins read).
How to get up and running with
service resources when running Test Kitchen with the Docker driver, in this example for use with GitLab CI.
How to get the ChefDK (and associated tools) to trust internal / self-signed certificates, in an easy oneliner.
I will be attending Nott Tuesday August 2017 - Hiring better people and getting better jobs on
Permission Denied when running ChefSpec (3 mins read).
How to handle getting an
EACCES when trying to run ChefSpec on a recipe.