Skip to content

Instantly share code, notes, and snippets.

View Ameobea's full-sized avatar

Casey Primozic Ameobea

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
FROM golang:1.12.3-stretch
ADD . /app
WORKDIR /app
RUN go build -o cloud-run-header-limit-demo .
RUN cp cloud-run-header-limit-demo /usr/local/bin/
CMD ["/usr/local/bin/cloud-run-header-limit-demo"]
@Ameobea
Ameobea / patch.diff
Created October 6, 2020 22:03
fix for chalk unimplemented panics in rust analyzer
diff --git a/Cargo.lock b/Cargo.lock
index 49022502d..9c921902c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -162,9 +162,8 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "chalk-derive"
-version = "0.30.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
@Ameobea
Ameobea / dot
Last active June 17, 2024 20:59
Graphviz dark theme config
bgcolor="#181818";
node [
fontcolor = "#eeeeee",
style = filled,
color = "#eeeeee",
fillcolor = "#333333"
]
edge [