Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View bgulla's full-sized avatar
🦃
fast and loose is still fast.

Brandon bgulla

🦃
fast and loose is still fast.
  • Rancher Federal
  • Virginia
View GitHub Profile
@bgulla
bgulla / rancher-airgap-examples.md
Last active September 23, 2022 14:15
Example scripts to get Rancher & Rancher Kubernetes Distributions in an air-gap environment

Rancher | Airgap all teh things.

k3s

k3s with private (authenticated) registry

### Assumptions:
# - Registry: You have a private registry (ex: harbor.air-gap.dev) pre-seeded with required images
# - File Dependencies:
#   - SELinuxRPM: k3s requires an selinux rpm. You can grab it ahead of time from here: https://github.com/k3s-io/k3s-selinux/releases
#   - k3s binary: (example) https://github.com/k3s-io/k3s/releases/download/v1.24.4%2Bk3s1/k3s
@clemenko
clemenko / harvester_clout_init.md
Last active March 17, 2024 14:46
A cloud_init example for Harvester and Rocky/Ubuntu
@pacorain
pacorain / state.py
Created March 13, 2022 00:03
Home Assistant states in Alfred
"""Script for getting the state of entities"""
import aiohttp
import asyncio
import os
import sys
import json
async def main():
try:
@geekuillaume
geekuillaume / esphome-lilygot5.yaml
Created January 5, 2022 21:19
Configuration for ESPHome + LilyGo T5 4.7"
esphome:
name: lilygo-t5
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
@bgulla
bgulla / banner_harvester.jpg
Last active April 22, 2024 02:45
Proxmox Nested Virtualization Tutorial- Harvester/ESXI
banner_harvester.jpg
@janeczku
janeczku / import-airgapped-downstream-cluster.md
Last active January 12, 2021 16:12
How-to: Connect an air-gapped k3s cluster to Rancher via enterprise proxy

How-to: Connect an air-gapped k3s cluster to Rancher via enterprise proxy

    +----------------+
    |  Rancher Mgmt  |
    +--------+-------+
             ^
             |
 | Firewall
@geerlingguy
geerlingguy / nvidia-gt710-arm-pi-setup.sh
Last active April 14, 2024 16:26
Set up the Nvidia GeForce GT 710 on Raspberry Pi Compute Module 4
#!/bin/bash
# Attempt to set up the Nvidia GeForce GT 710 on a Pi CM4.
#
# I have tried both armv7l and aarch64 versions of the proprietary driver, in
# addition to the nouveau open source driver (which needs to be compiled into
# a custom Raspberry Pi kernel).
#
# tl;dr - None of the drivers worked :P
@janeczku
janeczku / rancher-argocd.md
Created June 10, 2020 14:10
How to register Rancher managed Kubernetes clusters in Argo CD

How to register Rancher managed Kubernetes clusters in Argo CD

Registering Rancher managed clusters in Argo CD doesn't work out of the box unless the Authorized Cluster Endpoint is used. Many users will prefer an integration of Argo CD via the central Rancher authentication proxy (which shares the network endpoint of the Rancher API/GUI). So let's find out why registering clusters via Rancher auth proxy fails and how to make it work.

Hint: If you are just looking for the solution scroll to the bottom of this page.

Why do i get an error when running argocd cluster add?

Service Account tokens and the Rancher authentication proxy

@sbinlondon
sbinlondon / synthwaveglow.md
Last active February 22, 2024 22:40
Get the synth wave glow theme working for VS Code on Mac

Get the synth wave glow working for VS Code on Mac

These notes are pretty much the same steps as the two extensions list, it's just that I had to collate them together because neither seems to list it fully in the proper order.

  1. Install Synthwave ’84/Synthwave + Fluoromachine theme on VS Code (I used the Fluoromachine one)

  2. Install Custom CSS and JS Loader

  3. Command + Shift + P to open command palette > "Preferences: Open settings (JSON)"

@lucabelluccini
lucabelluccini / rpi4.boot-from-sd-rootfs-on-usb.md
Last active October 13, 2023 12:38
Raspberry Pi 4 - Boot from SD, Rootfs on USB

Raspberry 4B - Boot from SD and rootfs on USB

Update

RPi4 now supports booting directly from USB. First update to get an eeprom which supports USB Boot, then configure the bootloader to boot from USB.

Original guide

  1. Download Raspbian from the official site