Skip to content

Instantly share code, notes, and snippets.

View dio's full-sized avatar
💥

Dhi Aurrahman dio

💥
  • Bandung, Indonesia
View GitHub Profile
@dio
dio / FindQt5.md
Last active March 31, 2022 23:29

When we received an error similar to the following on macOS:

CMake Error at CMakeLists.txt:77 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" (requested
 version 5.6.0) with any of the following names:
@dio
dio / main.go
Last active March 4, 2022 07:05
package main
import (
"context"
"fmt"
"net"
"net/http"
"os"
"os/signal"
"time"
@dio
dio / a.md
Created February 7, 2022 08:51
@dio
dio / a.go
Created November 28, 2021 23:11
package envoy
import (
"context"
"io"
"os/exec"
)
type Options struct{}
@dio
dio / a.md
Created November 24, 2021 10:31
TSB Istio Envoy SkyWalking Zipkin OpenTelemetry Collector
1.4.0 1.9.8 1.17.1 8.7.0.10 2.23.4 0.36.0
1.3.3 1.8.5 1.16.3 8.5.0.1 2.21.4 0.22.0
1.3.2 1.8.5 1.16.3 8.5.0.1 2.21.4 0.22.0
1.3.1 1.8.5 1.16.3 8.5.0.1 2.21.4 0.22.0
1.3.0 1.8.5 1.16.3 8.5.0.1 2.21.4 0.22.0
1.2.9 1.7.8 1.15.4 8.5.0.1.2 2.21.4 0.22.0
1.2.8 1.7.8 1.15.4 8.5.0.1.2 2.21.4 0.22.0
1.2.7 1.7.8 1.15.4 8.5.0.1.2 2.21.4 0.22.0
@dio
dio / a.yaml
Created November 23, 2021 21:52
admin:
address:
socket_address:
protocol: TCP
address: 0.0.0.0
port_value: 9901
static_resources:
listeners:
- name: listener_0
address:
@dio
dio / a.json
Created September 21, 2021 03:14
{
"proxyListenPort": 15001,
"connectTimeout": "10s",
"protocolDetectionTimeout": "0s",
"ingressClass": "istio",
"ingressService": "istio-ingressgateway",
"ingressControllerMode": "STRICT",
"enableTracing": true,
"accessLogFile": "/dev/stdout",
"defaultConfig": {
@dio
dio / a.yaml
Created September 16, 2021 02:35
my_payload:
iss: https://example.com
sub: test@example.com
aud: https://example.com
exp: 1501281058
my_headers:
alg: HS256
@dio
dio / a.go
Created September 11, 2021 06:23
// Copyright 2019 Tetrate
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/examples/lua/Dockerfile-proxy b/examples/lua/Dockerfile-proxy
index a2ea90d434..2ae88ee47e 100644
--- a/examples/lua/Dockerfile-proxy
+++ b/examples/lua/Dockerfile-proxy
@@ -1,4 +1,4 @@
-FROM envoyproxy/envoy-dev:latest
+FROM envoyproxy/envoy:v1.19.0
ADD ./lib/mylibrary.lua /lib/mylibrary.lua
COPY ./envoy.yaml /etc/envoy.yaml
RUN chmod go+r /etc/envoy.yaml /lib/mylibrary.lua