Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am giedriuss on github.
  • I am stag1e2 (https://keybase.io/stag1e2) on keybase.
  • I have a public key ASBBakIoNtpHZN5bjjmtscal0d0xn_wC7SzfSHEii4ovqAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am stag1e on github.
  • I am stag1e2 (https://keybase.io/stag1e2) on keybase.
  • I have a public key ASBBakIoNtpHZN5bjjmtscal0d0xn_wC7SzfSHEii4ovqAo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am stag1e on github.
* I am stag1e2 (https://keybase.io/stag1e2) on keybase.
* I have a public key ASBBakIoNtpHZN5bjjmtscal0d0xn_wC7SzfSHEii4ovqAo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am stag1e on github.
  • I am stag1e2 (https://keybase.io/stag1e2) on keybase.
  • I have a public key ASBBakIoNtpHZN5bjjmtscal0d0xn_wC7SzfSHEii4ovqAo

To claim this, I am signing this object:

diff --git a/pkg/store/proxy_heap.go b/pkg/store/proxy_heap.go
index d354d4db..5161930b 100644
--- a/pkg/store/proxy_heap.go
+++ b/pkg/store/proxy_heap.go
@@ -9,6 +9,7 @@ import (
"fmt"
"io"
"sort"
+ "strings"
"sync"
// Copyright (c) The Thanos Authors.
// Licensed under the Apache License 2.0.
package extgrpc
import (
"context"
"fmt"
"sync"
import requests
import lxml.html
from lxml.cssselect import CSSSelector
import re
import requests
def check_url(url):
try:
return requests.head(url, timeout=1).status_code == 200
except: