Categorygithub.com/obgnail/utils
repository
0.0.0-20241001045605-6d456e9b2279
Repository: https://github.com/obgnail/utils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

adb_element

简单封装 uiautomator, 便于 adb 使用

copy_in_cmd

将命令输出写到剪贴板,支持管道符。默认复制当前文件路径。

totalcmd_skip_register_page

跳过 total commander 的注册页面

multi_grep

使用 mutli_grep.sh ./ selenium cookie 快速构建出 grep -nirl "selenium" "./" | xargs -d '\n' grep -Hnil "cookie" 语句,搜索包含多个关键字的文件

graphql_parser

解析 graphQL,提高可读性

progress_bar

进度条

dockergo

使用如下命令快速构建出 docker run --rm --name golang -e GO111MODULE=auto -v /d/golang:/go golang:1.18 /bin/bash -c "cd /go/src/github.com/obgnail/tmp/go_test/temp_test && go run ../main.go"

D:\golang\src\github.com\obgnail\tmp\go_test\temp_test
$ dockergo run ..\main.go

my go get

go get 本质就是循环调用git clone -- https://github.com/tidwall/buntdb D:\golang\src\github.com\tidwall\buntdb 的过程。然而在国内总是失效,将https换成ssh就可以。 此工具快速构建git clone -- [email protected]:tidwall/buntdb.git D:\golang\src\github.com\tidwall\buntdb

$ mygo get github.com/tidwall/buntdb
git clone -- [email protected]:tidwall/buntdb.git D:\golang\src\github.com\tidwall\buntdb
Cloning into 'D:\golang\src\github.com\tidwall\buntdb'...

voiceLinks

fork 自 GreasyFork,添加了一些功能,个人使用的 DLsite 的油猴脚本:

  • mouseover:预览
  • mouseout:取消预览
  • click:跳转到 DLsite
  • dbclick:跳转到下载站点