12 2023 档案
摘要:git-code-specific-time-of-day.sh #!/bin/bash total_count=0 # 获取最早的提交日期 first_commit_date=$(git log --pretty=format:'%ad' --date=format:'%Y-%m-%d' | so
阅读全文
摘要:git-code-user-commit-stats.sh #!/bin/sh # 请在 unix 终端或 git-bash 中运行此脚本 printf "\n1. 项目成员数量:"; git log --pretty='%aN' | sort -u | wc -l printf "\n\n2. 按
阅读全文
摘要:# $binary_remote_addr:表示使用客户端IP地址作为匹配键。 # zone=mylimit:10m:定义了一个名为mylimit的共享内存区域,大小为10MB。 # rate=1r/s:设置每秒最多允许1个请求。 # 这个指令通常与limit_req指令一起使用,用于限制特定URL
阅读全文