dd+grep查找大文件内容
dd if=my_big_file bs=1024 skip=3600000 count=1200 … 继续阅读 dd+grep查找大文件内容
python md5和base64Encoder
import hashlib import base64 def md5(plaintext): &… 继续阅读 python md5和base64Encoder
COALESCE与IFNULL函数
COALESCE 返回从左至右第一个非空表达式的值。 COALESCE(expr1, expr2, … 继续阅读 COALESCE与IFNULL函数
gitea创建分支
在分支搜索的下拉列表中,输入一个新的分支名称,下面就会出现一个创建分支的按钮
windows重置网络协议栈
管理员模式cmd中执行: ipconfig /release 删除当前的 IP 设置 ipconfi… 继续阅读 windows重置网络协议栈
Go 编写 shell 脚本软件包
github.com/fatih/color 是用于输出对应编码颜色的包。 github.com/s… 继续阅读 Go 编写 shell 脚本软件包
pom依赖本地jar包路径
<dependency> <groupId>com.huobi.sdk<… 继续阅读 pom依赖本地jar包路径
微信多开.bat
start C:\”Program Files (x86)”\Tencent\WeChat\WeCh… 继续阅读 微信多开.bat
go调用shell脚本
package main import ( “fmt” “os/exec” ) func main(… 继续阅读 go调用shell脚本
notepad++ 编辑器在行首、行尾替换字符
替换时候打开正则 行首^ 行尾$
MySQL随机取一条记录
SELECT * FROM `table` WHERE id >= (SELECT floor… 继续阅读 MySQL随机取一条记录
MIUI关闭广告
adb shell pm uninstall –user 0 com.miui.systemAdS… 继续阅读 MIUI关闭广告
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in
下载64位mingw: https://sourceforge.net/projects/mingw… 继续阅读 cc1.exe: sorry, unimplemented: 64-bit mode not compiled in
Deployment自定义时区
apiVersion: apps/v1 kind: Deployment metadata: lab… 继续阅读 Deployment自定义时区
go build : undefined: NewRouter
将路由信息从入口拿走后报错信息: ./main.go:12:7: undefined: NewRou… 继续阅读 go build : undefined: NewRouter
golang string和int类型相互转换
string转成int: int, err := strconv.Atoi(string) stri… 继续阅读 golang string和int类型相互转换
minio golang-client
文档: https://docs.min.io/cn/golang-client-quickstar… 继续阅读 minio golang-client
shell除法控制精度
#scale用来控制小数点后面保留的位数 usdt_general_amount=`echo “sc… 继续阅读 shell除法控制精度
MySQL存在则更新不存在就插入
MySQL replace into 三种形式: replace into tbl_name(col… 继续阅读 MySQL存在则更新不存在就插入