Skip to content

Instantly share code, notes, and snippets.

View twskipper's full-sized avatar
🎯
Focusing

twskipper twskipper

🎯
Focusing
View GitHub Profile
@twskipper
twskipper / gen-dedicated-server-modes.md
Last active January 1, 2021 16:59
shell convert modoverrides to ServerModsetup for Don't Stave Together Dedicated Server
#!/bin/bash
modoverridesfile=$1
dedicated_server_mods_setupfile=$2

res=$(cat $1|grep -E  'workshop-[0-9]{7,12}' -o|grep -E '[0-9]{7,12}' -o)
for i in ${res[@]};do
echo "ServerModSetup($i)" >> $2
done
@twskipper
twskipper / README.md
Created August 7, 2018 15:08 — forked from detiber/README.md
Using CFSSL as an external CA for kubeadm

CFSSL as an external CA for non-ha kubeadm intialized clusters

Using cfssl to Create an External CA Infrastructure

Install cfssl

# This requires an existing Go environment with GOPATH set
go get -u github.com/cloudflare/cfssl/cmd/...