Skip to content

Instantly share code, notes, and snippets.

@neoakris
neoakris / Example of kustomized helm Install.md
Last active November 11, 2025 11:16
How to customize helm charts without forking. By using helm's post renderer technique with kustomize.md

Example of Kustomized Helm Install
(Using Helm's Post Rendering Feature)

Overview: Why would you want to do this?

Background Context:

  • Question: What is a helm chart?
  • Answer: helm charts are just templating engines that render generated yaml
    • input variables (with a mix of default and override values for those variables)
    • get plugged into golang templatized yaml
    • and output a wall of text of generated yaml
  • Community Helm Charts:
@swalkinshaw
swalkinshaw / tutorial.md
Last active October 24, 2025 14:52
Designing a GraphQL API
@reagent
reagent / 00_README.md
Last active January 31, 2025 08:46
Custom HTTP Routing in Go

Custom HTTP Routing in Go

Basic Routing

Responding to requests via simple route matching is built in to Go's net/http standard library package. Just register the path prefixes and callbacks you want invoked and then call the ListenAndServe to have the default request handler invoked on each request. For example:

package main

import (
@so0k
so0k / kubectl.md
Last active February 4, 2025 17:16
Playing with kubectl output

Kubectl output options

Let's look at some basic kubectl output options.

Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).

We can start with:

kubectl get no
@paulirish
paulirish / what-forces-layout.md
Last active November 24, 2025 13:41
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent