Skip to content

Instantly share code, notes, and snippets.

@jophde
jophde / grubconfig
Created February 13, 2020 07:18
passthrough config
# GRUB boot loader configuration
GRUB_DEFAULT='Advanced options for Arch Linux>Arch Linux, with Linux linux'
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on intel_pstate=disable default_hugepagesz=1G hugepagesz=1G hugepages=8 kvm.nx_huge_pages=off intremap=no_x2apic_optout"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
item_subtotal = 465.777
item_subtotal = 465.77
employee_discount = 46.58
monitor_price = 396.77
adapter_price = 69.00
monitor_price_ratio = monitor_price / item_subtotal
adapter_price_ratio = adapter_price / item_subtotal
monitor_discount = monitor_price_ratio * employee_discount
adapter_discount = adapter_price_ratio * employee_discount
monitor_discount = 39.67955557463984