Dev Notes The RSS feed for Dev Notes.

Notes about software development.

  • I’m not sure if I’m the only one that experiences this but SSH on MacOS seems to have awful keep-alive out of the box. Connections constantly hang when I look away for more than a few minutes. So I can recommend this change in your SSH config:

    # /etc/ssh/ssh_config
    Host *
        ServerAliveInterval 30
    
  • The Stripe CLI doesn’t have a command for listing account tax IDs, but it’s still possible to list them using the get subcommand. For anyone else that needs it, here’s how you can list them:

    stripe get /v1/tax_ids
    

    And to get a single tax ID:

    stripe get /v1/tax_ids/txi_abc123
    
  • TIAL that sleep is actually not available on the Distroless Docker images, at least from what I can see from Stack Overflow. So if you’re going to use Pod Lifecycle events to wait for requests to finish up, you’ll need some other means of sleeping.