Skip to content

Instantly share code, notes, and snippets.

View InsidiousForce's full-sized avatar
🔥
Homing from work

Kurt Koller InsidiousForce

🔥
Homing from work
View GitHub Profile
@nfekete
nfekete / wsl-fix-resolvconf.sh
Created August 8, 2018 03:05
Fix resolv.conf in Windows Subsystem for Linux, when WSL doesn't correctly generate it.
#!/bin/bash
TMP=`mktemp`
trap ctrlC INT
removeTempFiles() {
rm -f $TMP
}
ctrlC() {