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 / a.patch
Created October 19, 2022 06:56
diff --git a/bazel/v8.patch b/bazel/v8.patch
index 03c849156a..1b7a8f27b1 100644
--- a/bazel/v8.patch
+++ b/bazel/v8.patch
@@ -363,3 +363,16 @@ index 131ff9614e..6455f8757d 100644
char filename[] = "/tmp/v8_tmp_file_for_testing_XXXXXX";
fd = mkstemp(filename);
if (fd != -1) CHECK_EQ(0, unlink(filename));
+diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc
+index 729d8ac99f..c1b0f7e0ba 100644
@dio
dio / v8-log.txt
Created September 25, 2022 09:12
#
# Fatal error in external/v8/src/base/platform/platform-posix.cc, line 478
# Check failed: 12 == (*__error()) (12 vs. 13).
#
#
#
#FailureMessage Object: 0x16b63df60
==== C stack trace ===============================
0 envoy-static 0x000000010a935be4 v8::base::debug::StackTrace::StackTrace() + 32
==> Summary
🍺 /opt/homebrew/Cellar/cmake/3.24.2: 3,106 files, 43.8MB
==> Running `brew cleanup cmake`...
==> Pouring go--1.19.1.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/go/1.19.1: 12,436 files, 629.0MB
==> Running `brew cleanup go`...
Error: Cannot install bazel because conflicting formulae are installed.
bazelisk: because Bazelisk replaces the bazel binary
Please `brew unlink bazelisk` before continuing.
@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": {