This file contains hidden or 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
[ 0.000000] Linux version 5.13.9 (nixbld@localhost) (gcc (GCC) 10.3.0, GNU ld (GNU Binutils) 2.35.1) #1-NixOS SMP Sun Aug 8 07:06:57 UTC 2021 | |
[ 0.000000] Command line: BOOT_IMAGE=(lvm/p14s--vg-boot)//kernels/3r454kfmjmi77vimxvm41hbkkrn7q8dh-linux-5.13.9-bzImage init=/nix/store/ysyl9n8xc5as3rsy5xkx2gsy5ij1fipi-nixos-system-p14s-xxx-21.05.2478.a445f582988/init amdgpu.backlight=0 acpi_backlight=none loglevel=4 | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers' | |
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 | |
[ 0.000000] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8 | |
[ 0.000000] x86/fpu: Enabled xstate features 0x207, context size is 840 bytes, using 'compacted' format. | |
[ 0.000000] BIOS-provided physical R |
This file contains hidden or 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 | |
# Calculates network and broadcast based on supplied ip address and netmask | |
# Usage: broadcast_calc.sh 192.168.0.1 255.255.255.0 | |
# Usage: broadcast_calc.sh 192.168.0.1/24 | |
tonum() { | |
if [[ $1 =~ ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+) ]]; then |
This file contains hidden or 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
const LBS_2_KG = 2.5; | |
const REALISM_MAX_FUEL_CAPACITY_LBS = 200000000; | |
const BLINK_TEXT_DUR_TOT = 1500; | |
const BLINK_TEXT_DUR_IN = 500; | |
const BLINK_TEXT_DUR_OUT = 500; | |
const SEAT_PRICE_MAX_PROFIT_FACTOR = 1.749; | |
const SEAT_PRICE_MAX_ECONOMY = 20000; | |
const SEAT_PRICE_MAX_BUSINESS = 25000; | |
const SEAT_PRICE_MAX_FIRST = 45000; | |
const FUEL_PRICE_HOTDEAL = 250; |