Skip to content

Instantly share code, notes, and snippets.

fast and loose is still fast.

Brandon bgulla

fast and loose is still fast.
  • Rancher Federal
  • Virginia
View GitHub Profile
bgulla / webos_tv_root.txt
Last active Dec 28, 2022
LG WebOS Root Instructions from #OpenLGTV Discord
View webos_tv_root.txt
## shoutout to
## I lifted these instructions from the #OpenLGTV discord (under pinned msgs). The instructions are for Windows but just replace Putty with a terminal and you're good to go.
1. Enable Developer Mode:
2. Download Software:
a. WebOS-Dev-Manager -
b. PuTTY -
c. Homebrew Channel 0.5.1 ipk -
3. In WebOS-Dev-Manager perform these steps:
bgulla / coral-playbook.yml
Created Nov 24, 2022
Google Coral GPU Ubuntu playbook
View coral-playbook.yml
- hosts: all
# ansible all -i -u root coral-playbook.yaml
# deb coral-edgetpu-stable main
- name: Add an Apt signing key, uses whichever key is at the URL
mkdir -p /opt/docker/{data,config,dockerfiles}
docker rm --force selenium changedetectionio playwright-chrome
docker run -d \
--name selenium \
--restart unless-stopped \
bgulla /
Last active Sep 23, 2022
Example scripts to get Rancher & Rancher Kubernetes Distributions in an air-gap environment

Rancher | Airgap all teh things.


k3s with private (authenticated) registry

### Assumptions:
# - Registry: You have a private registry (ex: pre-seeded with required images
# - File Dependencies:
#   - SELinuxRPM: k3s requires an selinux rpm. You can grab it ahead of time from here:
#   - k3s binary: (example)
echo "deb coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
curl | sudo apt-key add -
sudo apt-get update -y
sudo apt-get install libedgetpu1-max python3-pycoral -y
bgulla /
Last active Aug 21, 2021
Tests related to storing proxmox vms on a synology NFS over 10G

Speed-testing proxmox vms hosted on a Synology DS1821+ NFS over 10G


rm fio-tempfile.dat; fio --name TEST --eta-newline=5s --filename=fio-tempfile.dat --rw=write --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=60 --group_reporting
# Note: if you dont delete an existing fio-template.dat, it will reuse the file and report corrupted speed tests (1150 vs 635)


## helper script to more easily personalize cloned virtual-machines. add to your bashrc.
## on login, it will test the hostname and if localhost is determined to be a part of the hostname,
## this script will offer to fix that for you.
if [[ $(hostname -s) = localhost* ]]; then
read -p "[!!!] it seems you are still using localhost, would you like to set the hostname? (y/n) " choice
if [[ "${choice}" -eq "y" ]]; then
read -p " new hostname: " newhostname
# set new hostname
bgulla / rancher_mcm_classification_crd.yaml
Created Apr 30, 2021
Rancher Classification Banner CRD
View rancher_mcm_classification_crd.yaml
customized: false
default: '{}'
kind: Setting
name: ui-banners
value: |-
"banner": {
"text": "CLOUD-GOV"
bgulla /
Last active Jul 14, 2021
Instructions for running RKE2/K3s with an external CRI/container-runtime

k3s/RKE2 with external CRI/containerd support

While k3s and RKE2 ship with their own statically-compiled containerd binary, sometimes you need to be able to utilize a more standard container socket. Especially if your container-scanner expects a more traditional installation path (i.e. Twistlock/PrismaCloud). This quick guide will show you how to get up and running with an external CRI.

Install containerd

There are better ways to do this, but the most common way of installing containerd is via the docker-ce yum repository.

sudo yum-config-manager \
    --add-repo \
bgulla / banner_harvester.jpg
Last active Oct 8, 2022
Proxmox Nested Virtualization Tutorial- Harvester/ESXI