Skip to content

Instantly share code, notes, and snippets.

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

Joshua Samenfink Razuuu

🏠
Working from home
View GitHub Profile
@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 / discord-install-update.sh
Last active May 8, 2024 10:11
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 / 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 / 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 \",)