Skip to content

Instantly share code, notes, and snippets.

View RamboRogers's full-sized avatar
🎯
Focusing

Matt RamboRogers

🎯
Focusing
View GitHub Profile
@RamboRogers
RamboRogers / gist:8b416dbd37682cefae720fc2d2d143c0
Created October 3, 2024 16:32
Elgato Webcam Facecam Profile for Linux
#!/bin/bash
# Elgato Facecam
v4l2-ctl --set-ctrl=brightness=85 # (default 43) 0-255
v4l2-ctl --set-ctrl=contrast=2 # (default 5) 0-5
v4l2-ctl --set-ctrl=saturation=28 # (default 32) 0-63
v4l2-ctl --set-ctrl=white_balance_automatic=0 # BOOL 0-1
v4l2-ctl --set-ctrl=power_line_frequency=2 # 2 = 60 Hz, 0 off
v4l2-ctl --set-ctrl=sharpness=3 # (default 2) 2-4
v4l2-ctl --set-ctrl=zoom_absolute=1 # default=1 1-31
@RamboRogers
RamboRogers / script.babel
Created December 21, 2022 02:59
THREE.js Smoke Particles
import * as THREE from 'https://cdn.skypack.dev/[email protected]';
class Smoke {
constructor(options) {
const defaults = {
width: window.innerWidth,
height: window.innerHeight
};
@RamboRogers
RamboRogers / script.babel
Created December 21, 2022 01:37
Waterdroplet WebGL Shader
/**
* Raindrop fragment shader, being used by PIXI.js in the EffectCanvas object
* {{uniforms: {time: {type: string, value: number}, iResolution: {type: string, value: [*]}}, fragment: string}}
*/
const shaderData = {
uniforms: {
iResolution: {
type: 'v2',
value: [
window.innerWidth,
@RamboRogers
RamboRogers / script.js
Created December 21, 2022 01:26
ThreeJS Rain & Thunder
let scene,
camera,
renderer,
cloudParticles = [],
rainParticles = [],
flash,
rain,
rainGeo,
rainCount = 15000;
function init() {
@RamboRogers
RamboRogers / grayscale-ambient-background.markdown
Created December 20, 2022 21:52
Grayscale Ambient Background
@RamboRogers
RamboRogers / AlpineK8s.md
Last active February 5, 2025 15:46
Alpine Linux K8s in 10 Minutes

Alpine Linux 🌲 K8s in 10 Minutes

Summary

This guide will allow you to deploy a fresh Alpine Linux install into a Kubernetes K8 cluster in less than 10 minutes.

Why ✨

I went to learn Kubernetes recently and I built a k3 cluster using Alpine in an hour or so, it was a great experience. I figured the next step would be K8s, but I found no material on K8s for Alpine. This guide is the result of my first pass and the incorporations of high quality notes from the contributers. Kubernetes 🦄 is awesome.

Contributers