Skip to content

Instantly share code, notes, and snippets.

@Flippo24
Flippo24 / arch_linux_installation_guide.md
Created May 23, 2024 20:04 — forked from mjkstra/arch_linux_installation_guide.md
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@Flippo24
Flippo24 / AdditionalSetup.cs
Created September 4, 2022 19:29 — forked from gmanny/AdditionalSetup.cs
Dark Mode for RoslynPad
using System;
using System.IO;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using Microsoft.CodeAnalysis;
using RoslynPad.Editor;
using WpfAppCommon;
namespace Namespace
@Flippo24
Flippo24 / kernel-polaris10-no-pci-reset.patch
Created March 2, 2021 20:47 — forked from shatsky/kernel-polaris10-no-pci-reset.patch
Polaris unbind&reset script and kernel patch
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 4937a088d7d8..154bf75df43c 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -5431,3 +5431,7 @@ static void quirk_reset_lenovo_thinkpad_p50_nvgpu(struct pci_dev *pdev)
DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_VENDOR_ID_NVIDIA, 0x13b1,
PCI_CLASS_DISPLAY_VGA, 8,
quirk_reset_lenovo_thinkpad_p50_nvgpu);
+
+// Polaris10 cards can fail on bus reset
@Flippo24
Flippo24 / pihole-macvlan-synology-docker.txt
Created June 7, 2020 21:40 — forked from xirixiz/pihole-macvlan-synology-docker.txt
Add a PiHole instance on a macvlan enabled Docker network (Synology eth0 example)
#!/bin/bash
# NAS IP: 192.168.1.10 in this example
# DHCP scope reservation for macvlan: 192.168.1.210/28 (Details below)
## Network: 192.168.1.210/28
## HostMin: 192.168.1.211
## HostMax: 192.168.1.224
## Hosts/Net: 14
# Create a Synology macvlan0 bridge network attached to the physical eth0, and add the ip range scope (sudo)