Skip to content

Instantly share code, notes, and snippets.

@ariksidney
ariksidney / karpenter-hibernate.yaml
Created August 12, 2025 21:12
Karpediem: Scale down Karpenter managed nodes outside of business hours
apiVersion: batch/v1
kind: CronJob
metadata:
name: karpenter-hibernate
spec:
schedule: "0 18 * * MON-FRI"
jobTemplate:
spec:
template:
spec:
@ariksidney
ariksidney / complitions awsp.fish
Created July 23, 2023 13:28
AWS profile switcher for fish shell
# Save under ~/.config/fish/completions/awsp.fish
function __fish_aws_profile
sed -nE 's/\[profile.(.*)\]/\1/p' ~/.aws/config
end
complete --command awsp -x --arguments '(__fish_aws_profile)'
@ariksidney
ariksidney / keybase.md
Created November 13, 2017 08:38
keybase

Keybase proof

I hereby claim:

  • I am ariksidney on github.
  • I am ariksidney (https://keybase.io/ariksidney) on keybase.
  • I have a public key whose fingerprint is 1D36 1D7F C27B 920E 1428 C711 DC04 35BA FA20 3F36

To claim this, I am signing this object: