danpurdy

Engineering leader in London writing about AI workflows, teams & the tools between.

VP of Engineering at Wonderbly, leading the shift to AI-native engineering: building the agent workflows and tooling that make teams smarter and more capable without sacrificing their culture, and launching AI-powered brands. Over a decade building and mentoring engineering teams in London; the how and the why get written up here.

Writing

RSS →

Multiple Github accounts with individual git profiles over SSH

#git #github #tooling

Sometimes you have a need to connect to multiple Github accounts from the same machine which means possibly switching your git config and the SSH key you use with git. We can modify our ssh and git config to make this as easy as possible and not have to think about it.

Adding state to storybook stories

#react #tooling

Adding state to your Storybook stories is now exceptionally easy allowing consumers of your library to interact with your components and use them the way they were meant to be used immediately.

What is the nullish coalescing operator for in JavaScript

#javascript

I'm frequently asked why you would use the nullish coalescing operator rather than a simple OR operator, time to look at the differences

Using private Github packages in Github workflows

#github #tooling

A quick look at how to use private packages publishd to the Github package registry in Github workflows

Firebase Cloud Firestore security rules - Part two - unit testing

#firebase #security #testing

A look at how to write unit tests for Firebase Cloud Firestore security rules to help ensure your data is secure.

Firebase Cloud Firestore security rules - Part one - Writing the rules

#firebase #security

An introduction to Cloud Firestore security rules and how to unit test them to help secure your firebase application

Using generator functions to handle mock responses

#javascript #testing

A simple use case for javascript generator functions to handle repeatable and reliable mock endpoint responses in end-to-end or unit tests

Logging and mocking HTTP requests with TestCafe

#testing #javascript

A look into how to intercept, log and mock http requests within your end to end tests using TestCafe.

Side projects

All projects →