Jamie Tanna | Software Engineer

  • /now
  • Blog
  • Popular Posts
  • Archives
  • Search
  • Salary History
  • Open Source Projects I Maintain
  • Support Me
  • Hire Me (CV/Resume)

 Article

Pretty Printing JSON using Node.JS on the Command Line (1 mins read).

Featured image for sharing metadata for article

Using Node.JS's JSON module to pretty print JSON objects from the command line.

Fri, 11 Jan 2019 16:50 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #nodejs #json #pretty-print.

 Article

Automating Promotion of Jekyll Posts from Draft to Post (2 mins read).

Featured image for sharing metadata for article

The handy script I've created to automate publishing a draft in Jekyll, with handy Zsh + Bash autocomplete.

Fri, 11 Jan 2019 11:29 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #automation #jekyll #zsh #bash #shell.

 Article

Converting X.509 and PKCS#8 .pem file to a JWKS (in Node.JS) (2 mins read).

Featured image for sharing metadata for article

Converting X.509 and PKCS#8 files to JWKS format, using the node-jose library.

Thu, 10 Jan 2019 18:33 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #pki #nodejs #x509 #pkcs8 #pem #jwks.

 Article

Using git commit --fixup= to track changes that need to be applied on top of another commit (4 mins read).

Featured image for sharing metadata for article

Using git commit --fixup= and git rebase --autosquash to easily track and squash fix commits.

Thu, 10 Jan 2019 17:07 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #git.

 Article

Goodbye Jekyll, Hello Hugo! (5 mins read).

Featured image for sharing metadata for article

My move from Jekyll to super speedy Hugo, and what I've needed to do to migrate.

Fri, 04 Jan 2019 19:44 by Jamie Tanna's profile image Jamie Tanna . #announcement #jekyll #hugo #www.jvt.me.

 Article

Creating Microservices for my Static Website (2 mins read).

Exploring moving data out of my site's remit and into its own 'microservices' which can be consumed at build-time, as well as via client-side JavaScript.

Sun, 23 Dec 2018 11:02 by Jamie Tanna's profile image Jamie Tanna . #announcement #jamstack #microservices #www.jvt.me #spectat-designs #netlifycms #jekyll.

 Article

Leaving BTRFS as my primary filesystem (5 mins read).

Why I'm moving away from using BTRFS as the primary filesystem on my personal devices, and why it had nothing to do with BTRFS itself.

Sat, 22 Dec 2018 17:19 by Jamie Tanna's profile image Jamie Tanna . #thoughts #linux #btrfs.

 Article

TYKJS Middleware Gotcha When Base 64 Decoding Data (3 mins read).

Featured image for sharing metadata for article

How to workaround the Failed to base64 decode: illegal base64 data at input byte error when trying to use b64dec in TYKJS middleware.

Mon, 10 Dec 2018 23:40 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #tyk #tykjs #unit-testing #testing #javascript #nodejs.

 Article

Unit Testing Your TYK (TYKJS) Middleware (6 mins read).

Featured image for sharing metadata for article

Writing unit tests (in this case using Jasmine) for the TYK API Gateway's JavaScript middleware functionality.

Mon, 10 Dec 2018 23:39 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #tyk #tykjs #unit-testing #testing #javascript #nodejs.

 Article

Hackference 2018 (31 mins read).

Featured image for sharing metadata for article

A review of my time at Hackference's 1-day conference and 24-hour hackathon.

Sun, 09 Dec 2018 00:02 by Jamie Tanna's profile image Jamie Tanna . #events #hackference #aws #cloud #devops #serverless #nodejs #deno #identity #auth0 #hackathon #hacktoberfest.

 Article

How to run tests from the ChefDK in Docker (6 mins read).

Featured image for sharing metadata for article

How to get up and running with the ChefDK to perform common tests, such as unit tests and linting.

Wed, 05 Dec 2018 23:07 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #chef #chefdk #docker.

 Article

Using Fake Cookbooks for Writing ChefSpec Tests for your Custom Chef Resources (3 mins read).

Featured image for sharing metadata for article

A directory structure I've found quite useful for writing ChefSpec tests for custom resources, by creating a fake cookbook within the cookbook you're testing.

Thu, 29 Nov 2018 21:18 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #chef #custom-resource #chefspec.

 Article

Creating a versionable, self-contained (fat-/uber-) JAR for Gatling tests (17 mins read).

Featured image for sharing metadata for article

Why you'd want a fat JAR for your Gatling tests and how you'd achieve it.

Mon, 19 Nov 2018 22:46 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #gatling #testing #jar #artifact #artefact #maven #uber-jar.

 Article

Tweaking Gatling HighCharts Response Time Bounds (3 mins read).

Featured image for sharing metadata for article

How to configure the bounds that Gatling marks your response times within for console output and graphing purposes.

Mon, 19 Nov 2018 22:46 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #gatling #gatling-highcharts.

 Article

Setting your default AWS profile for the AWS CLI and SDKs (2 mins read).

Featured image for sharing metadata for article

Setting the default AWS profile when working with multiple profiles and the AWS CLI / SDKs.

Thu, 15 Nov 2018 00:12 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #aws #aws-cli #aws-sdk #command-line.

 Article

Chef 14 Upgrade: Custom Resource Properties are Silently Coerced to Hash if they are a nil (2 mins read).

Featured image for sharing metadata for article

Finding out that a nil gets silently coerced to an empty Hash if given to a custom resource's property of type Hash.

Tue, 13 Nov 2018 00:47 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #chef-14 #chef-14-upgrade #chefspec #test-coverage.

 Article

Chef 14: ChefSpec Coverage Reporting Deprecation (1 mins read).

Featured image for sharing metadata for article

Noting the deprecation of using ChefSpec::Coverage.start! when using Chef 14 and above.

Tue, 13 Nov 2018 00:23 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #chef-14 #chef-14-upgrade #chefspec #test-coverage.

 Article

Chef 14 Upgrade: Change in ValidationFailed error messages when setting required properties (2 mins read).

Featured image for sharing metadata for article

The updated error message returned by a Chef ValidationFailed error, when you're specifying which properties are required on a custom resource.

Mon, 12 Nov 2018 23:35 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #chef-14-upgrade #chef #chefspec #chef-14.

 Article

Why You Should Be Unit Testing Your Functional Acceptance Tests (7 mins read).

Featured image for sharing metadata for article

A few reasons explaining why you should be writing unit tests for your functional tests.

Wed, 07 Nov 2018 22:28 by Jamie Tanna's profile image Jamie Tanna . #persuasive #testing #software-testing #tdd #bdd #cucumber #software-quality #quality-engineering #unit-testing.

 Article

Viewing X.509 DER Certificate Details with OpenSSL (2 mins read).

How to convert an X.509 DER file to a human-readable format using openssl commands.

Fri, 02 Nov 2018 07:57 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #certificates #command-line #der #openssl.

 Article

Viewing X.509 PEM Certificate Details with OpenSSL (2 mins read).

How to convert an X.509 PEM file to a human-readable format using openssl commands.

Fri, 02 Nov 2018 07:57 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #certificates #command-line #pem #openssl.

 Article

Backporting/Replaying Changes Using git cherry-pick (6 mins read).

Featured image for sharing metadata for article

Using git cherry-pick to make it easier to backport or replay Git commits across different versions of your codebase.

Sun, 28 Oct 2018 22:22 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #git #git-cherry-pick.

 Article

Revert 'Some knowledge-sharing news' (5 mins read).

The unfortunate decision to cancel my Packt training courses.

Sun, 28 Oct 2018 18:40 by Jamie Tanna's profile image Jamie Tanna . #news #events #chef #testing #tdd.

 Article

DevOpsDays London 2018 (51 mins read).

Featured image for sharing metadata for article

My writeup of my first DevOpsDays conference, and the awesome talks and conversations I was part of.

Thu, 25 Oct 2018 09:49 by Jamie Tanna's profile image Jamie Tanna . #devopsdays #aws #cloud #devops #capital-one #cloud-custodian #dashboards #events #bash #monolith #serverless #management #agile #testing #microservices.

 Article

Showing response headers with curl -i (3 mins read).

Featured image for sharing metadata for article

Showing just response headers when curling a resource, using curl -i.

Fri, 19 Oct 2018 12:34 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #curl.

 Article

Safely Force Pushing with Git using --force-with-lease=ref (6 mins read).

Featured image for sharing metadata for article

How git push --force-with-lease=ref can save you from overriding others' changes on shared Git branches.

Tue, 18 Sep 2018 17:08 by Jamie Tanna's profile image Jamie Tanna . #git #blogumentation #command-line.

 Article

My editorial workflow for blog posts (8 mins read).

Taking you through the journey I go on when writing blog posts, from ideation to publishing the post.

Tue, 11 Sep 2018 23:16 by Jamie Tanna's profile image Jamie Tanna . #www.jvt.me #workflow #ci #gitlab #git #automation #command-line #shell #gitlab-ci #review-apps.

 Article

Viewing Git history of a file in git log while ignoring file renames (5 mins read).

Featured image for sharing metadata for article

How to track changes to files in Git without pesky file renames getting in the way, using git log --follow.

Tue, 11 Sep 2018 18:27 by Jamie Tanna's profile image Jamie Tanna . #git #command-line #shell #blogumentation.

 Article

Test-Driven Chef Cookbook Development Using ChefSpec (and a sprinkling of InSpec) (39 mins read).

Featured image for sharing metadata for article

Using the example of deploying and running a Java JAR file as a way to show the lifecycle of a fully test-driven Chef cookbook.

Tue, 04 Sep 2018 14:52 by Jamie Tanna's profile image Jamie Tanna . #howto #blogumentation #chef #test-kitchen #chefspec #tdd #testing #guide.

 Article

Pretty Printing JSON Web Tokens (JWTs) on the Command Line using Ruby (3 mins read).

Featured image for sharing metadata for article

How to easily introspect and pretty print a signed JWT (JWS) or an encrypted JWT (JWE) on the command line using Ruby's standard library, or using the ruby-jwt external library.

Fri, 31 Aug 2018 10:43 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #ruby #command-line #jwt #json #pretty-print.

 Article

Using chef-shell to interactively debug attributes and recipes (5 mins read).

Featured image for sharing metadata for article

How to use chef-shell to see attribute config and recipes, with and without a Chef Server.

Wed, 29 Aug 2018 13:38 by Jamie Tanna's profile image Jamie Tanna . #chef #chef-shell #blogumentation #test-kitchen #chef-server #chefdk.

 Article

OggCamp 2018 (21 mins read).

Featured image for sharing metadata for article

A look at my time at OggCamp 2018, the talks I presented and attended.

Thu, 23 Aug 2018 18:18 by Jamie Tanna's profile image Jamie Tanna . #events #oggcamp #chef #public-speaking #openapi #swagger #free-software #open-source #collaborative-culture.

 Article

Context is key: thinking about your audience (5 mins read).

How to have inclusive conversations by providing the right context for those who may not have the same level of understanding.

Thu, 16 Aug 2018 11:59 by Jamie Tanna's profile image Jamie Tanna . #thoughts #communication #capital-one #context.

 Article

Creating a versionable, self-contained (fat-/uber-) JAR for Cucumber tests (11 mins read).

Featured image for sharing metadata for article

Why you'd want a fat JAR and how you'd achieve it.

Wed, 15 Aug 2018 10:23 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #cucumber #testing #jar #artifact #artefact #maven #uber-jar.

 Article

My Path from School to University to Work (25 mins read).

A look back at my journey up to now, the choices I've made, and what advice I have for others who are embarking on their own journeys into tech.

Sun, 05 Aug 2018 17:07 by Jamie Tanna's profile image Jamie Tanna . #musings #blogumentation #capital-one #career #university #nottingham #school #a-level #gcse.

 Article

Being More Explicit on Content Licensing (3 mins read).

Why I'm re-licensing the code snippets and post content on my site is, and how I'm making it more obvious.

Sun, 29 Jul 2018 15:47 by Jamie Tanna's profile image Jamie Tanna . #thoughts #site #licensing.

 Article

Some exciting job and knowledge-sharing news (4 mins read).

Moving into Quality Engineering, publishing Chef training courses, conference speaking about Chef at OggCamp and the complex mess that is this very static website at DevOpsDays London.

Fri, 06 Jul 2018 22:24 by Jamie Tanna's profile image Jamie Tanna . #news #capital-one #events #chef #testing #conference #job #tdd #oggcamp #devopsdays.

 Article

Notes from the AWS + Chef Dev Day Roadshow in London (13 mins read).

Featured image for sharing metadata for article

Notes from the AWS Dev Day Roadshow in London, where we got to play around with Chef, Chef Automate and InSpec using AWS OpsWorks.

Sun, 24 Jun 2018 22:25 by Jamie Tanna's profile image Jamie Tanna . #aws #chef #events #chef-server #opsworks #cloud-formation #cloud-custodian #deployment #containers #chef-automate #inspec.

 Article

Pretty Printing JSON on the Command Line with Ruby (1 mins read).

Featured image for sharing metadata for article

Using Ruby's JSON module to pretty print JSON objects from the command line.

Mon, 18 Jun 2018 19:13 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #ruby #json #pretty-print.

 Article

Merging multiple repositories into a monorepo, while preserving history, using git subtree (3 mins read).

Featured image for sharing metadata for article

How to merge multiple repositories, with their history, into a single repository, using the git subtree add command.

Fri, 01 Jun 2018 20:44 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #git #monorepo #git-subtree #command-line.

 Article

Sharing Multiple SSH Sessions over the Same Network Socket (3 mins read).

Featured image for sharing metadata for article

Reusing network sockets for speed and reduction of authentication handshakes with OpenSSH.

Fri, 04 May 2018 17:21 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #ssh #openssh #command-line.

 Article

Better Git Diff Outputs with Git Submodules (2 mins read).

Featured image for sharing metadata for article

How to get nicer diffs when working with submodules.

Fri, 04 May 2018 11:59 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #git #command-line.

 Article

Beware: deleteing a file in Chef doesn't actually delete it (3 mins read).

Featured image for sharing metadata for article

Why you should explicitly add backup false when deleteing a file through Chef, to avoid leaving potentially sensitive files still on the box.

Mon, 30 Apr 2018 17:54 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #chef.

 Article

Morsels of Goodness: What's Cooking in Chef 14? (5 mins read).

Featured image for sharing metadata for article

A look at the new features coming in the new Chef 14 release, as well as what to watch out for when upgrading.

Mon, 23 Apr 2018 16:09 by Jamie Tanna's profile image Jamie Tanna . #chef-14 #chef #foodcritic #cookstyle #rubocop #ruby #test-kitchen.

 Article

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.

Thu, 19 Apr 2018 11:02 by Jamie Tanna's profile image Jamie Tanna . #thoughts #appendix #health.

 Article

Serving Branches on a Subdomain using Caddy and GitLab Review Apps (2 mins read).

Featured image for sharing metadata for article

How to dynamically serve a branch on a subdomain for GitLab Review Apps using Caddy Labels.

Sun, 15 Apr 2018 15:18 by Jamie Tanna's profile image Jamie Tanna . #guide #gitlab #review-apps #caddy #howto #deploy.

 Article

Deploying to Netlify using GitLab CI (3 mins read).

Featured image for sharing metadata for article

How adding two lines to my .gitlab-ci.yml migrated my existing site from GitLab Pages to Netlify.

Thu, 12 Apr 2018 22:06 by Jamie Tanna's profile image Jamie Tanna . #netlify #gitlab-ci #automation #continuous-deployment #ci #deploy #howto.

 Article

Executing an Interactive Python Shell (REPL) for a Script (1 mins read).

Featured image for sharing metadata for article

Using python -i to get an interactive REPL after running a Python source file.

Sun, 08 Apr 2018 16:07 by Jamie Tanna's profile image Jamie Tanna . #command-line #python #blogumentation #tools #howto.

 Article

Bundling Common Rake Tasks into a Gem (8 mins read).

Featured image for sharing metadata for article

An example of how to create a helper gem for common Rake task, using the real-world example of Chef cookbooks.

Thu, 05 Apr 2018 21:17 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #chef #chefdk #gem #ruby #rake #foodcritic #rubocop #rspec #knife-cookbook-doc #gitlab-ci.

 Article

Running docker login as another user in Chef (2 mins read).

Featured image for sharing metadata for article

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.

Mon, 26 Mar 2018 21:14 by Jamie Tanna's profile image Jamie Tanna . #docker #chef #blogumentation.

You're currently viewing page 16 of 17, of 850 posts.

Go to the previous page

Go to the next page

Other links that may be of interest:

  • /slashes
  • Follow This Blog (i.e. via RSS feed)
  • Talks
  • Blogroll
  • Why is my site www.jvt.me?
  • Archives
  • Post Visualisation
  • Manual of Me
  • Typography
  • My name and pronounciation
  • RSVPs
  • Links
  • Post by Kind

This site is part of an IndieWeb Webring πŸ•ΈπŸ’

  • Previous site
  • Next site

Want to get in touch? Drop me an email at  hi@jamietanna.co.uk. I try to get back to everything, if I don't reply in a couple of weeks, feel free to give me a nudge!

You can also check out a list of all the places /elsewhere you can find me.

© 2025 Jamie Tanna. Post content and code snippets licensing is detailed on respective pages, otherwise default to Creative Commons Attribution Non Commercial Share Alike 4.0 International and Apache License 2.0.
Site design released under the MIT License.
Proudly hosted on AWS using S3 + CloudFront, deployed by GitLab CI, and generated by 4a2feb8ddf on Sat, 18 Apr 2020 14:40:29 +0100..