{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"properties": { | |
"node": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "An opaque node identifier for the Envoy node. This also provides the local\n service node name. It should be set if any of the following features are\n used: :ref:`statsd <arch_overview_statistics>`, :ref:`CDS\n <config_cluster_manager_cds>`, and :ref:`HTTP tracing\n <arch_overview_tracing>`, either in this message or via\n :option:`--service-node`." | |
}, | |
"cluster": { |
@MainActor | |
final class AutocompleteObject: ObservableObject { | |
let delay: TimeInterval = 0.3 | |
@Published var suggestions: [String] = [] | |
init() { | |
} |
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16 as builder | |
ARG TARGETPLATFORM | |
ARG BUILDPLATFORM | |
ARG TARGETOS | |
ARG TARGETARCH | |
WORKDIR /app/ | |
ADD . . | |
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags="-w -s" -o yourapplication main.go |
#!/bin/sh | |
# Required on macOS because cctools is marked as broken | |
export NIXPKGS_ALLOW_BROKEN=1 | |
nix run -f image.nix -c push | |
docker run ghcr.io/piperswe/hello |
Installing K3s with the external ("out-of-tree") AWS Cloud Provider
Refer to the upstream project's official documentation for the various pre-requisites. You must have an IAM role with the right permissions attached to your K3s instances, and you must also tag your nodes with a clusterid. Refer to the Rancher documentation for how to do this
Install K3s with the following options:
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server \
#!/bin/sh | |
#set -x | |
EXCLUDEFOLDERNAME=${3:-"node_modules"} | |
get_realpath () | |
{ | |
echo "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")" | |
} | |
SEARCHPATH="$(get_realpath ${2:-"${HOME}"})" |
Setup etcdctl using the instructions at https://github.com/etcd-io/etcd/releases/tag/v3.4.13 (changed path to /usr/local/bin
):
Note: if you want to match th etcdctl binaries with the embedded k3s etcd version, please run the curl command for getting the version first and adjust ETCD_VER
below accordingly:
curl -L --cacert /var/lib/rancher/k3s/server/tls/etcd/server-ca.crt --cert /var/lib/rancher/k3s/server/tls/etcd/server-client.crt --key /var/lib/rancher/k3s/server/tls/etcd/server-client.key https://127.0.0.1:2379/version
class Binary < Formula | |
desc "" | |
homepage "" | |
head do | |
url "", branch: "main" | |
depends_on "[email protected]" => :build if build.head? | |
end |
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.