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 / talk.md
Last active November 17, 2022 22:55

Taking advantage of open-source software by contributing back to it

The building blocks of much of the technology we rely on daily run on open-source software. The sustainability, stability, and security of these software packages are a significant concern to every company that uses them (essentially every company). We have observed an increase in the active role of corporations in open-source software, either by assigning employees to contribute to existing open-source projects or open-sourcing their code to allow the community to utilize it and help maintain it. Getting involved in open-source projects has never been “easier” yet valuable. How take advantage of this “state” for our very own journey? This talk tells stories of first-hand life-changing events involving and contributing to open-source projects (notably the Envoy proxy project).

@dio
dio / img.js
Last active November 16, 2022 10:45
this.document.location = document.querySelector(`img[src*='blob:https://web.whatsapp.com']`).getAttribute('src');
export BAZEL_FLAGS="--config=libc++ --define=boringssl=fips --cxxopt=-Wno-unused-variable --host_cxxopt=-Wno-unused-variable"
export VERSION="0.5.3"
export MODE=clang-fips
@dio
dio / a.diff
Created November 6, 2022 10:50
diff --git a/source/common/runtime/runtime_features.cc b/source/common/runtime/runtime_features.cc
index 4b3cce5d32..8de74ef6f0 100644
--- a/source/common/runtime/runtime_features.cc
+++ b/source/common/runtime/runtime_features.cc
@@ -43,6 +43,7 @@ RUNTIME_GUARD(envoy_reloadable_features_delta_xds_subscription_state_tracking_fi
RUNTIME_GUARD(envoy_reloadable_features_do_not_await_headers_on_upstream_timeout_to_emit_stats);
RUNTIME_GUARD(envoy_reloadable_features_do_not_count_mapped_pages_as_free);
RUNTIME_GUARD(envoy_reloadable_features_enable_compression_bomb_protection);
+RUNTIME_GUARD(envoy_reloadable_features_ext_authz_http_service_5xx_is_denied);
RUNTIME_GUARD(envoy_reloadable_features_fix_hash_key);
# This script produces SOURCE_VERSION file with content from current version commit hash. As a
# reminder,SOURCE_VERSION is required when building Envoy from an extracted release tarball
# (non-git). See: bazel/get_workspace_status for more information.
#
# The SOURCE_VERSION file is produced by reading current version tag from VERSION.txt file then
# fetch the corresponding commit hash from GitHub.
#
# Note: This script can only be executed from project root directory of an extracted "release"
# tarball.
@dio
dio / a.txt
Created October 27, 2022 02:50
DEBUG: Rule 'com_googlesource_chromium_base_trace_event_common' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1662669790 -0700"
@dio
dio / envoy.rb
Last active October 27, 2022 10:41
class Envoy < Formula
desc "Cloud-native high-performance edge/middle/service proxy"
homepage "https://www.envoyproxy.io/index.html"
url "https://github.com/envoyproxy/envoy/archive/refs/tags/v1.24.0.tar.gz"
sha256 "31a81841447fbb51589a198d8e8998f2b8ad1fff4921e017fa37691015b3a9f9"
license "Apache-2.0"
head "https://github.com/envoyproxy/envoy.git", branch: "main"
stable do
patch do
# The Clang available on MacOS has a warning that isn't clean on MLIR code. The
# warning doesn't show up with more recent Clangs, so just disable for now.
build:generic_clang --cxxopt=-Wno-range-loop-analysis --host_cxxopt=-Wno-range-loop-analysis
@dio
dio / envoy.rb
Last active October 21, 2022 07:27
class Envoy < Formula
desc "Cloud-native high-performance edge/middle/service proxy"
homepage "https://www.envoyproxy.io/index.html"
url "https://github.com/envoyproxy/envoy/archive/refs/tags/v1.23.2.tar.gz"
sha256 "d4bef9f8c6f0307a0c18968109754771a0040867c8f42d2105e08b7fbd69c5e1"
license "Apache-2.0"
head "https://github.com/envoyproxy/envoy.git", branch: "main"
livecheck do
url :stable
# This script produces SOURCE_VERSION file with content from current version commit hash. As a
# reminder,SOURCE_VERSION is required when building Envoy from an extracted release tarball
# (non-git). See: bazel/get_workspace_status for more information.
#
# The SOURCE_VERSION file is produced by reading current version tag from VERSION.txt file then
# fetch the corresponding commit hash from GitHub.
#
# Note: This script can only be executed from project root directory of an extracted "release"
# tarball.