Skip to content

Instantly share code, notes, and snippets.

import java.io.File;
import java.math.BigInteger;
import java.util.*;
public class FilterVariants {
public static void main(String[] args) {
File file = new File("Unihan_Variants.txt");
Scanner scanner = null;
try {
scanner = new Scanner(file);
#!/bin/env bash
# Run this script everytime when modified the dashboard
# https://juejin.cn/post/7182369883462729783
url1=http://localhost:3000
url2=http://localhost:9090
key=[redacted]
mimirtool analyze grafana --address=$url1 --key=$key
mimirtool analyze prometheus --address=$url2 --grafana-metrics-file="metrics-in-grafana.json"

Keybase proof

I hereby claim:

  • I am libkoi on github.
  • I am satorik (https://keybase.io/satorik) on keybase.
  • I have a public key whose fingerprint is AB51 FAC6 8C6D 9256 13C1 2086 E875 B15E EAF9 7E8F

To claim this, I am signing this object:

@libkoi
libkoi / signbot.py
Last active February 7, 2022 00:58 — forked from zhuyifei1999/signbot.py
Commons Signbot code
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# DUAL LICENSED: You are free to choose either or both of below licenses:
#
# 1.
#
# Published by zhuyifei1999 (https://wikitech.wikimedia.org/wiki/User:Zhuyifei1999)
# under the terms of Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
# https://creativecommons.org/licenses/by-sa/3.0/