multiarch/crossbuild | prefix | testman | zapfilter | protoc-gen-gotemplate pathwar/pathwar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + -== ==| | |
| ( <*> <*> ||// | |
| | | Hello! _||/__ | |
| | __| \| ||| | |
| | +++ \ / | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BEGIN MESSAGE. | |
| iT8KwWYir3jBZHL MO5lAw3kEu7qMfk AlMylg0u9T0S8dW sIfXOCVn91WPJrC | |
| usKPqEPepyPGVN9 RKgAI0YLtPcTCKq 6Xr2MZHgg4UzZLN ZyB0Lq5OvU5P6Li | |
| elKzvkDvqO2nC4g qu8e0LjbSBOtbvR v4GYHqG2N5LQXxJ K3Nj60k5wL4KVQj | |
| h2e2zvnREEkCbNL z5KmWPFYCZPvsVI ipJt. | |
| END MESSAGE. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| func main() { | |
| // write should never block |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PROTOS_SRC := $(wildcard ./api/*.proto) | |
| GEN_SRC := $(PROTOS_SRC) Makefile | |
| GEN_SUM := gen.sum | |
| GO_PKG := moul.io/test | |
| GO_DIR := ./go | |
| .PHONY: clean | |
| clean: | |
| rm -f gen.sum $(wildcard *.swagger.json) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export IPFS_HASH=QmZXiDQny5yzxCB3kVFEh8ftBgT9nd4nNb5JVZnwkwgT9Z | |
| for url in $(curl -s https://ipfs.github.io/public-gateway-checker/gateways.json | jq -r '.[]' | sed "s/:hash/$IPFS_HASH/"); do | |
| (curl --max-time 10 $url > /dev/null &) | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 12 21 | |
| 23 32 | |
| 34 43 | |
| 45 54 | |
| 56 65 | |
| 67 76 | |
| 78 87 | |
| 89 98 | |
| 13 31 | |
| 24 42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "fmt" | |
| func isrev(a, b int) bool { | |
| astr := fmt.Sprintf("%d", a) | |
| bstr := fmt.Sprintf("%d", b) | |
| arev := astr[1:2] + astr[0:1] | |
| brev := bstr[1:2] + bstr[0:1] | |
| return a != b && (astr == brev || bstr == arev) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a | b | c | d | e | |
|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | |
| 6 | 7 | 8 | 9 | 10 |