I hereby claim:
- I am westh on github.
- I am westh (https://keybase.io/westh) on keybase.
- I have a public key ASBDkiKZ-omaL9-6sgT--lQPOfUpDd_kOdeybwrJwkX0gAo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
ips=$(curl -s https://grafana.com/api/hosted-metrics/source-ips.txt) | |
declare -A country_code_to_ip_map | |
for ip in $ips; do | |
country=$(curl -s https://ipinfo.io/$ip/country) | |
country_code_to_ip_map[$country]="${country_code_to_ip_map[$country]} \"$ip\"" | |
done |
#!/bin/bash | |
servers=( | |
"Cloudflare:1.1.1.1" | |
"Google:8.8.8.8" | |
"Quad9:9.9.9.9" | |
"Verisign:64.6.65.6" | |
) | |
if [[ $# -eq 0 ]] ; then |
#!/bin/sh | |
# heavily inspired by @broofa's script and the default pre-commit sample | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then | |
against=HEAD | |
else | |
against=$(git hash-object -t tree /dev/null) | |
fi |
I hereby claim:
To claim this, I am signing this object: