Skip to content

Instantly share code, notes, and snippets.

View Razuuu's full-sized avatar
🏠
Working from home

Joshua Samenfink Razuuu

🏠
Working from home
  • Germany
  • 12:17 (UTC +01:00)
View GitHub Profile
@Razuuu
Razuuu / adguard-allowlist.txt
Created March 15, 2026 00:55
Adguard Allowlist
!
! Title: Adguard Allowlist
!
# [discord.com]
127.0.0.1 click.discord.com
@Razuuu
Razuuu / windows-adguard-blocklist.txt
Created March 15, 2026 00:53
Windows Adguard Blocklist
!
! Title: Windows Blocklist
!
# [microsoft.com]
127.0.0.1 licensing.mp.microsoft.com
# [windows.com]
127.0.0.1 client.wns.windows.com
@Razuuu
Razuuu / adguard-battleye-blocklist.txt
Last active March 15, 2026 00:51
Adguard Battleye blocklist
!
! Title: Battleye Blocklist
!
# [battleye.com]
127.0.0.1 paradise-s1.battleye.com
127.0.0.1 test-s1.battleye.com
127.0.0.1 paradiseenhanced-s1.battleye.com
@Razuuu
Razuuu / ddclient.conf
Created March 9, 2026 21:19
dynv6-ddclient.conf
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
protocol=dyndns2
use=web, web=ip4only.me
server=dynv6.com
ssl=yes
login=none
password='password'
@Razuuu
Razuuu / minecraft-systemd-service.md
Last active January 4, 2026 18:25
Dynamic systemd Minecraft server template with customizable java home, server jar and memory per instance.

This setup provides a multi-instance Minecraft server using systemd templates.

  1. Add user
adduser --disabled-password --gecos "" minecraft
  1. Create files

/usr/lib/systemd/system/minecraft@.service

@Razuuu
Razuuu / tar-max-compression.sh
Created November 19, 2025 18:01
tar max compression
tar cvf - /path/to/file | gzip -9 - > filename.tar.gz
@Razuuu
Razuuu / config.txt
Created November 9, 2025 17:49
Turn off LEDs on the Raspberry Pi 4B (Paste this at the end of the file)
> /boot/firmware/config.txt
# Disable the PWR LED
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=on
# Disable the Activity LED
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
@Razuuu
Razuuu / tar-progress-oneliner.sh
Created October 27, 2025 17:47
tar oneliner with progress bar
SELFOLDER="/foldername/" tar cf - ${SELFOLDER} -P | pv -s $(du -sb ${SELFOLDER} | awk '{print $1}') | gzip > ${SELFOLDER}.tar.gz
@Razuuu
Razuuu / domain.xml
Created October 22, 2025 21:14 — forked from Informatic/domain.xml
How to use Windows 10 OEM license in libvirt VM (<smbios mode='host' /> does not work as Windows seems to verify UUID; apparmor/security configuration changes may be needed)
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<!-- ... -->
<qemu:commandline>
<qemu:arg value='-acpitable'/>
<qemu:arg value='file=/some/path/slic.bin'/>
<qemu:arg value='-acpitable'/>
<qemu:arg value='file=/some/path/msdm.bin'/>
<qemu:arg value='-smbios'/>
<qemu:arg value='file=/some/path/smbios_type_0.bin'/>
<qemu:arg value='-smbios'/>
@Razuuu
Razuuu / postgresql-webinterface.md
Created August 18, 2025 21:06
PostgreSQL Webinterface

See: https://www.pgadmin.org/download/pgadmin-4-apt/

#
# Setup the repository
#

# Install the public key for the repository (if not done previously):
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg