Guanghu Domestic Migration a27e87cb99 chore: import sanitized domestic snapshot for REPO-007
Source snapshot: 97d7f0fae96dc04b7ddad56fc1db6a108ed662cc

[SEC-CLEAN] · pre-push-clean v1.0 · 109处敏感信息已自动转乱码
2026-07-17 15:59:55 +08:00

67 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 🔧 给铸渊的取码任务单 · 诺安系统软著源程序稿
<aside>
📦
**给铸渊的活**:从代码仓库里取出诺安系统的源代码,凑成软著要的「源程序稿」(前 30 页 + 后 30 页,共 60 页 PDF。下面脚本照跑几步就好。
**对应软件**:诺安宠物医院管理系统 V1.0
</aside>
## 📏 提交规格(先记牢)
-**前 30 页 + 后 30 页**,共 60 页(即前 1500 行 + 后 1500 行)
- 每页不少于 50 行;**不能有空白页**
- 代码总量不足 3000 行则**全部提交**
## 🪜 第一步·统计代码行数
```bash
find . \( -name "*.py" -o -name "*.tsx" -o -name "*.ts" -o -name "*.js" -o -name "*.sh" -o -name "*.sql" -o -name "*.json" -o -name "*.yaml" -o -name "*.yml" -o -name "*.md" \) \
-not -path "*/node_modules/*" -not -path "*/.next/*" -not -path "*/dist/*" \
| xargs wc -l | tail -1
```
## 🪜 第二步·合并代码
```bash
mkdir -p copyright-materials
find . \( -name "*.py" -o -name "*.tsx" -o -name "*.ts" -o -name "*.js" -o -name "*.sh" -o -name "*.sql" -o -name "*.json" -o -name "*.yaml" -o -name "*.yml" -o -name "*.md" \) \
-not -path "*/node_modules/*" -not -path "*/.next/*" -not -path "*/dist/*" \
| sort | while read f; do
echo "// ========== 文件:$f ==========" >> copyright-materials/all-source-code.txt
cat "$f" >> copyright-materials/all-source-code.txt
echo "" >> copyright-materials/all-source-code.txt
done
```
## 🪜 第三步·截前后各 30 页
```bash
head -n 1500 copyright-materials/all-source-code.txt > copyright-materials/前30页.txt
tail -n 1500 copyright-materials/all-source-code.txt > copyright-materials/后30页.txt
```
## 🪜 第四步·排版导 PDF
- 字体:宋体 或 Courier New
- 字号小四12pt
- 行距:固定值 20 磅
- 每页确保不少于 50 行
- 页眉:**诺安宠物医院管理系统 V1.0**
- 页脚:页码
- 分别导出为 PDF
## ✅ 交付物
- [x] 前 30 页源程序 PDF
- [x] 后 30 页源程序 PDF
- [ ] (若不足 3000 行)全部源程序 PDF
<aside>
🐾
铸渊把这 60 页 PDF 凑好,跟 [📘 软件说明书 · 诺安宠物医院管理系统(初稿)](%F0%9F%93%98%20%E8%BD%AF%E4%BB%B6%E8%AF%B4%E6%98%8E%E4%B9%A6%20%C2%B7%20%E8%AF%BA%E5%AE%89%E5%AE%A0%E7%89%A9%E5%8C%BB%E9%99%A2%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F%EF%BC%88%E5%88%9D%E7%A8%BF%EF%BC%89%20db3c214ee7a549f69227334dbdcb4ec5.md) 一起传到版权中心,就能提交了。
</aside>