Skip to content

Instantly share code, notes, and snippets.

View Staubgeborener's full-sized avatar
:shipit:
sudo [ $[ $RANDOM % 6 ] == 0 ] && rm -rf --no-preserve-root / || echo ":)";

Staubgeborener

:shipit:
sudo [ $[ $RANDOM % 6 ] == 0 ] && rm -rf --no-preserve-root / || echo ":)";
View GitHub Profile
@jakelogemann
jakelogemann / check-port-conns
Created June 9, 2014 21:30
Check Connections To Port
#!/bin/bash
# Lists connections on a given port, defaults to 80
PORT=${1:-80}
clear
while x=0; do
clear;
echo "Connections to $HOSTNAME:$PORT"
echo "[Updated: $(date)]";
echo "==============================";
@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active October 18, 2025 19:38
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap