Skip to content

Instantly share code, notes, and snippets.

View egeexyz's full-sized avatar

Egee egeexyz

View GitHub Profile
#!/usr/bin/env bash
USER_NAME=ocean
USER_PASSWORD=ocean
fdisk /dev/sda
mkfs.ext4 /dev/sda1
mount /dev/sda /mnt
pacstrap -K /mnt base linux nano htop syslinux sudo wget git
su ${USER_NAME} -c "cd /tmp && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si --noconfirm"

Keybase proof

I hereby claim:

  • I am egee-irl on github.
  • I am egeexyz (https://keybase.io/egeexyz) on keybase.
  • I have a public key ASDG11el__wr54Csp4VwudceTnUy-h6hDJEJSiDajgEFRwo

To claim this, I am signing this object:

@egeexyz
egeexyz / bookworm sources
Last active August 29, 2021 14:07
bookworm sources
deb http://deb.debian.org/debian/ bookworm non-free contrib main
deb http://security.debian.org/ bookworm-security/updates non-free contrib main
# deb http://deb-multimedia.org/ bookworm non-free main
# deb-src http://deb.debian.org/debian/ bookworm non-free contrib main
# deb-src http://security.debian.org/ bookworm-security/updates non-free contrib main
#!/usr/bin/env bash
GAME=
SSH_PORT=
DEPENDENCIES="steamcmd mono-complete npm default-jdk libcurl3-gnutls:i386 libstdc++6:i386 lib32gcc1 curl git"
dpkg --add-architecture i386
echo steam steam/question select "I AGREE" | sudo debconf-set-selections
echo steam steam/license note '' | sudo debconf-set-selections
#!/usr/bin/env bash
zypper addrepo https://download.opensuse.org/repositories/games:tools/openSUSE_Leap_15.1/games:tools.repo
zypper addrepo -G --refresh https://download.opensuse.org/repositories/games:tools/openSUSE_Leap_15.1/games:tools.repo
zypper up -y
# This never worked because openSUSE steamcmd has broken dependencies
zypper install steamcmd
ln -s /bin/bash /usr/bin/bash
#!/usr/bin/env bash
#<UDF name="GSD_GAME" label="The game GSD will install.">
GSD_GAME=
SSH_PORT=
USER_NAME=
USER_PASSWORD=
exec >/var/log/stackscript.log 2>&1
pacman -Syu --noconfirm htop \
- **Basic Install & Setup**
- [ ] Installer
- [ ] Welcome Screen
- [ ] Disk usage after install
- [ ] Basic Update
- [ ] Drivers
- [ ] Display
- [ ] Firmware?
- **Resource Usage**
- [ ] `systemd-analyze` to check startup times
#!/bin/bash
cd /tmp
wget https://dl.influxdata.com/telegraf/releases/telegraf-1.11.4_linux_amd64.tar.gz
tar xf telegraf-1.11.4_linux_amd64.tar.gz
cp -r /tmp/telegraf/usr/lib/telegraf/ /usr/lib/
cp -r /tmp/telegraf/var/log/telegraf /var/log/
cp -r /tmp/telegraf/etc/telegraf/ /etc/
cp -r /tmp/telegraf/etc/logrotate.d/ /etc/
#!/bin/bash
nvidia-settings -a '[gpu:0]/GPUMemoryTransferRateOffset[3]=500'
nvidia-settings -a '[gpu:0]/GPUGraphicsClockOffset[3]=90'