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
| nc: 1 | |
| names: ['go'] | |
| roboflow: | |
| license: CC BY 4.0 | |
| project: go-oomtd-ttelo | |
| url: https://universe.roboflow.com/einsitang/go-oomtd-ttelo/dataset/1 | |
| version: 1 | |
| workspace: einsitang | |
| test: test/images | |
| train: train/images |
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
| #!/bin/bash | |
| # 显示用法信息 | |
| usage() { | |
| echo "用法: $0 [选项] <文件或目录>" | |
| echo "选项:" | |
| echo " -b, --backup 备份原文件(添加 .bak 后缀)" | |
| echo " -h, --help 显示帮助信息" | |
| exit 1 | |
| } |
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
| Install displayplacer | |
| https://github.com/jakehilborn/displayplacer | |
| Install via Homebrew with: | |
| #> brew tap jakehilborn/jakehilborn && brew install displayplacer | |
| If you don't have Homebrew installed, you can install displayplacer from their releases tab: | |
| https://github.com/jakehilborn/displayplacer/releases | |
| After the install is completed, set up your monitors how you would normally have them in your normal every day non-rotated arrangement, and then run the command: |
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 test | |
| type Handler func(str string) string | |
| type FuncMap map[string]Handler | |
| func aDo() { | |
| p := "message" | |
| S := "key" | |
| Fn := make(FuncMap) | |
| // 这里的[]是取下标 |
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
| // 使用前先安装 md5 模块 : npm install md5 | |
| const md5 = require("md5") | |
| // 时间戳截取长度 , 从后向前截取 | |
| const LENGTH = 6 | |
| // check proof of work data | |
| const checkPow = (randomTxt, timestamp) => { | |
| let [numStr] = getTimeState(timestamp) | |
| let randMd5Str = md5(randomTxt) |