Skip to content

Instantly share code, notes, and snippets.

Dustin dust321

  • North East
Block or report user

Report or block dust321

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
#Make sure the system is up to date.
sudo pacman -Syu --noconfirm
#Install dependency packages we'll need to build Pacaur on Arch.
sudo pacman -S binutils make gcc fakeroot expac yajl git --noconfirm
dust321 / wg-setup
Created Sep 2, 2019 — forked from lmlsna/wg-setup
Setup wireguard interface over ssh and return public key
View wg-setup
add-apt-repository ppa:wireguard/wireguard -y &>/dev/null
apt-get update &>/dev/null
if [[ "$(lsmod | grep wireguard)" -n ]]; then
export HAS_WG_MODULE=1
apt-get install wireguard-dkms -y &>/dev/null
modprobe wiregusrd
dust321 / nginx.conf
Created Mar 25, 2019 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
View Minimum Arch install BIOS no encryption
fdisk or cfdisk /dev/sdX
mkfs.ext2 /dev/sdX1 #boot Max 500M
mkfs.ext4 /dev/sdX2 #root max 20Gig
mkfs.ext4 /dev/sdX3 #home the leftovers
mkswap /dev/sdX4
mount /dev/sdX2 /mnt
mkdir /mnt/boot
mkdir /mnt/home
mount /dev/sdX1 /boot
dust321 / arch-linux-install-encryption
Last active Nov 16, 2019 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing Arch Linux on an DOS/BIOS system with full system encryption using dm-crypt and luks
View arch-linux-install-encryption
# Install ARCH Linux with encrypted file-system, for BIOS. Dustin dut n ex 5 a t g ma il
# The official installation guide ( contains a more verbose description.
# Download the archiso image from
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
You can’t perform that action at this time.