Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html><html><head> <meta charset="utf-8"/> <title>Chat GPT: New Language</title> <meta name="generator" content="chatGPT Saving Bookmark"/><style>body { background-color: rgb(32,33,35); color: rgb(236,236,241); font-size: 16px; font-family: sans-serif; line-height: 28px; margin: 0;}body > .w-full { padding: 30px;}/* prompt */body > .w-full:nth-child(2n+1) { background: rgb(52,53,65);}/* response */body > .w-full:nth-child(2n+2) { background: rgb(68,70,84);}a, a:visited { color: #7792cd;}pre { margin: 0 0 1em 0; display: inline-block; width: 100%;}pre code.hljs { margin-bottom: 1em; border-radius: 5px;}.whitespace-pre-wrap { white-space: pre-wrap;}.flex-col { max-width: 850px; margin: 0px auto;}</style><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/styles/default.min.css"/></head><body><div class="flex w-full items-center justify-center gap-1 border-b border-black/10 bg-gray-50 p-3 text-gray-500 dark:border-gray-900/50 dark:bg-gray-70
<!DOCTYPE html><html><head> <meta charset="utf-8"/> <title>Chat GPT: Histogram bucket label meaning.</title> <meta name="generator" content="chatGPT Saving Bookmark"/><style>body { background-color: rgb(32,33,35); color: rgb(236,236,241); font-size: 16px; font-family: sans-serif; line-height: 28px; margin: 0;}body > .w-full { padding: 30px;}/* prompt */body > .w-full:nth-child(2n+1) { background: rgb(52,53,65);}/* response */body > .w-full:nth-child(2n+2) { background: rgb(68,70,84);}a, a:visited { color: #7792cd;}pre { margin: 0 0 1em 0; display: inline-block; width: 100%;}pre code.hljs { margin-bottom: 1em; border-radius: 5px;}.whitespace-pre-wrap { white-space: pre-wrap;}.flex-col { max-width: 850px; margin: 0px auto;}</style><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/styles/default.min.css"/></head><body><div class="flex w-full items-center justify-center gap-1 border-b border-black/10 bg-gray-50 p-3 text-gray-500 dark:border-gray-900
package main
import (
"fmt"
"net/http"
"time"
"github.com/prometheus/client_golang/prometheus/promhttp"
)
package main
import (
"fmt"
"net/http"
"time"
"github.com/prometheus/client_golang/prometheus/promhttp"
)

Keybase proof

I hereby claim:

  • I am bcotton on github.
  • I am bcotton (https://keybase.io/bcotton) on keybase.
  • I have a public key ASDTpnpiZ520sRotYjBE3DiI33J16ocwmrxo6wVYhExvLwo

To claim this, I am signing this object:

@bcotton
bcotton / main.go
Created February 4, 2018 21:48
Testing range queries
// dep init
// go build && ./bigtable-testing -project <project_id> -cluster cortex -tbl cortex
package main
import (
"flag"
"log"
"strings"
"time"
(ns hdr-histogram-profile.core
(:require [taoensso.timbre :as timbre])
(:import [org.HdrHistogram Histogram HistogramLogWriter]
[java.nio ByteBuffer]))
(timbre/refer-timbre)
(defnp record [^Histogram h value]
(.recordValue h value)
h)
@bcotton
bcotton / gist:81132ba976d20696a0b2
Created February 20, 2015 04:13
random emacs stuff
(vendor 'rainbow-delimiters)
(vendor 'undo-tree)
(set-face-background 'show-paren-match "#6c6c6c")
(set-face-foreground 'show-paren-match 'nil)
;; (set-face-foreground 'org-block-begin-line "grey31")
;; (set-face-foreground 'org-block-end-line "grey31")
;; (set-face-foreground 'org-block-background "grey14")