Skip to content

Instantly share code, notes, and snippets.

View rudolfschmidt's full-sized avatar

Rudolf Schmidt rudolfschmidt

View GitHub Profile
@rudolfschmidt
rudolfschmidt / gist:232558d8d2e02cd3df407e74a8dea895
Created April 1, 2022 16:43
Install Printer on Arch Linux
# check if printer is accessable
sudo lpinfo -v
# install and start printer server
sudo pacman -S cups
sudo systemctl enable --now cups.service
# install and check printer driver loaded
sudo pacman -S splix
lpinfo -m | grep Samsung
apt-get update && apt-get upgrade
apt-get install wireguard
vim /etc/sysctl.conf
uncoment net.ipv4.ip_forward=1
sudo sysctl -p to verify
apt-get install wireguard
cd /etc/wireguard
umask 077; wg genkey | tee privatekey | wg pubkey > publickey
vim /etc/wireguard/wg0.conf
@rudolfschmidt
rudolfschmidt / free-3-letter-domains.sh
Created June 2, 2020 21:04
Check Free 3 Letter Domains
#!/usr/bin/env bash
array=( a b c d e f g h i j k l m n o p q r s t u v w x y z )
for a in "${array[@]}"
do
for b in "${array[@]}"
do
for c in "${array[@]}"
do