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
.if empty(FLAVOR) | |
FLAVOR= normal | |
.endif | |
CONFIGURE_ARGS+= --enable-full-report | |
.if defined(BIND_TOOLS_SLAVE) | |
FLAVORS= normal small huge ${OPTIONS_SINGLE_GSSAPI:NGSSAPI_NONE:tl} | |
. if ${FLAVOR} == small |
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 farey = (x: number, N: number): [number, number] => { | |
if (x > 1) { | |
const units = Math.floor(x); | |
const [a, d] = farey(x - units, N); | |
return [a + units * d, d]; | |
} | |
let [a, b] = [0, 1]; | |
let [c, d] = [1, 1]; |
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
use_mynode() { | |
local file=${1:-.gitlab-ci.yml} | |
local node_version | |
watch_file "$file" | |
# NODE_VERSION: 18.2.0-alpine | |
node_version=$(sed -n '/NODE_VERSION:/s/NODE_VERSION:[[:space:]]*\([^-]*\)\(-.*\)\?/\1/p' $file) | |
if [ -z "$node_version" ]; then |
OlderNewer