Skip to content

Instantly share code, notes, and snippets.

@moderation
moderation / rush_ssh_hostname_title.diff
Created August 27, 2026 21:57
Implement hostname display in the title when accessing via SSH. Implemented by Grok 4.6 (high)
diff --git a/share/man/man1/rush.1 b/share/man/man1/rush.1
index 4b04a00b..3d980f36 100644
--- a/share/man/man1/rush.1
+++ b/share/man/man1/rush.1
@@ -97,8 +97,8 @@ a hyphen.
.SH INTERACTIVE FEATURES
Interactive Rush provides Emacs and vi editing modes, persistent searchable
history, context-aware autosuggestions, JSON completion manifests, dynamic
-completion providers, styled diagnostics, abbreviations, job control, and
-asynchronous prompt segments.
@moderation
moderation / monstar_cursor_cell_foreground.diff
Created August 27, 2026 21:41
Implement ghostty's cursor background color option for monstar. Written by Grok 4.6 (high)
diff --git a/README.md b/README.md
index ae1a3de..fe14fb0 100644
--- a/README.md
+++ b/README.md
@@ -135,6 +135,8 @@ Other settings:
`0` disables the flash (default `200`).
- **background / foreground / cursor-color / cursor-text** — Terminal colors
as `#RRGGBB` or `RRGGBB`; explicit colors override the theme.
+ `cursor-color` and `cursor-text` also accept `cell-foreground` and
+ `cell-background` to match the cursor cell at runtime.
@moderation
moderation / mental-model-719c49df_santized.svg
Last active November 11, 2024 17:40
Alternate updated versions of the excellent diagram at https://transactional.blog/how-to-learn/disk-io
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
admin: {
address: socket_address: {
address: "::1"
port_value: 9090
}
}
static_resources: {
clusters: [{
connect_timeout: "0.5s"
lb_policy: "ROUND_ROBIN"
admin:
address:
socket_address:
address: ::1
port_value: 9090
static_resources:
clusters:
- connect_timeout: 0.5s
lb_policy: ROUND_ROBIN
load_assignment:
admin:
access_log:
- name: envoy.access_loggers.file
typed_config:
'@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog
path: /tmp/admin_access.log
address:
socket_address:
address: ::0
ipv4_compat: true
@moderation
moderation / downstream_httpbin_org.yaml
Created April 13, 2021 02:47
envoy_h3_downstream_local_direct_response_h2_upstream
admin:
access_log:
- name: envoy.access_loggers.file
typed_config:
'@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog
path: /tmp/admin_access.log
address:
socket_address:
address: ::0
ipv4_compat: true
QUIC servers
MUST send FLOW_CONTROL_ERROR if a STREAM frame with a large offset is received [Transport 4.1]
MUST send TRANSPORT_PARAMETER_ERROR if initial_source_connection_id is missing [Transport 7.3]
MUST send TRANSPORT_PARAMETER_ERROR if original_destination_connection_id is received [Transport 18.2]
MUST send TRANSPORT_PARAMETER_ERROR if preferred_address, is received [Transport 18.2]
MUST send TRANSPORT_PARAMETER_ERROR if retry_source_connection_id is received [Transport 18.2]
MUST send TRANSPORT_PARAMETER_ERROR if stateless_reset_token is received [Transport 18.2]
MUST send TRANSPORT_PARAMETER_ERROR if max_udp_payload_size < 1200 [Transport 7.4 and 18.2]
MUST send TRANSPORT_PARAMETER_ERROR if ack_delay_exponen > 20 [Transport 7.4 and 18.2]
MUST send TRANSPORT_PARAMETER_ERROR if max_ack_delay >= 2^14 [Transport 7.4 and 18.2]
hyperfine --ignore-failure --warmup 5 --runs 100 \
'~/rust/curl/src/curl --silent --alt-svc ~/.altsvc.cache https://x1.local:4433/get' \
'~/rust/h3/target/x86_64-unknown-linux-musl/release/examples/client https://x1.local:4433/get' \
'~/proxygen/proxygen/_build/proxygen/httpserver/hq -logdir=/tmp -mode=client -early_data=true -connect_udp=true -draft-version=29 -port=4433 -host=x1.local -path=/get' \
'~/istio/pkg/test/echo/cmd/client/client --http3 https://x1.local:4433/get' \
'~/rust/neqo/target/release/neqo-client --output-read-data --resume --alpn h3-29 https://x1.local:4433/get' \
'~/rust/quiche/tools/apps/target/x86_64-unknown-linux-musl/release/quiche-client https://x1.local:4433/get' \
'~/rust/quinn/target/x86_64-unknown-linux-musl/release/examples/h3_client https://x1.local:4433/get'
Benchmark #1: ~/rust/curl/src/curl --silent --alt-svc ~/.altsvc.cache https://x1.local:4433/get
@moderation
moderation / envoy_envoycon_2020.opml
Last active October 14, 2020 23:59
OPML for Envoy dependencies
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Envoy dependencies</title>
</head>
<body>
<outline text="software" title="software">
<outline type="rss" text="Recent Commits to abseil-cpp:master" title="Recent Commits to abseil-cpp:master" xmlUrl="https://github.com/abseil/abseil-cpp/commits/master.atom" htmlUrl="https://github.com/abseil/abseil-cpp/commits/master"/>
<outline type="rss" text="Recent Commits to cel-cpp:master" title="Recent Commits to cel-cpp:master" xmlUrl="https://github.com/google/cel-cpp/commits/master.atom" htmlUrl="https://github.com/google/cel-cpp/commits/master"/>