Skip to content

Instantly share code, notes, and snippets.

View yonderbread's full-sized avatar
🧀
chedda

yonderbread yonderbread

🧀
chedda
View GitHub Profile

Install Artix Linux from Live USB (openrc init system)

1. Boot from CD/DVD

Once booted into the live enviorment, choose to boot from CD/DVD.

2. Login

Log into the Artix Linux root user with the username and password

IMPORTANT: These steps are meant for use on most Arch, systemd based distrobutions. Please take care and backup your system and files you've edited before progressing. Better safe than sorry.

Steps:

  1. Update packages for distrobution. Typically on arch based systems you can run pacman -Syu --noconfirm with sudo privilidges to do this.
  2. Install grub.
  3. Edit /etc/defaults/grub (Make sure to back this file up beforehand)
  4. Look for the line option named GRUB_CMDLINE_LINUX_DEFAULT and prepend the following
** (process:87363): WARNING **: 12:09:07.148: /home/euphoric/.config/rofi/config.rasi:4:38: Option: width is not found.
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
#!/bin/bash
sudo apt update && sudo apt upgrade -y
sudo apt install -y apt-transport-https
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add - && sudo apt update && sudo apt install linux-xanmod-lts -y
sudo apt install -y neofetch tmux screen nmap cmake make ninja fail2ban python-is-python3 python3-pip python3-venv htop neovim build-essential git
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
echo 'eval "$(starship init bash)"' >> ~/.bashrc
source ~/.bashrc
# Install docker
sudo apt-get remove docker docker.io containerd runc -y
[
{
"type": "openvpn",
"active": true,
"ipv4": "45.9.249.34",
"ipv6": "2001:ac8:81::1f",
"location":
{
"country_code": "ae",
"country_name": "United Arab Emirates",
#!/usr/bin/env bash
set -e
sudo apt update && sudo apt upgrade -y
sudo apt install -y openjdk-8-jre
mkdir mindustry-server && cd mindustry-server
wget https://github.com/Anuken/Mindustry/releases/download/v126.2/server-release.jar
sudo apt install -y ufw && sudo ufw enasble && sudo ufw allow 6567 && sudo ufw reload
java -jar server-release.jar
@yonderbread
yonderbread / 1v1.cfg
Created July 1, 2021 23:55 — forked from sebastiandero/1v1.cfg
1v1 config for CSGO
bot_kick;
exec gamemode_competitive;
mp_free_armor 1;
mp_freezetime 3;
mp_weapons_allow_map_placed 1;
mp_humanteam any;
mp_restartgame 1;
mp_round_restart_delay 3;
mp_roundtime 80250;
mp_maxrounds 30;
@yonderbread
yonderbread / build.sh
Last active June 3, 2021 22:20
Build Carla
#!/bin/bash
sudo apt install -y git python3-pyqt5.qtsvg python3-rdflib pyqt5-dev-tools \
libmagic-dev liblo-dev libasound2-dev libpulse-dev libx11-dev \
libgtk2.0-dev libgtk-3-dev libqt5core5a qtbase5-dev libfluidsynth-dev
git clone --recursive git://github.com/falkTX/Carla.git carla
cd carla && make
@yonderbread
yonderbread / normalize.sh
Created June 3, 2021 20:33
Bitwarden JSON export normalization for KeepassXC CSV conversion
import json
import sys
if __name__ == "__main__":
if not sys.argv[1]:
print("No json file specified, quitting.")
sys.exit(0)
with open(sys.argv[1]) as f:
data = json.load(f)
sudo apt update && sudo apt install -y build-essential cmake g++-10 gcc-10 git
glslang-tools libavcodec-dev libavutil-dev libboost-context-dev
libboost-dev liblz4-dev libmbedtls-dev libopus-dev libqt5opengl5-dev
libsdl2-dev libssl-dev libswscale-dev libzip-dev libzstd-dev ninja-build
python-is-python3 python3-pip qtbase5-dev qtbase5-private-dev qtwebengine5-dev
zlib1g-devsudo apt-get install build-essential cmake g++-10 gcc-10 git
glslang-tools libavcodec-dev libavutil-dev libboost-context-dev
libboost-dev liblz4-dev libmbedtls-dev libopus-dev libqt5opengl5-dev
libsdl2-dev libssl-dev libswscale-dev libzip-dev libzstd-dev ninja-build
python python3-pip qtbase5-dev qtbase5-private-dev qtwebengine5-dev