Skip to content

Instantly share code, notes, and snippets.

Avatar

Dylan M. Taylor dylanmtaylor

View GitHub Profile
@dylanmtaylor
dylanmtaylor / mirrorlist
Created Apr 12, 2020
Arch mirrorlist (very fast)
View mirrorlist
Server = http://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirrors.rit.edu/archlinux/$repo/os/$arch
Server = http://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch
Server = http://archmirror.hbit.sztaki.hu/archlinux/$repo/os/$arch
Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch
Server = http://arlm.tyzoid.com/$repo/os/$arch
Server = http://mirror.ams1.nl.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirror.one.com/archlinux/$repo/os/$arch
View gist:c847a5937cc94882f39dd2ace5a698fe
SteamVR System Report created Fri Jun 28 19:59:00 2019
<Report>
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
accountsservice
acpid
alsa-utils
android-sdk
android-sdk-platform-tools
android-studio
ansible
atom
autoconf
autokey
View Install arch
Based on https://gist.githubusercontent.com/heppu/6e58b7a174803bc4c43da99642b6094b/raw/96b7ab0ea6356ac783fe4c90d1cb7073bdbb107f/ARCH_INSTALL.MD
# Create bootable USB
Download iso and use Etcher
# Boot from USB and set prepare system
```bash
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:
./jekyll-post.py "NAME" -D _posts; rename 'y/A-Z/a-z/' _posts/*
@dylanmtaylor
dylanmtaylor / rename.sh
Created Apr 27, 2018
Rename upper to lower
View rename.sh
rename 'y/A-Z/a-z/' *
@dylanmtaylor
dylanmtaylor / fedora-latest-stable-kernel.sh
Last active Apr 24, 2018
Install Latest Stable Kernel on Fedora
View fedora-latest-stable-kernel.sh
curl -s https://repos.fedorapeople.org/repos/thl/kernel-vanilla.repo | sudo tee /etc/yum.repos.d/kernel-vanilla.repo
sudo dnf config-manager --set-enabled kernel-vanilla-stable
@dylanmtaylor
dylanmtaylor / aliases.sh
Last active Apr 21, 2018
Aliases and Snippets
View aliases.sh
# 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 http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso'
# Fortune-telling rainbow cow. For fun.
fortune | cowsay | lolcat
@dylanmtaylor
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/{}/ {} \;
You can’t perform that action at this time.