Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am samcm on github.
  • I am sam_cm (https://keybase.io/sam_cm) on keybase.
  • I have a public key ASB49qaEFHXayym8_ClebuhxLypxu-iz1QnWOvaU0Y1FcQo

To claim this, I am signing this object:

@samcm
samcm / README.md
Last active February 27, 2025 23:33

check-holesky.sh

check-holesky.sh is a script that verifies if a beacon node is on the correct fork by comparing its block roots with a reference chain data file. It has been preconfigured with the slot -> block root mappings generated from a lighthouse-erigon node.

Usage

wget https://gist.githubusercontent.com/samcm/e2da294dab77e93ad0ee0e815580294f/raw/b379bd5417409d2b01c7c3dd9d3348c91e80b348/check-holesky.sh \
> check-holesky.sh
@samcm
samcm / report.html
Created May 14, 2026 09:33
ClickHouse skip-index benchmark for log substring search — tokenbf_v1 vs text() vs ngrambf_v1
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ClickHouse skip-index benchmark for log substring search</title>
<style>
:root {
--fg: #1a1a1a;
--muted: #666;
--line: #e3e3e3;