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
  • 03:44 (UTC +01:00)
View GitHub Profile
@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 May 1, 2024 13:04
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 September 13, 2024 18:00
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
@Razuuu
Razuuu / beammp-on-linux.md
Last active February 24, 2024 09:49
Play BeamMP on Linux

What you need

  • browser, curl or wget
  • unzip
  • protontricks
  • lutris

e.g Debian:
apt install curl unzip protontricks
e.g Arch/EndeavourOS:
pacman -S curl unzip protontricks

@Razuuu
Razuuu / install_prism.txt
Last active October 4, 2024 10:09
install prism (multimc fork, minecraft launcher) on debian
# See: https://prismlauncher.org/download/linux/#debian-ubuntu-(x86_64-arm64)
curl -q 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
echo "deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
sudo apt update
sudo apt install prismlauncher
if using trixie, replace sources.list.d to bookworm instead
@Razuuu
Razuuu / install_PreMiD.txt
Last active July 18, 2024 23:22
Install PreMiD on debian based systems (NOT REQUIRED SINCE 2.6.X)
See: https://github.com/PreMiD/Linux/blob/master/README.md#packagecloud
$ curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.deb.sh | sudo bash
$ sudo apt install premid
if you're using debian buster and up like trixie, edit your sources.list.d file to buster instead of trixie
https://premid.app/downloads
Select your browser