flags value (decimal) | flags value (binary) | bits #[5,6,7,8] | decimal | type | note |
---|---|---|---|---|---|
16777216 | 00000001000000000000000000000000 | 0001 | 1 | Private | couchbase docs example |
33554432 | 00000010000000000000000000000000 | 0010 | 2 | JSON | couchbase docs example |
33554438 | 00000010000000000000000000000110 | 0010 | 2 | JSON | default from http rest api |
50331648 | 00000011000000000000000000000000 | 0011 | 3 | Raw Binary | couchbase docs example |
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
FROM ubuntu:20.04 | |
LABEL description="My Development Machine for Node.js." | |
LABEL version="0.1" | |
LABEL maintainer="Baur Atanov" | |
ENV TERM=xterm-256color | |
USER root | |
WORKDIR /dockerfile_workdir | |
# in order to have help built-in documentation | |
RUN yes | unminimize |
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/bash | |
# Compare answers and query time of different public DNS | |
# https://gist.github.com/capslocky/486c72e1ca59a204fa55fdebf221595f/ | |
dns_names=() | |
dns_ips=() | |
add_dns(){ | |
dns_names+=("$1") | |
dns_ips+=("${2:-ip not set}") |