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
shader_type spatial; | |
float saturate(float x) | |
{ | |
return clamp(x,0.0,1.0); | |
} | |
vec3 saturate3(vec3 x) | |
{ | |
return clamp(x, vec3(0), vec3(1)); | |
} |
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 | |
set -ex | |
## Specific versions of packages | |
KERNEL_VERSION="6.1.52" | |
BUSYBOX_VERSION="1.36.1" | |
SYSLINUX_VERSION="6.03" | |
#LIMINE_VERSION="5.20230909.0" | |
## Download packages | |
if [ ! -d "packages" ]; then | |
mkdir packages |
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
# Adds two binary numbers. | |
input: '0111 1100' | |
blank: ' ' | |
start state: end | |
table: | |
# scan to the right | |
end: | |
[1,0]: R | |
' ' : {R: right} | |
# scan to the rightmost digit |