I hereby claim:
- I am ionling on github.
- I am ionling (https://keybase.io/ionling) on keybase.
- I have a public key whose fingerprint is D71D E310 B082 F321 BCE9 5C00 9E38 C298 6D1A 3C93
To claim this, I am signing this object:
| package main | |
| import ( | |
| "context" | |
| "database/sql" | |
| "flag" | |
| "fmt" | |
| "log/slog" | |
| "math/rand" | |
| "os" |
| package health | |
| import ( | |
| "context" | |
| khttp "github.com/go-kratos/kratos/v2/transport/http" | |
| ) | |
| type Health struct { | |
| checkers []Checker |
I hereby claim:
To claim this, I am signing this object:
| package channel | |
| import ( | |
| "sync" | |
| "time" | |
| ) | |
| type Channel struct { | |
| lock sync.Mutex | |
| value interface{} |
| ;; Require golines tool. | |
| ;; See https://github.com/segmentio/golines | |
| (defun v-go-shorten-lines () | |
| "Shorten long lines in current file." | |
| (interactive) | |
| (save-buffer) | |
| (shell-command | |
| (format "golines --no-reformat-tags -m %s -w %s" | |
| fill-column buffer-file-name))) |
| import functools | |
| from enum import Enum | |
| from rest_framework.response import Response | |
| class BadRequest(Response): | |
| """400 Bad Request | |
| May be used to indicate nonspecific failure. | |
| 400 is the generic client-side error status, used when no other 4xx error |
| /* ==UserStyle== | |
| @name TestLink | |
| @namespace github.com/openstyles/stylus | |
| @version 20.2.13 | |
| @description Fluent design for TestLink | |
| @author Vision | |
| @preprocessor less | |
| ==/UserStyle== */ | |
| @-moz-document domain("testlink.xsky.com") { | |
| // Exclude login page |
| import random | |
| import string | |
| def random_str(prefix="", size=10) -> str: | |
| """Generate random string with given prefix. | |
| Args: | |
| prefix : Prefix of string | |
| size : Random string's total size |