Skip to content

Instantly share code, notes, and snippets.

Dylan M. Taylor dylanmtaylor

Block or report user

Report or block dylanmtaylor

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
View gist:c847a5937cc94882f39dd2ace5a698fe
SteamVR System Report created Fri Jun 28 19:59:00 2019
SteamVR Version: 1.5.15 (1561488580)
SteamVR Date: 2019-06-25
Steam: Public
Steam Branch:
Steam AppID: 250820
Tracking: lighthouse
OS: Linux version 5.1.8-arch1-1-ARCH (builduser@heftig-22377) (gcc version 8.3.0 (GCC)) #1 SMP PREEMPT Sun Jun 9 20:28:28 UTC 2019
View my-laptop-arch-packages
View Install arch
Based on
# Create bootable USB
Download iso and use Etcher
# Boot from USB and set prepare system
timedatectl set-ntp true
View gist:f8f1f8a7f0255fab0b9fb2c23eb7de32
/var/lib/gems/2.5.0/gems/jekyll-3.8.1/exe/jekyll b --watch
View gist:dbd56756d6f88c47955c25cd327197a0
From blog folder:
./ "NAME" -D _posts; rename 'y/A-Z/a-z/' _posts/*
dylanmtaylor /
Created Apr 27, 2018
Rename upper to lower
rename 'y/A-Z/a-z/' *
dylanmtaylor /
Last active Apr 24, 2018
Install Latest Stable Kernel on Fedora
curl -s | sudo tee /etc/yum.repos.d/kernel-vanilla.repo
sudo dnf config-manager --set-enabled kernel-vanilla-stable
dylanmtaylor /
Last active Apr 21, 2018
Aliases and Snippets
# Update all the things on Ubuntu
alias dup="sudo apt clean all; sudo apt update; sudo apt -y full-upgrade; sudo flatpak update; sudo snap refresh; sudo apt autoremove"
# Check primary nvme drive status
alias nvmeck='sudo smartctl -a /dev/nvme0'
# Connect to my OpenVPN server
alias ovpn='sudo openvpn ~/openvpn_cert.ovpn'
# Fetch latest ISO for OpenSUSE Tumbleweed
alias tumbleweed='wget -N'
# Fortune-telling rainbow cow. For fun.
fortune | cowsay | lolcat
dylanmtaylor / gist:2755fc5bd5b5f3dc80953479b80fd98d
Created Apr 30, 2016
Unzip folder of zip files to matching directories
View gist:2755fc5bd5b5f3dc80953479b80fd98d
find . -name '*.zip' -exec mkdir -p "Unzipped/{}" \;
find . -name '*.zip' -exec unzip -o -d Unzipped/{}/ {} \;
dylanmtaylor / iptables-kvm-cheatsheet.txt
Created Apr 3, 2016
How to forward requests from a host machine to a KVM guest and back using iptables
View iptables-kvm-cheatsheet.txt
# echo 1 > /proc/sys/net/ipv4/ip_forward first
# 208.x.x.x is the host machine. 192.x.x.x is the guest machine
# This routes port 80 to the guest and back.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.x.x.x6:80
iptables -t nat -A POSTROUTING -p tcp -d 192.x.x.x6 --dport 80 -j SNAT --to-source 208.x.x.x
# This routes port 2222 on the host to 22 on the guest machine
iptables -t nat -A PREROUTING -p tcp --dport 2222 -j DNAT --to-destination 192.x.x.x6:22
iptables -t nat -A POSTROUTING -p tcp -d 192.x.x.x6 --dport 22 -j SNAT --to-source 208.x.x.x
You can’t perform that action at this time.