This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
# Base directory for all control plane resources | |
BASE_DIR="./.controlplanes" | |
# Subdirectories for certificates, logs, and configs | |
CERT_DIR="$BASE_DIR/certs" | |
LOG_DIR="$BASE_DIR/logs" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arm-aks-gf: | |
variations: | |
Variation_1: true | |
Variation_2: false | |
defaultRule: | |
variation: Variation_1 | |
arm-aks-gf-cluster: | |
variations: | |
Variation_1: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
labels: | |
app.kubernetes.io/instance: ingress-nginx | |
app.kubernetes.io/name: ingress-nginx | |
name: ingress-nginx | |
--- | |
apiVersion: v1 | |
automountServiceAccountToken: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apis.kcp.dev/v1alpha1 | |
kind: APIBinding | |
metadata: | |
name: st-test | |
spec: | |
permissionClaims: | |
- group: "" | |
resource: "secrets" | |
state: Accepted | |
all: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
allocatable: | |
cpu: 1900m | |
ephemeral-storage: "27922798956" | |
hugepages-1Gi: "0" | |
hugepages-2Mi: "0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: install uninstall test set-default | |
test: | |
sudo apt install plymouth-x11 | |
sudo plymouthd ; sudo plymouth --show-splash ; for ((I=0; I<10; I++)); do sleep 1 ; sudo plymouth --update=test$I ; done ; sudo plymouth --quit | |
uninstall: | |
rm -rv /usr/share/plymouth/themes/first || true | |
install: uninstall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mount | |
import ( | |
"fmt" | |
"os" | |
"path/filepath" | |
"syscall" | |
diskfs "github.com/diskfs/go-diskfs" | |
"github.com/diskfs/go-diskfs/partition/mbr" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: redis-example1 | |
description: Multi-container redis example | |
type: container | |
scheduling: | |
type: AllDevices | |
spec: | |
containers: | |
- name: hello | |
image: quay.io/synpse/hello-synpse-redis-go:latest | |
networkMode: bridge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"net/http" | |
_ "net/http/pprof" | |
"os" |
NewerOlder