1、git查看一个项目的代码贡献度:
git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -; done
2、
配置rocketMQ的log日志存储信息
# 存储路径
storePathRootDir=d:/logs/rocketmq/data/store
# commitLog 存储路径
storePathCommitLog=d:/logs/rocketmq/data/store/commitlog
# 消费队列存储
storePathConsumeQueue=d:/logs/rocketmq/data/store/consumequeue
# 消息索引存储路径
storePathIndex=d:/logs/rocketmq/data/store/index
# checkpoint 文件存储路径
storeCheckpoint=d:/logs/rocketmq/data/store/checkpoint
# abort 文件存储路径
abortFile=d:/logs/rocketmq/data/store/abort
# 限制的消息大小
maxMessageSize = 65536
3、清除Docker的数据
docker system prune -a
4、清除具体某一个端口号占用
netstat -ano | findstr :8081 文章来源:https://www.toymoban.com/news/detail-824807.html
taskkill /F /PID 18976文章来源地址https://www.toymoban.com/news/detail-824807.html
到了这里,关于杂七杂八的命令的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!