Auto-formatting YAML files with yamlfmt
I decided to see if there was an equivalent of Black or Prettier for YAML files. I found yamlfmt from Google. Update : It turns out Prettier can format YAML too.
6 posts tagged “yaml”.
I decided to see if there was an equivalent of Black or Prettier for YAML files. I found yamlfmt from Google. Update : It turns out Prettier can format YAML too.
My simonwillisonblog-backup workflow periodically creates a JSON backup of my blog's PostgreSQL database, using db-to-sqlite and sqlite-diffable.
I had a list of Python dictionaries I wanted to output as YAML, but I wanted to control the style of the output.
I figured out a minimal pattern for building a completely custom website using GitHub Actions and deploying the result to GitHub Pages. First you need to enable GitHub Pages for the repository.
I was asked if there was a way to run shot-scraper against a list of URLs in a Google Sheet. I came up with this example sheet which uses a formula to code-generate the YAML configuration needed by…
Useful for seeing what's available for conditions (see context and expression syntax). I copied this example action from here and deployed it here. Here's an example run.