from https://zhuanlan.zhihu.com/p/77177160
{"word": "hello",
"source": [ {
"firstName": "John",
},
{
"firstName": "Hunter",
},
{
"firstName": "Tony",
}]
}
from https://zhuanlan.zhihu.com/p/77177160
{"word": "hello",
"source": [ {
"firstName": "John",
},
{
"firstName": "Hunter",
},
{
"firstName": "Tony",
}]
}
把常用命令用脚本简化
[code]
#!/bin/sh
if [ $# -lt 2 ]; then
echo "USAGE: $0 <logs|pod|search> <podname>"
exit 0
fi
if [ $1 = "search" ];then
kubectl get -n <namespace> -o wide pods|grep $2
elif [ $1 = "pod" ];then
kubectl describe pod -n <namespace> $2
elif [ $1 = "logs" ];then
kubectl logs -n <namespace> -f $2
elif [ $1 = "cmd" ];then
kubectl exec -it -n <namespace> $2 — /bin/bash
elif [ $1 = "restart" ];then
#kubectl get pod $2 -n <namespace> -o yaml |kubectl replace –force -f –
kubectl rollout restart deployment -n <namespace> $2
fi
[/code]
from https://blog.csdn.net/lookingatsky/article/details/103760372
使用二进制编辑器修改nslicense.dll文件
步骤3:搜索“7F 0C 81 F9 80 33 E1 01 0F 86 81”
步骤4:修改“86”为“83”
步骤5:保存文件
参考:
https://blog.csdn.net/A_BlackMoon/article/details/79998515
https://blog.csdn.net/txl199106/article/details/79266785
https://zhidao.baidu.com/question/233580687.html
批处理知识:
1. 使用set local enabledelayedexpansion之后,局部变量要使用 !var!方式引用
2. %%~i 表示完整路径的文件名, %%~nxi表示不带路径的文件名
3. 使用 set nfn=%nfn:你要排除的字符串=% 来替换掉想要去除的字符或字符串
完整批处理脚本如下:
参考:http://www.voidcn.com/article/p-qjobbzbr-byt.html
某些嵌入式系统播放器可能不支持MP4格式下不同的major_brand(参考:https://www.it1352.com/751868.html),这时可以用:
-vpre normal
参数转化一下MP4,新版ffmpeg将-vpre参数更改为 -preset medium ,批量转化脚本如下:
Powered by WordPress