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
#profile=high-quality | |
vo=gpu-next | |
gpu-api=vulkan | |
hwdec=off # enable best HW decoder; turn off for software decoding | |
volume=65 | |
alang=zho,jpn,ger,eng | |
slang=ger,eng |
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
[rpi4] | |
## enable 64bit | |
arm_64bit=1 | |
enable_gic=1 | |
## load UEFI | |
armstub=RPI_EFI.fd | |
## load device tree | |
# device_tree_address=0x20000 |
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
#include <getopt.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
#include <pthread.h> | |
#include <sys/stat.h> | |
// cc -g -pedantic -Werror -Wall -Wno-unused-variable -o windres windres.c -DFORK |
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/sh -e | |
DIR=$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P) | |
# Returns the number of processor cores available | |
# Usage: num_cpus | |
num_cpus() | |
{ | |
# This *should* be available on literally everything, including OSX | |
getconf _NPROCESSORS_ONLN |