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
  • 14:55 (UTC +02:00)
View GitHub Profile
@Razuuu
Razuuu / KodiStandaloneRaspberryPiOsLite.md
Created July 10, 2025 19:32 — forked from didi1357/KodiStandaloneRaspberryPiOsLite.md
Kodi Standalone on Raspberry Pi OS Lite 64Bit Debian 12 Bookworm

Kodi Standalone on Raspberry Pi OS Lite 64Bit Debian 12 Bookworm

This guide describes how to get Kodi running on Debian Bookworm based Raspberry Pi OS Lite 64Bit without having to run the full LXDE GUI of the desktop version.

It is based on this guide.

First, install kodi as usual with

apt install kodi

@Razuuu
Razuuu / update_root_hints.sh
Last active May 14, 2025 23:18 — forked from lyjacky11/update_root_hints.sh
Update root.hints file for bind9
#!/bin/bash
# Vars
HEREAMI="$(dirname "$(readlink -f "${0}")")"
URL="https://www.internic.net/domain/named.root"
FILE="/usr/share/dns/root.hints"
# Check if file is the same, otherwise override
if ! diff -q <(curl -s "${URL}") "${FILE}" > /dev/null 2>&1; then
# Download root.hints file
@Razuuu
Razuuu / create-dummy-file.sh
Created November 17, 2024 14:37
Create a 0 bytes dummy file
dd if=/dev/zero of=1GB.bin bs=1 count=0 seek=1GB
@Razuuu
Razuuu / search-string-in-folder.sh
Last active October 21, 2024 21:42
search for a string inside a folder
find . -type f -exec grep -H 'example string' {} \;
#or
grep -Rnw '.' -e 'example string'
@Razuuu
Razuuu / audiorelay-pipewire.md
Created September 21, 2024 13:06 — forked from rehhouari/audiorelay-pipewire.md
How to install AudioRelay on Linux using Pipewire (through pipewire-pulse) (forked in case this will deleted)
@Razuuu
Razuuu / check-biggest-file-on-server.sh
Created August 8, 2024 20:26
check-biggest-file-on-server
find / -type f -size +500M -exec du -sh {} \;
@Razuuu
Razuuu / convert-to-favicon.sh
Created July 26, 2024 01:45
convert picture to favicon.ico
convert <image> -define icon:auto-resize=256,64,48,32,16 favicon.ico
@Razuuu
Razuuu / 64gram-install.sh
Last active January 30, 2024 00:04
64gram-install.sh
#!/bin/bash
echo "Install 64Gram"
cd /tmp
# Download 64Gram from GitHub Releases
ghfile=$(curl -s https://api.github.com/repos/TDesktop-x64/tdesktop/releases/latest \
| grep "browser_download_url.*64Gram_.*_linux.zip" \
| cut -d : -f 2,3 \
| tr -d \",)
@Razuuu
Razuuu / lineage_setup.sh
Last active June 1, 2025 22:46
Sync LineageOS on a freshly installed Debian 12+ server
#!/bin/bash
#
# Script by Razuuu
#
# Variables
CONFIGFILE=$1
# Access to usershell via function
@Razuuu
Razuuu / discord-install-update.sh
Last active June 3, 2025 03:25
Install or (default: update) discord via tar.gz file
#!/bin/bash
echo "$([ "$1" == "install" ] && echo "Install" || echo "Update") Discord"
# Download Discord
cd /tmp
curl -o discord.tar.gz -J --location-trusted --max-redirs 10 "https://discord.com/api/download/stable?platform=linux&format=tar.gz"
# Unzip
tar -xzf discord.tar.gz