Skip to content

Instantly share code, notes, and snippets.

View chris-short's full-sized avatar

Chris "Not So" Short chris-short

View GitHub Profile
@RoseSecurity
RoseSecurity / jira-precommit.py
Created October 27, 2023 16:53
This Python code uses the Jira API to create a new issue from the last Git commit message. It can be used as a precommit hook to create Jira tickets from Git commit history.
#!/usr/bin/env python3
from jira import JIRA
import subprocess
# Set your Jira server URL, Email, and API token
email = ""
server_url = ""
api_token = ""
@jamesog
jamesog / Corefile
Created March 13, 2023 20:15
CoreDNS with NextDNS
. {
forward . tls://2a07:a8c0::ae:9cfd tls://2a07:a8c1::ae:9cfd tls://45.90.28.178 tls://45.90.30.178 8.8.8.8 8.8.4.4 {
tls_servername dns01-ae9cfd.dns.nextdns.io
policy sequential
}
cache {
success 12800 86400 300
denial 12800
prefetch 25
serve_stale 24h
@chris-short
chris-short / niece-help.md
Last active January 13, 2022 16:00
Things that can be done to help my niece

Chris Short's Niece

My six pound niece is fighting cancer

My niece was born in early December. She was immediately whisked away to the NICU (my sister-in-law didn't get to hold her for days). My niece was able to come home for Christmas. The week after she went in for tests. Everything looked good. The next week, she went in for the same battery of tests and all results came out drasctically bad. She will not come home from the hospital for six to eight months, at least. The diagnosis is Acute Myeloid Leukemia (AML). The prognosis is not good either (25-40% chance of survival). The treatment brutal. 😔

Our Plan

We all feel helpless to an extent. But, my niece has two brothers. Between three households (Julie's retired parents, Julie's other sister, and ours) we're going to make sure my nephews establish a pattern/routine to their day-to-day lives over the next several months. But, we're building out a list of

@iann0036
iann0036 / gist:b473bbb3097c5f4c656ed3d07b4d2222
Last active February 28, 2024 19:39
List of expensive / long-term effect AWS IAM actions
route53domains:RegisterDomain
route53domains:RenewDomain
route53domains:TransferDomain
ec2:ModifyReservedInstances
ec2:PurchaseHostReservation
ec2:PurchaseReservedInstancesOffering
ec2:PurchaseScheduledInstances
rds:PurchaseReservedDBInstancesOffering
dynamodb:PurchaseReservedCapacityOfferings
s3:PutObjectRetention

Upstream Marketing Process

Idea Paths

There is no one way to get into the kubernetes blog. Below are some options:

The Kubernetes Upstream Marketing team under ContribEx can help you tell a kubernetes story. With Blog posts you can:

⚠️ Work In Progress

Public Timetable for Flux 1 to 2 Migration & Support

Goal: A simple, memorable, canonical, public timetable to be used for community communication (READMEs, blog posts, etc), not for internal planning.

Purpose: State our commitment to end users to improve their experience in knowing how and when to plan their own infra decisions related to Flux.

When Flux 2 Flux 1
@prologic
prologic / LearnGoIn5mins.md
Last active April 17, 2024 18:49
Learn Go in ~5mins
@patrickdevivo
patrickdevivo / README.md
Last active October 7, 2020 12:28
Contributor email domain distributions

Contributors by Email Domain

AskGit is a tool looking for more (interesting) use cases. This gist takes a look at the email domains of contributors to two major open source code bases (Linux and Kubernetes). askgit-query.sql can be piped into the askgit command to produce the output in k8s-SHA.txt and linux-SHA.txt

  • Commit Count is the total number of commits by contributors with an email address from Domain
  • Unique Emails is the number of unique contributors with an email from Domain
  • Domain is the email domain
@graninas
graninas / What_killed_Haskell_could_kill_Rust.md
Last active March 18, 2024 14:57
What killed Haskell, could kill Rust, too

At the beginning of 2030, I found this essay in my archives. From what I know today, I think it was very insightful at the moment of writing. And I feel it should be published because it can teach us, Rust developers, how to prevent that sad story from happening again.


What killed Haskell, could kill Rust, too

What killed Haskell, could kill Rust, too. Why would I even mention Haskell in this context? Well, Haskell and Rust are deeply related. Not because Rust is Haskell without HKTs. (Some of you know what that means, and the rest of you will wonder for a very long time). Much of the style of Rust is similar in many ways to the style of Haskell. In some sense Rust is a reincarnation of Haskell, with a little bit of C-ish like syntax, a very small amount.

Is Haskell dead?