Skip to content

Instantly share code, notes, and snippets.

View melroy89's full-sized avatar
πŸ³οΈβ€πŸŒˆ
Decentralizing the WWW

Melroy van den Berg melroy89

πŸ³οΈβ€πŸŒˆ
Decentralizing the WWW
View GitHub Profile

Anyone Can install RKE2 and Rancher on a Node

  • RKE2 - Security focused Kubernetes
  • Rancher - Multi-Cluster Kubernetes Management
  • Longhorn - Unified storage layer

We will need a few tools for this guide. We will walk through how to install helm and kubectl.

A longer version of this install : Can a 12 y/o install the Rancher Stack?

#!/usr/bin/env python
import datetime
from dateutil import parser
import subprocess
import json
from influxdb import InfluxDBClient
# influx configuration - edit these
ifuser = "telegraf"
@agyild
agyild / FSR.glsl
Last active April 19, 2025 04:58
AMD FidelityFX Super Resolution v1.0.2 for mpv
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
This file has been truncated, but you can view the full file.
Aspect or Feature kubernetes/ingress-nginx nginxinc/kubernetes-ingress with NGINX nginxinc/kubernetes-ingress with NGINX Plus
Fundamental
Authors Kubernetes community NGINX Inc and community NGINX Inc and community
NGINX version Custom NGINX build that includes several third-party modules NGINX official mainline build NGINX Plus
Commercial support N/A N/A Included
Implemented in Go/Lua (while Nginx is written in C) Go/Python Go/Python
Load balancing configuration via the Ingress resource
@ebraminio
ebraminio / mingw-w64-x86_64.cmake
Last active October 24, 2024 23:55 — forked from peterspackman/mingw-w64-x86_64.cmake
cmake toolchain file for mingw-w64 x86_64 builds on Ubuntu
# Sample toolchain file for building for Windows from an Ubuntu Linux system.
#
# Typical usage:
# *) install cross compiler: `sudo apt-get install mingw-w64` or `brew install mingw-w64` on macOS
# *) cmake -DCMAKE_TOOLCHAIN_FILE=~/mingw-w64-x86_64.cmake -G Ninja -B build -S .
# *) ninja -C build
set(CMAKE_SYSTEM_NAME Windows)
set(TOOLCHAIN_PREFIX x86_64-w64-mingw32)
@TRaSH-
TRaSH- / docker-compose.yml
Last active January 18, 2025 15:15
docker-compose
version: "3.2"
services:
# Radarr - https://hotio.dev/containers/radarr/
radarr:
container_name: radarr
image: ghcr.io/hotio/radarr:latest
restart: unless-stopped
logging:
driver: json-file
network_mode: bridge
@MatthewVance
MatthewVance / unbond.conf
Created April 16, 2020 01:12
Example of how to configure Unbound as a local forwarder using DNS-over-TLS to forward queries.
server:
###########################################################################
# BASIC SETTINGS
###########################################################################
# Time to live maximum for RRsets and messages in the cache. If the maximum
# kicks in, responses to clients still get decrementing TTLs based on the
# original (larger) values. When the internal TTL expires, the cache item
# has expired. Can be set lower to force the resolver to query for data
# often, and not trust (very large) TTL values.
cache-max-ttl: 86400
@cliffordp
cliffordp / functions.php
Created September 23, 2019 00:29
Add JSDelivr as a prefetch resource provider to speed up page load times in WordPress
<?php
add_filter( 'wp_resource_hints', 'your_add_resource_hints', 10, 2 );
/**
* Try to improve performance with resource hints.
*
* WP will output protocol-relative 'dns-prefetch' for all scripts and styles which are enqueued
* from external hosts.
* WP will not do 'preconnect', 'prefetch', or 'prerender' automatically.
@TrillCyborg
TrillCyborg / mastodon-docker-setup.md
Last active April 16, 2025 03:16
Mastodon Docker Setup

Mastodon Docker Setup

Setting up

Clone Mastodon's repository.

# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live

cd ~/live