Skip to content

Instantly share code, notes, and snippets.

@BlockListed
BlockListed / install_arch.sh
Created September 29, 2021 19:35
My full arch setup script
#!/bin/sh
# Options
AUR_HELPER="paru"
ENABLE_32=1
# This should be git cloneable and have it's .config in the root directory
# Optional: include `extra_install.sh' to install additional files in the dotifiles repo
DOTFILES_GIT_HTTP="https://github.com/BlockListed/dotifles-i3.git"
# These have to be compatible with makepkg / your aur helper
PACMAN_OPTS="--noconfirm"
MAKEPKG_OPTS=""
@BlockListed
BlockListed / C++Build.sh
Created September 6, 2020 18:18
C++ Build shit
# Compiling with arg 1 and 2
g++ -std=c++0x $1 -o $2
@BlockListed
BlockListed / setupssh.sh
Created September 6, 2020 11:22
SSH setup script
sudo apt install openssh-server
sudo systemctl enable ssh
sudo apt-get update -y
sudo apt-get install -y libusb-1.0-0
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install -y dotnet-sdk-3.1