Skip to content

Instantly share code, notes, and snippets.

View Elandig's full-sized avatar

Ruslan Norberg Elandig

View GitHub Profile
pcie_acs_override=downstream,multifunction pcie_aspm=off pci=realloc=off iommu=on pcie_port_pm=off thunderbolt.host_reset=false amdgpu.pcie_gen_cap=0x40000
@Elandig
Elandig / README.md
Created March 30, 2025 11:17 — forked from tomslominski/README.md
Avahi alias systemd service

Instructions

The first file is the script to be run, which you can store in your home directory. The second file is the systemd unit file which goes in /etc/systemd/system. Make sure on line 6 it references the location of the first file, and that you run systemctl daemon-reload after editing the unit file.

To run the service automatically on boot, run sudo systemctl enable avahi-alias@[domain], followed by sudo systemctl start avahi-alias@[domain] to start it immediately.

@Elandig
Elandig / fkoff-discord.sh
Last active February 21, 2025 09:42
Automatically update Discord build number from their download page, allowing it to start on Linux without being forced to update
#!/bin/sh
#
# This script fetches the latest Discord build number and changes it in
# /opt/discord/resources/build_info.json, allowing Discord to launch without updating.
#
# You should only use this script if https://wiki.archlinux.org/title/Discord
# (2.2 Discord asks for an update not yet available in the repository) does not work for you.
#