Skip to content

Instantly share code, notes, and snippets.

View chr0n1x's full-sized avatar
🤘

Kevin R. chr0n1x

🤘
View GitHub Profile
@chr0n1x
chr0n1x / jira-cli-pet-snippets.toml
Created October 16, 2025 21:38
jira-cli pet snippets
# designed to be used with https://gist.github.com/chr0n1x/a61fc150d352d097169c5e68b3155947
[[Snippets]]
Description = "jira-cli: list !Done issues assigned to me, ordered by created date"
Output = ""
Tag = ["jira"]
command = "jira issues list -a $(jira me) -q 'Status != Done' --order-by Created"
[[Snippets]]
Description = "jira-cli: fetch LATEST created open ticket assigned to me"
Output = ""
@chr0n1x
chr0n1x / jira-cli-wrappers.sh
Last active October 16, 2025 22:10
jira-cli wrappers specifically for tracking time spent on issues
# REQUIREMENTS: https://github.com/ankitpokhrel/jira-cli
# also somewhere in your shell env:
#
# export JIRA_API_TOKEN="REPLACEME"
# export JIRA_AUTH_TYPE="bearer" # this goes with the API token above
# export JIRA_SITE="https://jira.private.vpn.corp.com/"
# export JIRA_EDITOR=nvim
# export JIRA_ME_NAME="full name here" # useful for jira-cli commands that accept --no-input
# export JIRA_DEFAULT_ISSUE_TYPE=Story
# export JIRA_DEFAULT_COMPONENT="thingy"
@chr0n1x
chr0n1x / k8s-ns-diff.bash
Last active August 27, 2025 19:27
generate a pretty diff between what a helm chart will generate, vs what's live in a namespace
#!/bin/bash
# Designed to be run INSIDE of a helm chart directory
# and that you have already run `helm dep up`
#
# Requires delta for diffs (cause it's pwetty :3)
# https://dandavison.github.io/delta/
#
# this also already assumes that you have properly set up KUBECONFIG, kubectx, and kubens
# so that we can fetch resources that are live via kubectl