This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
while IFS= read -r adapter_name; do | |
echo "DNS Servers configured on $adapter_name:" | |
eval "networksetup -getdnsservers \"$adapter_name\"" | |
echo "" | |
echo "Search domain configured on $adapter_name..." | |
eval "networksetup -getsearchdomains \"$adapter_name\"" | |
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: setup install run | |
QEMU_BASE_DIR=${HOME}/QEMU | |
HD_DIR=${QEMU_BASE_DIR}/os-disk.qcow2 | |
HD_SIZE=30G | |
ISO_DIR=${QEMU_BASE_DIR}/os-install.iso | |
ISO_URL=https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current/amd64/iso-dvd/firmware-11.1.0-amd64-DVD-1.iso | |
define NETWORK_WARNING | |
================================================================================ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Custom keycode mappings for the Motospeed ck62 keyboard | |
! | |
! How xmodmap works | |
! | |
! keycode X = A B C D | |
! X -> the keycode number. We can use `xev` to get it | |
! | |
! Now A-D represents the behaviors the keycode will have when | |
! A -> Only the key is pressed | |
! B -> The key is pressed with SHIFT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function goTo(href) { | |
if (!href) { return false; } | |
return window.location.href = href; | |
} | |
function getUrlParam (key) { | |
var paramsAssoc = getUrlParamsAssoc(); | |
return (undefined == paramsAssoc[key]) ? null : paramsAssoc[key]; |