Karnsonline
  • Home
  • Coding
  • Photography
  • Astrophotography
  • Sailing
  • Spotify Periodic Rotator
  • Spotify Periodic Rotator (Archive)
periodic-rotator

2022-12-14

  • Deac Karns

Deac Karns

Dec 14, 2022 • 1 min read
2022-12-14

kubernetes cheat sheet

Update an env variable in a running pod kubectl set env deployment <deployment_name> <VAR_NAME>=false -n <namespace> Remove an env variable from a running deployment (note the - after the VAR_NAME) kubectl set env deployment <deployment_name> <VAR_

  • Deac Karns
Deac Karns May 4, 2023 • 1 min read
She Bang Bin Bash

She Bang Bin Bash

Apparently, Apple is being a big baby and not installing a modern version of bash on macOs any longer. macOs is currently shipping with bash version 3. This is fine in most cases but what if you want to use some of the modern conveniences that come with bash >

  • Deac Karns
Deac Karns Aug 29, 2022 • 1 min read
Burn exif meta data to photos

Burn exif meta data to photos

People always ask me "what were your camera settings for that photo", so I wrote some bash functions to burn the relevant data to the bottom of the image. The following bash functions assume a few things: you are on a Mac or Linux systemYou know how to modify your

  • Deac Karns
Deac Karns Aug 5, 2022 • 2 min read
Karnsonline © 2023