Skip to content

Instantly share code, notes, and snippets.

@morningreis
morningreis / proxmod_nvidia.md
Created July 26, 2024 13:28
Proxmox NVIDIA Setup

Note

Rebuild drivers with --dkms option if the Linux kernel is updated

[!NOTE]

Do not use Debian backports to install drivers. It does work, but the drivers are old, and it is significantly more work to remove the drivers.

https://docs.fileflows.com/guides/linux/proxmox-lxc-nvidia

Proxmox Host

@morningreis
morningreis / gist:3d310c55c2188e007cc0a734ad5a3bde
Created April 11, 2024 01:46
Klipper Emergency Power Cutoff Safety Relay Macro
#####################################################################
# EMERGENCY STOP
#####################################################################
[output_pin safety_relay]
## on heater E1 connector
pin: rpi:gpiochip0/gpio16
pwm: false
value: 1
shutdown_value: 0
@morningreis
morningreis / proton_opn_wg.md
Created December 16, 2022 21:26
OPNsense + ProtonVPN + Wireguard Configuration Guide

OPNsense + ProtonVPN + Wireguard

Published: 16 December 2022

Reference: https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html

Goal: Set up one or more Wireguard connections from ProtonVPN on OPNsense, with policy based routing, and optional Killswitch.

I'm writing this guide first as a reference for my future self for when I inevitably forget how to do this, but also to help others out. I found there were not many guides on this specific configuration, particularly not with multiple concurrent connections, and these were some steps which were not at all obvious. I did begin with the guide in the official OPNsense documentation, but even that was missing info to make ProtonVPN work. If you are a pfSense user, it is very similar to OPNsense, and you should be able to follow along with some success, but I have not tested it myself.

@morningreis
morningreis / 0.20_Ender3.fff
Created November 11, 2019 04:27
Simplify3D Profile
<?xml version="1.0"?>
<profile name="0.20 Ender 3 Pro" version="2019-11-10 23:22:33" app="S3D-Software 4.1.2">
<baseProfile>Creality Ender 3 Pro (modified)</baseProfile>
<printMaterial>PLA</printMaterial>
<printQuality>Medium</printQuality>
<printExtruders></printExtruders>
<extruder name="Primary Extruder">
<toolheadNumber>0</toolheadNumber>
<diameter>0.4</diameter>
<autoWidth>1</autoWidth>
@morningreis
morningreis / keybase.md
Created February 10, 2017 20:17
Keybase Identity

Keybase proof

I hereby claim:

  • I am morningreis on github.
  • I am morningreis (https://keybase.io/morningreis) on keybase.
  • I have a public key ASAhSaCyQhKuTyHT6b5DZ9YGHE2xvbXghn7nNbk9KGsnQwo

To claim this, I am signing this object: