Missing space after # and
Do not use block comments errors for your
knife-cookbook-doc formatted comments.
Testing implementation of a
ruby_block in ChefSpec, to ensure that the code executes as expected
Rspec code to verify that a Ruby Class Method is called from another method, without needing to mock anything.
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.
A one-liner shell command to fix Rubocop errors
%w-literals should be delimited by [ and ].
Notes on the main problems encountered when upgrading from Chef 12 to Chef 13, both with ChefSpec and Rubocop.
block.block.call to trigger
ruby_blocks within ChefSpec 7 and Chef 13.
How to resolve the
Parenthesize the param render_file Rubocop error when upgrading your cookbook to Chef 13.
How to resolve the
Parenthesize the param lazy Rubocop error when upgrading your cookbook to Chef 13.
How to see Emoji when using the Dunst notification system.
Getting around the pesky
OpenSSL::SSL::SSLError SSLv2/v3 read server hello A error when running Berkshelf behind a proxy
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.
How to handle getting an
EACCES when trying to run ChefSpec on a recipe.
How to best test
include_recipes within your Chef recipes, as well as how to ensure that you aren’t running any dependent recipes in your tests.
Coerce YAML to JSON and vice versa, from the comfort of your Gem-studded command line.
Remove any merged local or branches from your local Git repository
Using Python’s JSON module to pretty print JSON objects from the command line.
Making it easier to write commit messages by having the diff in your editor.
A quick one-liner to get you the full certificate chain in
I share the tool I have been using for system utilisation and monitoring,
Speed up your commit message writing by providing a template for when you run
A tool to help reduce the amount of unnecessary output when building LaTeX files.