Skip to content

Instantly share code, notes, and snippets.

:octocat:
codz

Sam Mingo slmingol

:octocat:
codz
Block or report user

Report or block slmingol

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mongodb-pv-claim
labels:
app: mongodb
spec:
accessModes:
- ReadWriteOnce
resources:
@slmingol
slmingol / f30_rtl8821ce_wifi_setup.md
Created Jun 22, 2019
Setting up RTL8821CE WiFi Adapter (Realtek) on Fedora 30
View f30_rtl8821ce_wifi_setup.md

*-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:01:00.0 logical name: enp1s0 version: 15 serial: 10:62:e5:e8:ff:06 size: 10Mbit/s

@slmingol
slmingol / k8s_minecraft_server_load_test.yml
Last active Jun 20, 2019
Launch 75 minecraft servers on kubernetes
View k8s_minecraft_server_load_test.yml
apiVersion: apps/v1
kind: Deployment
metadata:
name: dockerminecraft
spec:
replicas: 75
revisionHistoryLimit: 1
selector:
matchLabels:
app: dockerminecraft
View git-crypt-list-keys.sh
for key in .git-crypt/keys/default/0/* ; do gpg -k $(echo $(basename $key) | sed -e 's/.gpg//') ; done ;
@slmingol
slmingol / README.md
Last active Jan 14, 2020
Setting up Raspbian on a Raspberry Pi as a OpenVPN Gateway
View README.md

Setting up Raspbian on a Raspberry Pi as a OpenVPN Gateway

openvpn install/configure

$ sudo apt -y upgrade
$ sudo reboot

$ sudo apt -y install openvpn ca-certificates unzip jq
$ cd /etc/openvpn
$ sudo wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip
@slmingol
slmingol / aws.md
Created May 22, 2019 — forked from colinvh/aws.md
AWS Region Names
View aws.md

Alternative naming schemes for AWS regions

Purpose

The intent is to define terse, standards-supported names for AWS regions.

Schemes

@slmingol
slmingol / watchfiles.md
Created Apr 22, 2019 — forked from thiagoh/ watchfiles.md
watchfiles: Watch multiple files and execute bash commands as file changes occur
View watchfiles.md

watchfiles

  • author: Thiago Andrade thiagoh@gmail.com
  • license: GPLv3
  • description:
  • watches the given paths for changes
  • and executes a given command when changes occur
  • usage:
  • watchfiles <paths...>
You can’t perform that action at this time.