Skip to content

Instantly share code, notes, and snippets.

View 9seconds's full-sized avatar
💭
I can't actively participate because of family reasons

Sergey Arkhipov 9seconds

💭
I can't actively participate because of family reasons
View GitHub Profile
@fiatjaf
fiatjaf / check_sig.go
Last active March 24, 2023 08:36 — forked from lsowen/check_sig.go
GPG signature verification in Go with a bunch of strings
package main [33/492]
import (
"fmt"
"strings"
"golang.org/x/crypto/openpgp"
)
func main() {
@sanchezzzhak
sanchezzzhak / clickhouse-get-tables-size.sql
Created January 18, 2018 13:43
clickhouse get tables size
SELECT table,
formatReadableSize(sum(bytes)) as size,
min(min_date) as min_date,
max(max_date) as max_date
FROM system.parts
WHERE active
GROUP BY table