This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725934 | |
# https://git.io/Jsgoj <- short url for this as raw | |
apt-get install debsecan | |
echo "Compare these sources.list files and implement...creating: /etc/apt/sources.list.new" | |
cat <<'EOF' > /etc/apt/sources.list.new | |
# Testing | |
deb http://deb.debian.org/debian/ testing main contrib non-free | |
deb-src http://deb.debian.org/debian/ testing main contrib non-free | |
deb http://security.debian.org/debian-security testing-security main contrib non-free |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/gawk -f | |
BEGIN { | |
Port = 8080 | |
Prompt = "bkd> " | |
Service = "/inet/tcp/" Port "/0/0" | |
while (1) { | |
do { | |
printf Prompt |& Service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Noah Bliss | |
# GPLv3 License | |
# Backup and restore interfaces file and reboot system if not canceled. | |
# This program will hang the terminal. I prefer it that way and use tmux in a split window. | |
file="/etc/network/interfaces" | |
backup="/etc/network/interfaces.safe" | |
echo "Backing up $file to $backup" | |
if ! cp "$file" "$backup"; then echo "Failed to backup"; exit 1; fi | |
# If we have inotifywait, use it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Swap to free repo | |
wget -qO- https://gitlab.com/shebang/bashengine/raw/master/root/proxmox/aptfix | bash | |
apt update | |
apt upgrade -y | |
apt dist-upgrade -y | |
# Remove Nag. (Needs to be done after most upgrades that impact pve-manager) | |
cat <<EOF > /etc/apt/apt.conf.d/80pvenagfix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
nvidiafile="$1" | |
# For OpenSUSE systems that are securebooted. | |
# You need the package: kernel-devel | |
# You need your own signing key in mok. | |
# sudo su | |
# cd | |
# openssl req -new -x509 -newkey rsa:2048 -keyout gpusigningkey.pri -outform DER -out gpusigningkey.pub -nodes -days 36500 -subj "/CN=Graphics Drivers" | |
# mokutil --import gpusigningkey.pub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For at least suse, the file to edit is "/usr/share/X11/xorg.conf.d/40-libinput.conf" restart display manager after changes. | |
# The important line to add is the ClickMethod one below. See https://wiki.archlinux.org/index.php/Libinput for more info. | |
Section "InputClass" | |
Identifier "libinput touchpad catchall" | |
MatchIsTouchpad "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
Option "Tapping" "On" | |
Option "ClickMethod" "clickfinger" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# anderssv on snapcraft forum | |
mkdir -p ~/.config/environment.d | |
echo "PATH=$PATH:/snap/bin\nXDG_DATA_DIRS=\"${XDG_DATA_DIRS:-/usr/local/share:/usr/share}:/var/lib/snapd/desktop\"" > ~/.config/environment.d/60-snap-icons-and-bin.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
<<ENDOFSIGSTART= | |
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
ENDOFSIGSTART= | |
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
#Wooo only running ash... adventurous. ;P | |
#Noah Bliss -- 2017.10.22 | |
thisdevice=$(cat /sys/class/dmi/id/product_uuid) | |
configdir=$HOME/system_configs | |
devinfofile=device_info.conf | |
devtmpfile=/tmp/alldevs.lst | |
devtmphostfile=/tmp/hostdevs.lst | |
alldevs=$(lspci -nn > $devtmpfile) | |
trap "{ rm -f $devtmpfile; rm -f $devtmphostfile;}" EXIT SIGINT SIGTERM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Debian stable | |
Upgrade debian stable to sid | |
install the nvidia driver from the nvidia website (for dxvk it needs a driver newer than the debian repos have) | |
if you have gnome, you will need to purge gdm and reinstall at least gdm, (likely gnome-core) to get it working. | |
LightDM is far more stable/dependable with the nvidia driver. | |
Install lutris (see their website for debian instructions) | |
Install wine staging from apt (wine-staging I think) | |
Install runners in lutris. | |
To get steam for linux working, run apt-get download steam |