Skip to content

Instantly share code, notes, and snippets.

View philgood's full-sized avatar

RP philgood

View GitHub Profile
@gavinmcfall
gavinmcfall / tb-talos.md
Last active October 30, 2025 19:32
Thunderbolt Networking on Talos

How To: Thunderbolt Networking on Talos

I have a cluster of 3 Minisforum MS-01 Mini PCs running Talos Linux for my k8s cluster. Previously, I had set these machines up using Debian & K3s for the cluster and configured Thunderbolt Networking by follow this video by Jim's Garage Which is baed on this gist series from scyto

Cabling

This is how I have mine connected, this means that each one of the my 3 nodes has a cable going to the other two nodes MS-01_TB_Cabling

@adampetrovic
adampetrovic / 00-brewbyweight-update.md
Last active September 17, 2025 09:03
Homebrew by Weight - La Marzocco Linea Micra

⚠️ Update 2025-09-15: La Marzocco API Access Changes

Hi everyone,

With the recent changes La Marzocco has made to their firmware and connectivity, the approach used in this integration is no longer feasible.

Specifically:

  • Local websocket access has been removed.
  • Third-party API integrations are now being actively blocked.
@prateekrajgautam
prateekrajgautam / Guide: Cloudflare Tunnel with Nginx Proxy Manager.md
Last active November 2, 2025 07:17
Guide: Cloudflare Tunnel with Nginx Proxy Manager

Thought I should post my guide on how to do this, as I've struggled with this for quite some time now. I wanted something to bypass the NAT/router as I did not have the option of port-forwarding. I will also be moving quite some in the upcoming year, so dynamic IP was almost a given. And obviously I wanted it to be cheap. This does it all.

This is free, no port-forwarding required and no static IP required. Wildcard domain and SSL certificate supported. It works with Cloudflare tunnels, Cloudflare DNS, Nginx Proxy Manager and obviously TrueNAS SCALE.

I am not a professional, if you see a flaw in this design, please let me know!

Requirements:

  • Domain name at Cloudflare
@kmobs
kmobs / Adxl Understanding.md
Last active September 4, 2025 10:26
Demystifying some ADXL understandings

ADXL Demystification

There is a lot of confusion as to how to get good ADXL graphs. For many, the issue is printer build and rigidity. For others, there is often an issue with ADXL mounting or noise. Like all of my guides, this is targeted at people chasing the highest performance with quality. If your quality and speeds are fine for you, stop reading as this guide isn't for you.

There are a few parameters that play into your measured values and this will break down the most straightforward. Broadly, they are mass and stiffness. This explanation will not be true in every single instance, and is definitely not PhD level physics, but should at least help with the broad understanding of what your printer is doing.

Technical

The easiest way to think about it is if you start by thinking of your printer as an undamped simple harmonic oscillator.

@rosswf
rosswf / k3s.md
Last active September 11, 2025 01:47
Deploy HA k3s with kube-vip and MetalLB using k3sup

Prerequisites

kubectl

Install the required tools for deploying and controlling k3s.

Installation Docs:

# Download
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
@JeremyKennedy
JeremyKennedy / pa_cal.cfg
Last active December 2, 2024 21:56
Klipper Pressure Advance Line Calibration Macro
[gcode_macro PA_CAL]
# Klipper pressure advance line calibration macro.
# Usage: PA_CAL BED=100 NOZZLE=240 PA_START=0.0 PA_STOP=0.1 NZL=0.4
# Or you can execute with no parameters, which will use values from printer.cfg and saved_variables.cfg.
# First prints a line with current set PA, then prints 21 additional line segments starting with PA_START, and increasing to PA_STOP.
# Based on http://realdeuce.github.io/Voron/PA/pressure_advance.html
# Cleaned up and moved to using saved_variables.cfg by u/jibbsisme
# Sourced from u/Deepsiks, assisted by u/imoftendisgruntled, u/scul86, and thanks to u/beansisfat, u/stray_r
description: Tune Pressure Advance
@kmobs
kmobs / DampingRatio.md
Last active October 12, 2025 20:58
Calculating the damping ratio for your hardware:

Prerequisite - Outdated. I don't use the resonance testing branch or pulses method anymore.

I recommend running Dmitry’s latest resonance testing branch and using the pulses method outlined below:

https://github.com/Klipper3d/klipper/issues/4560
https://github.com/dmbutyugin/klipper/tree/resonance-test-methods

I would only go down this path if you're getting ghosting with really high speed prints. On the Annex Engineering K3 for example, no matter how perfect the graphs looked, I was still getting some ghosting. That prompted me to go down this path. I'm now able to print at 20-30k acceleration, 250-350mm/s, and 15scv with perfect quality that can usually only be seen at significantly slower speeds.

The default settings in Klipper have the damping ratio set to .1. This should be fine for most people with sane settings. I like to go for the insane.

@NameOfTheDragon
NameOfTheDragon / Voron 2.4 Config 0.4mm nozzle.ini
Created August 12, 2021 13:42
High quality print profile for Voron 2.4 based on a PIF profile
# generated by SuperSlicer 2.3.56 on 2021-08-12 at 13:39:50 UTC
allow_empty_layers = 0
avoid_crossing_not_first_layer = 1
avoid_crossing_perimeters = 0
avoid_crossing_perimeters_max_detour = 0
bed_custom_model =
bed_custom_texture =
bed_shape = 0x0,350x0,350x350,0x350
bed_temperature = 50,90,90,90,90
before_layer_gcode = ;BEFORE_LAYER_CHANGE\n;[layer_z]\n\n
@deg0nz
deg0nz / iOS-VPN-autoconnect-WireGuard.mobileconfig
Created January 23, 2021 22:18
Connect iOS to WireGuard VPN when connected to untrusted WiFi
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<!-- Connect to VPN when connected to untrusted networks -->
<dict>
@thisisevanfox
thisisevanfox / DateWeatherCalendarShares.js
Last active November 14, 2022 08:19
"Date, Calendar, Weather and Shares" Scriptable widget
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-gray; icon-glyph: user-circle;
/********************************************************
* script : DateWeatherCalendarShares.js
* version : 1.1.0
* gist-link : http://bit.ly/DateCalendarWeatherSharesWidget
* description: Widget for Scriptable.app, which shows date,
* weather forecast, next calendar events and