Skip to content

Instantly share code, notes, and snippets.

@BlockListed
BlockListed / install_arch.sh
Created Sep 29, 2021
My full arch setup script
View install_arch.sh
#!/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=""
View C++Build.sh
# Compiling with arg 1 and 2
g++ -std=c++0x $1 -o $2
View setupssh.sh
sudo apt install openssh-server
sudo systemctl enable ssh
View setupsysdvrubuntu.sh
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