diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..76251cd --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +# Docker 构建上下文排除(CI 克隆的仓库本就不含这些,本地构建更需排除) +node_modules/ +dist/ +.git/ +.gitea/ +*.bak diff --git a/.gitignore b/.gitignore index d640920..a010f36 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ blob-report/ # Generated output resume_output.jpg +dist/ # Fonts (downloaded/generated) fonts/ diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..7549542 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmmirror.com diff --git a/Dockerfile b/Dockerfile index 84c0a75..3977f06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,27 @@ +# ---- 构建阶段:由 data/ + templates/ 生成静态站点 ---- +FROM node:20-alpine AS build +WORKDIR /app + +# 跳过 Playwright 浏览器下载(构建无需浏览器) +ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 + +# 国内镜像安装依赖(CI runner 在阿里云) +RUN npm install -g pnpm@11 --registry=https://registry.npmmirror.com + +COPY package.json pnpm-lock.yaml .npmrc ./ +RUN pnpm install --frozen-lockfile + +COPY . . +RUN node scripts/build.mjs && node scripts/check.mjs + +# ---- 运行阶段:Nginx 托管 dist/ ---- FROM nginx:alpine # 复制 Nginx 配置 COPY nginx.conf /etc/nginx/conf.d/default.conf -# 复制静态资源 -COPY css/ /usr/share/nginx/html/css/ -COPY img/ /usr/share/nginx/html/img/ -COPY resume/ /usr/share/nginx/html/resume/ -COPY other/ /usr/share/nginx/html/other/ -COPY txt/ /usr/share/nginx/html/txt/ -COPY soe/ /usr/share/nginx/html/soe/ +# 复制构建产物(HTML + txt + css + img) +COPY --from=build /app/dist/ /usr/share/nginx/html/ # 暴露端口 EXPOSE 80 diff --git a/README.md b/README.md index 51452c9..e66d484 100644 --- a/README.md +++ b/README.md @@ -1,60 +1,86 @@ # 何朝晖 - 简历项目 -在线简历部署项目,支持多岗位简历,使用 Docker + Nginx 部署,Gitea Actions 自动化 CI/CD。 +在线简历部署项目。**两维度四变体**(企业:私企/国企 × 岗位:全栈后端/技术支持交付),数据文件 + 模板构建生成静态站点,Docker + Nginx 部署,Gitea Actions 自动化 CI/CD。 + +## 核心设计 + +简历内容写在 `data/`(YAML),构建时按 **base → 企业维度 → 岗位维度 → 变体覆盖** 四层合并,生成 4 份 HTML 简历 + 4 份纯文本简历 + 导航页: + +- **改一处,全变体同步**:手机号、教育经历、实习/项目事实(`data/base.yaml`、`data/experiences/`)只有一份来源; +- **维度内共享字段**:私企两份简历共享 `data/companies/private.yaml`(版式与侧重),开发两份简历共享 `data/roles/dev.yaml`(求职意向、技能);实习/项目的工作内容默认写在 `data/experiences/`(4 份共享,支持岗不另行改写经历); +- **变体级覆盖**:同一组合确需不同措辞时,写进 `data/variants/<企业>-<岗位>.yaml` 的 `overrides`(仅覆盖个别字段,不整体复制)。 ## 目录结构 ``` resume/ -├── .gitea/workflows/deploy.yml # Gitea Actions CI/CD 配置 -├── Dockerfile # Docker 构建文件 -├── nginx.conf # Nginx 路由配置 +├── data/ # ★ 内容唯一来源(日常改简历只动这里) +│ ├── base.yaml # 全局共享事实:姓名/联系方式/教育/荣誉/证书/学生工作/社会实践 +│ ├── companies/ # 企业维度:private.yaml(私企)/ soe.yaml(国企) +│ ├── roles/ # 岗位维度:dev.yaml(全栈后端)/ support.yaml(技术支持交付) +│ ├── experiences/ # 事实骨架:每段实习/项目/训练营一份(公司、时间、简介、链接) +│ └── variants/ # 变体清单:板块顺序 + meta + 少量组合级覆盖 +├── templates/ # Handlebars 模板(html/ 板块、txt/ 板块、页面壳、导航页) ├── css/ -│ └── resume.css # 全局样式(所有简历共享) -├── img/ # 公共图片资源(所有简历共享) -├── txt/ -│ └── index.html # 纯文本简历选择页 → /txt -├── resume/ -│ ├── index.html # 主简历 → /resume -│ └── index.txt # 主简历纯文本 → /txt/resume -├── soe/ -│ ├── index.html # 央国企简历 → /soe -│ ├── index.txt # 央国企简历纯文本 → /txt/soe -│ └── resume.css # 央国企简历样式 -└── other/ - ├── index.html # 导航页 → /other - ├── infra-engineer/ - │ └── index.html # 基础架构工程师简历 → /other/infra-engineer - └── security-engineer/ - └── index.html # 网络安全工程师简历 → /other/security-engineer +│ ├── base.css # 共享布局(字号用 CSS 变量) +│ ├── theme-private.css # 私企主题(紧凑、荣誉两列、证书链接) +│ ├── theme-soe.css # 国企主题(放大、证件照、荣誉带日期) +│ └── nav.css # 导航页 / 纯文本选择页 +├── scripts/ +│ ├── build.mjs # 构建:合并数据 → 渲染 → dist/ +│ ├── check.mjs # 自检:必填字段/跨层同键/占位符残留/产物完整性 +│ ├── serve.mjs # 本地预览(模拟 nginx 路由) +│ └── lib.mjs # 数据加载与合并(共用) +├── img/ # 公共图片资源 +├── dist/ # 构建产物(不入库,Docker 构建时生成) +├── nginx.conf # Nginx 路由 +├── Dockerfile # 多阶段:node 构建 → nginx 托管 +└── .gitea/workflows/deploy.yml # Gitea Actions CI/CD(无需改动) ``` ## 访问地址 | 页面 | 地址 | |------|------| -| 主简历 | http://47.121.181.112:8080/resume | -| 央国企简历 | http://47.121.181.112:8080/soe | -| 纯文本简历选择页 | http://47.121.181.112:8080/txt | -| 主简历纯文本 | http://47.121.181.112:8080/txt/resume | -| 央国企简历纯文本 | http://47.121.181.112:8080/txt/soe | -| 导航页 | http://47.121.181.112:8080/other/ | -| 基础架构工程师 | http://47.121.181.112:8080/other/infra-engineer/ | -| 网络安全工程师 | http://47.121.181.112:8080/other/security-engineer/ | +| 简历导航(根路由,默认推荐 私企-全栈) | http://47.121.181.112:8080/ | +| 私企 · 全栈/后端开发(默认版) | http://47.121.181.112:8080/private/dev/ | +| 私企 · 技术支持/交付实施 | http://47.121.181.112:8080/private/support/ | +| 国企 · 全栈/后端开发 | http://47.121.181.112:8080/soe/dev/ | +| 国企 · 技术支持/交付实施 | http://47.121.181.112:8080/soe/support/ | +| 纯文本选择页 | http://47.121.181.112:8080/txt | +| 纯文本简历(4 份) | http://47.121.181.112:8080/txt/private/dev 等 | -## 添加新岗位简历 +旧地址 301 兼容(面试官已收到的链接不失效):`/resume` → `/private/dev/`,`/soe` → `/soe/dev/`,`/txt/resume`、`/txt/soe`、`/other/` 等同理。 -1. 在 `other/` 下新建目录,如 `other/frontend-dev/` -2. 复制任意一份已有简历作为模板 -3. 修改目标职位、技术栈标签、线上简历链接等 -4. 更新 `other/index.html` 导航页,添加新简历链接 -5. 更新 `nginx.conf`,添加对应的 location 块 -6. 推送到 main 分支,自动部署 +## 日常维护 + +```bash +# 1. 改内容:只编辑 data/ 下的 YAML +# - 改手机号/学校/奖项 → data/base.yaml +# - 改某段经历的公司/时间/简介 → data/experiences/.yaml +# - 改开发岗措辞/技能 → data/roles/dev.yaml(两份开发简历同步生效) +# - 改某段经历的工作内容 → data/experiences/.yaml(默认 4 份简历共享) +# - 改国企版式/侧重 → data/companies/soe.yaml + +# 2. 本地构建 + 自检 + 预览 +pnpm install # 首次 +pnpm run serve # 构建并在 http://localhost:4173/ 预览 + +# 3. 提交推送 main,Gitea Actions 自动构建镜像并部署 +``` + +新增岗位/企业维度:在 `data/roles/` 或 `data/companies/` 加文件,在 `data/variants/` 加对应清单(声明板块顺序),重新构建即可;导航页、路由、纯文本版全部自动生成。 + +## 板块与字段约定 + +- 变体清单的 `sections` 决定该简历显示哪些板块、什么顺序(`header` 基本信息恒在首位); +- 字段归属:事实与默认措辞 → `base.yaml`/`experiences/`;展示方式 → `companies/`;求职意向/技能 → `roles/`;措辞的岗位/组合级差异 → `roles/` 或 `variants/*-*.yaml` 的 `overrides`(以 `experiences..bullets` 等键覆盖); +- `pnpm run check` 会对跨层同键(改一层被另一层覆盖的风险)和 override 数量给出警告。 ## 部署方式 推送到 `main` 分支后,Gitea Actions 自动执行: 1. 克隆仓库 -2. 构建 Docker 镜像(nginx:alpine) +2. 构建 Docker 镜像(多阶段:node 构建 dist → nginx:alpine 托管) 3. 停止旧容器,启动新容器 4. 映射端口 8080 → 80 diff --git a/soe/resume.css b/css/base.css similarity index 66% rename from soe/resume.css rename to css/base.css index 5290eee..fbae6ba 100644 --- a/soe/resume.css +++ b/css/base.css @@ -1,3 +1,28 @@ +/* css/base.css —— 所有简历共享的布局与组件(字号由主题变量控制) */ +:root { + /* 字号基准(私企主题为默认值,国企主题整体放大) */ + --fs-body: 12px; + --fs-name: 28px; + --fs-contact: 12px; + --fs-section: 14px; + --fs-edu-school: 14px; + --fs-badge: 10px; + --fs-meta: 13px; + --fs-items: 13px; + --fs-honor: 13px; + --fs-honor-badge: 12px; + --fs-exp-company: 14px; + --fs-exp-position: 12px; + --fs-intro: 11px; + --fs-intro-label: 10px; + --fs-proj-name: 14px; + --fs-proj-role: 12px; + --fs-proj-link: 12px; + --fs-proj-tag: 10px; + --fs-proj-intro: 13px; + --fs-proj-work-title: 13px; +} + * { margin: 0; padding: 0; @@ -9,7 +34,7 @@ body { background: #ffffff; color: #222222; line-height: 1.4; - font-size: 14px; + font-size: var(--fs-body); } .page { @@ -23,28 +48,10 @@ body { /* Header */ .header { margin-bottom: 8px; - position: relative; - /* 为右侧证件照预留宽度 */ - padding-right: 102px; -} - -.header-main { - min-width: 0; -} - -.id-photo { - position: absolute; - top: 0; - right: 0; - width: 78px; - height: 100%; - object-fit: cover; - object-position: center top; - border: 1px solid #e2e2e2; } .name { - font-size: 30px; + font-size: var(--fs-name); font-weight: 800; color: #222222; margin-bottom: 3px; @@ -52,7 +59,7 @@ body { } .contact-info { - font-size: 14px; + font-size: var(--fs-contact); color: #222; line-height: 1.45; } @@ -69,25 +76,43 @@ body { align-items: center; } -.position-line { - display: flex; - align-items: center; - margin-top: 1px; +.intent-item { + white-space: nowrap; + margin-right: 8px; +} + +.intent-item:last-child { + margin-right: 0; +} + +.intent-num { + color: #4478DF; } .website-line { display: flex; align-items: center; + flex-wrap: wrap; margin-top: 1px; } +.link-item { + white-space: nowrap; + margin-right: 12px; +} + +.link-url { + color: #4478DF; + text-decoration: none; +} + /* Section */ .section { margin-bottom: 6px; } .section-title { - font-size: 16px; + font-size: var(--fs-section); font-weight: 700; color: #4478DF; padding: 3px 10px; @@ -106,14 +131,14 @@ body { } .edu-school { - font-size: 16px; + font-size: var(--fs-edu-school); font-weight: 700; color: #222; } .edu-badge { display: inline-block; - font-size: 12px; + font-size: var(--fs-badge); color: #4478DF; border: 1px solid #4478DF; border-radius: 4px; @@ -124,67 +149,30 @@ body { } .edu-major { - font-size: 15px; + font-size: var(--fs-meta); color: #888; margin-left: 10px; } .edu-degree { - font-size: 15px; + font-size: var(--fs-meta); color: #888; margin-left: 10px; } .edu-date { - font-size: 15px; + font-size: var(--fs-meta); color: #888; white-space: nowrap; } -/* Campus */ -.campus-line { - margin-left: 12px; - font-size: 15px; - color: #252525; - line-height: 1.3; - display: flex; - align-items: baseline; - flex-wrap: wrap; -} - -.campus-name { - white-space: nowrap; -} - -.campus-sep { - color: #888; - margin: 0 8px; -} - -.campus-featured { - margin-left: 12px; - margin-top: 4px; -} - -.campus-featured .exp-date { - margin-left: auto; -} - -/* 金山条目要点:左侧虚线连贯分割 */ -.campus-featured .exp-items { - margin-left: 6px; - padding-left: 18px; - border-left: 1px dashed #b0b0b0; - line-height: 1.35; -} - -/* Honors */ +/* Honors(共用条目样式;两列布局见 theme-private) */ .honor-item { display: flex; align-items: baseline; flex-wrap: wrap; margin-bottom: 2px; - font-size: 15px; + font-size: var(--fs-honor); line-height: 1.45; } @@ -203,20 +191,11 @@ body { min-width: 52px; text-align: right; margin-left: 4px; - font-size: 14px; + font-size: var(--fs-honor-badge); color: #888; white-space: nowrap; } -.honor-date { - font-size: 15px; - color: #888; - white-space: nowrap; - margin-left: 4px; - min-width: 56px; - text-align: right; -} - /* Experience */ .exp-header { display: flex; @@ -224,21 +203,25 @@ body { margin-bottom: 1px; } +.exp-gap { + margin-top: 10px; +} + .exp-company { - font-size: 16px; + font-size: var(--fs-exp-company); font-weight: 700; color: #222; } .exp-date { - font-size: 15px; + font-size: var(--fs-meta); color: #888; white-space: nowrap; margin-left: 12px; } .exp-position { - font-size: 15px; + font-size: var(--fs-exp-position); color: #888; flex: 1; margin-left: 10px; @@ -246,7 +229,7 @@ body { .exp-items { margin-left: 12px; - font-size: 15px; + font-size: var(--fs-items); color: #252525; line-height: 1.45; } @@ -257,11 +240,11 @@ body { margin-bottom: 0px; } -/* 单位简介 */ +/* 单位简介 / 项目简介(蓝灰色引用框) */ .exp-intro { margin: 3px 0 4px 12px; - padding: 3px 8px; - font-size: 13px; + padding: 2px 8px; + font-size: var(--fs-intro); line-height: 1.5; color: #656464; background: #F5F7FB; @@ -271,7 +254,7 @@ body { .exp-intro-label { display: inline-block; - font-size: 12px; + font-size: var(--fs-intro-label); font-weight: 700; color: #4478DF; margin-right: 6px; @@ -293,18 +276,18 @@ body { } .proj-name { - font-size: 16px; + font-size: var(--fs-proj-name); font-weight: 700; color: #222; } .proj-role { - font-size: 14px; + font-size: var(--fs-proj-role); color: #888; } .proj-date { - font-size: 15px; + font-size: var(--fs-meta); color: #888; white-space: nowrap; } @@ -313,7 +296,7 @@ body { display: flex; justify-content: space-between; align-items: center; - font-size: 14px; + font-size: var(--fs-proj-link); margin-bottom: 2px; } @@ -325,7 +308,7 @@ body { .proj-tag { display: inline-block; - font-size: 12px; + font-size: var(--fs-proj-tag); color: #4478DF; border: 1px solid #4478DF; border-radius: 3px; @@ -333,30 +316,17 @@ body { line-height: 1.4; } +.tag-gap { + margin-right: 4px; +} + .proj-link { color: #4478DF; text-decoration: none; } -.proj-intro { - font-size: 15px; - color: #252525; - line-height: 1.45; - margin-bottom: 3px; - border: 1px dashed #808080; - border-radius: 4px; - padding: 4px 8px; - text-align: center; -} - -.proj-desc { - color: #656464; - display: block; - text-indent: 24px; -} - .proj-work-title { - font-size: 15px; + font-size: var(--fs-proj-work-title); font-weight: 700; color: #222; margin-bottom: 2px; @@ -364,7 +334,7 @@ body { .proj-work-items { margin-left: 12px; - font-size: 15px; + font-size: var(--fs-items); color: #252525; line-height: 1.45; } @@ -375,10 +345,10 @@ body { margin-bottom: 0px; } -/* Skills */ +/* Skills / 通用列表 */ .skill-items { margin-left: 12px; - font-size: 15px; + font-size: var(--fs-items); color: #252525; line-height: 1.45; } @@ -426,7 +396,32 @@ body { height: 13px; } -/* Print styles - force background colors to display */ +.company-logo.lark { + height: 20px; +} + +/* 页脚(仅屏幕显示,打印隐藏) */ +.page-footer { + display: flex; + gap: 16px; + align-items: center; + margin-top: 10px; + padding-top: 6px; + border-top: 1px dashed #d5d5d5; + font-size: 11px; + color: #999; +} + +.page-footer a { + color: #4478DF; + text-decoration: none; +} + +.footer-hint { + margin-left: auto; +} + +/* Print:去掉底色、条目不跨页截断、隐藏页脚链接 */ @media print { * { -webkit-print-color-adjust: exact !important; @@ -434,7 +429,14 @@ body { color-adjust: exact !important; } - /* 两页双面排版:标题不落单在页尾,条目不跨页截断 */ + .section-title { + background-color: #ffffff !important; + } + + .exp-intro { + background: #ffffff !important; + } + .section-title, .edu-header, .exp-header, @@ -452,4 +454,8 @@ body { .skill-items li { break-inside: avoid; } + + .page-footer { + display: none !important; + } } diff --git a/css/nav.css b/css/nav.css new file mode 100644 index 0000000..fd77902 --- /dev/null +++ b/css/nav.css @@ -0,0 +1,234 @@ +/* css/nav.css —— 导航页 / 纯文本选择页 */ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: "Microsoft YaHei", Arial, sans-serif; + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; + background: #f5f7fa; +} + +.nav-wrap { + text-align: center; + padding: 40px; + background: #fff; + border-radius: 12px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); + max-width: 720px; + width: 92%; +} + +h1 { + font-size: 28px; + font-weight: 700; + color: #222; + margin-bottom: 8px; +} + +.subtitle { + font-size: 14px; + color: #888; + margin-bottom: 32px; +} + +/* 2×2 矩阵 */ +.matrix { + display: grid; + grid-template-columns: max-content 1fr 1fr; + gap: 12px; + text-align: left; +} + +.matrix-corner { + min-width: 110px; +} + +.matrix-colhead { + font-size: 13px; + font-weight: 700; + color: #4478DF; + text-align: center; + padding-bottom: 2px; + border-bottom: 2px solid #EEF3FF; +} + +.matrix-rowhead { + font-size: 13px; + font-weight: 700; + color: #4478DF; + display: flex; + align-items: center; + justify-content: flex-end; + padding-right: 10px; + text-align: right; +} + +.card { + padding: 16px 18px; + background: #f8fafc; + border: 1px solid #e2e8f0; + border-radius: 8px; + transition: all 0.2s ease; +} + +.card:hover { + background: #EEF3FF; + border-color: #4478DF; + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(68, 120, 223, 0.15); +} + +.card-default { + border-color: #4478DF; + background: #EEF3FF; +} + +.card-title { + font-size: 15px; + font-weight: 600; + color: #222; +} + +.badge { + display: inline-block; + margin-left: 8px; + padding: 1px 8px; + font-size: 11px; + font-weight: 400; + color: #fff; + background: #4478DF; + border-radius: 10px; + vertical-align: middle; +} + +.card-desc { + font-size: 12px; + color: #888; + margin-top: 6px; +} + +.card-links { + margin-top: 12px; + display: flex; + align-items: center; + gap: 14px; +} + +.card-link { + color: #4478DF; + text-decoration: none; + font-size: 14px; + font-weight: 600; +} + +.card-link:hover { + text-decoration: underline; +} + +.card-link-sub { + color: #888; + text-decoration: none; + font-size: 12px; +} + +.card-link-sub:hover { + color: #4478DF; +} + +/* 纯文本选择页列表 */ +.resume-list { + list-style: none; + padding: 0; + margin: 0; + text-align: left; +} + +.resume-list li { + margin-bottom: 16px; +} + +.resume-list a { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16px 20px; + background: #f8fafc; + border: 1px solid #e2e8f0; + border-radius: 8px; + text-decoration: none; + color: #222; + transition: all 0.2s ease; +} + +.resume-list a:hover { + background: #EEF3FF; + border-color: #4478DF; + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(68, 120, 223, 0.15); +} + +.resume-title { + font-size: 16px; + font-weight: 600; +} + +.resume-desc { + font-size: 12px; + color: #888; + margin-top: 4px; +} + +.arrow { + color: #4478DF; + font-size: 20px; +} + +.back-link { + display: inline-block; + margin-top: 24px; + color: #4478DF; + text-decoration: none; + font-size: 14px; +} + +.back-link:hover { + text-decoration: underline; +} + +/* 页脚 */ +.nav-footer { + margin-top: 36px; + padding-top: 16px; + border-top: 1px solid #e2e8f0; + font-size: 13px; + color: #666; +} + +.nav-links { + margin-top: 8px; + display: flex; + justify-content: center; + gap: 18px; +} + +.nav-links a { + color: #4478DF; + text-decoration: none; +} + +.nav-links a:hover { + text-decoration: underline; +} + +@media print { + .card-links, + .nav-footer { + display: none !important; + } +} diff --git a/css/resume.css b/css/resume.css deleted file mode 100644 index 8f3a18d..0000000 --- a/css/resume.css +++ /dev/null @@ -1,438 +0,0 @@ -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} - -body { - font-family: "Microsoft YaHei", Arial, sans-serif; - background: #ffffff; - color: #222222; - line-height: 1.4; - font-size: 12px; -} - -.page { - width: 794px; - min-height: 1123px; - margin: 0 auto; - padding: 12px 22px; - background: #ffffff; -} - -/* Header */ -.header { - margin-bottom: 8px; -} - -.name { - font-size: 28px; - font-weight: 800; - color: #222222; - margin-bottom: 3px; - letter-spacing: 1px; -} - -.contact-info { - font-size: 12px; - color: #222; - line-height: 1.45; -} - -.contact-line { - display: flex; - align-items: center; - gap: 18px; - margin-bottom: 1px; -} - -.contact-item { - display: flex; - align-items: center; -} - -.position-line { - display: flex; - align-items: center; - margin-top: 1px; -} - -.website-line { - display: flex; - align-items: center; - margin-top: 1px; -} - -/* Section */ -.section { - margin-bottom: 6px; -} - -.section-title { - font-size: 14px; - font-weight: 700; - color: #4478DF; - padding: 3px 10px; - border-left: 3px solid #4478DF; - background-color: #EEF3FF; - margin-bottom: 4px; - line-height: 1.3; -} - -/* Education */ -.edu-header { - display: flex; - justify-content: space-between; - align-items: baseline; - margin-bottom: 3px; -} - -.edu-school { - font-size: 14px; - font-weight: 700; - color: #222; -} - -.edu-badge { - display: inline-block; - font-size: 10px; - color: #4478DF; - border: 1px solid #4478DF; - border-radius: 4px; - padding: 1px 5px; - margin-left: 6px; - vertical-align: middle; - line-height: 1.4; -} - -.edu-major { - font-size: 13px; - color: #888; - margin-left: 10px; -} - -.edu-degree { - font-size: 13px; - color: #888; - margin-left: 10px; -} - -.edu-date { - font-size: 13px; - color: #888; - white-space: nowrap; -} - -.edu-items { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 2px 20px; - margin-left: 12px; - font-size: 13px; - color: #252525; - line-height: 1.45; - list-style: none; -} - -.edu-items li { - margin-left: 0; -} - -/* Honors */ -.honor-section { - display: flex; -} - -.honor-left { - width: 55%; - border-right: 1px dashed #ccc; - padding-right: 12px; -} - -.honor-right { - width: 45%; - padding-left: 12px; -} - -.honor-item { - display: flex; - align-items: baseline; - flex-wrap: wrap; - margin-bottom: 2px; - font-size: 13px; - line-height: 1.45; -} - -.honor-content { - color: #222; - flex: 1; - min-width: 0; -} - -.honor-right .honor-content { - display: flex; - align-items: center; -} - -.honor-right .honor-name { - flex: 1; -} - -.honor-name { - color: #222; -} - -.honor-badge { - display: inline-block; - min-width: 52px; - text-align: right; - margin-left: 4px; - font-size: 12px; - color: #888; - white-space: nowrap; -} - -.cert-link { - color: #4478DF; - text-decoration: none; - margin-left: 8px; - font-size: 13px; - white-space: nowrap; -} - -.honor-item .cert-link { - margin-left: 4px; -} - -.honor-date { - color: #888; - white-space: nowrap; - margin-left: 4px; - min-width: 56px; - text-align: right; -} - -/* Experience */ -.exp-header { - display: flex; - align-items: baseline; - margin-bottom: 1px; -} - -.exp-company { - font-size: 14px; - font-weight: 700; - color: #222; -} - -.exp-date { - font-size: 13px; - color: #888; - white-space: nowrap; - margin-left: 12px; -} - -.exp-position { - font-size: 12px; - color: #888; - flex: 1; - margin-left: 10px; -} - -.exp-items { - margin-left: 12px; - font-size: 13px; - color: #252525; - line-height: 1.45; -} - -.exp-items li { - list-style-type: disc; - margin-left: 6px; - margin-bottom: 0px; -} - -/* 单位简介 */ -.exp-intro { - margin: 3px 0 4px 12px; - padding: 2px 8px; - font-size: 11px; - line-height: 1.5; - color: #656464; - background: #F5F7FB; - border-left: 2px solid #B9C9EC; - border-radius: 2px; -} - -.exp-intro-label { - display: inline-block; - font-size: 10px; - font-weight: 700; - color: #4478DF; - margin-right: 6px; - white-space: nowrap; -} - -/* Project */ -.proj-header { - display: flex; - justify-content: space-between; - align-items: baseline; - margin-bottom: 1px; -} - -.proj-title-line { - display: flex; - align-items: baseline; - gap: 8px; -} - -.proj-name { - font-size: 14px; - font-weight: 700; - color: #222; -} - -.proj-role { - font-size: 12px; - color: #888; -} - -.proj-date { - font-size: 13px; - color: #888; - white-space: nowrap; -} - -.proj-link-line { - display: flex; - justify-content: space-between; - align-items: center; - font-size: 12px; - margin-bottom: 2px; -} - -.proj-tags { - display: flex; - gap: 4px; - flex-wrap: wrap; -} - -.proj-tag { - display: inline-block; - font-size: 10px; - color: #4478DF; - border: 1px solid #4478DF; - border-radius: 3px; - padding: 0px 4px; - line-height: 1.4; -} - -.proj-link { - color: #4478DF; - text-decoration: none; -} - -.proj-intro { - font-size: 13px; - color: #252525; - line-height: 1.45; - margin-bottom: 3px; - border: 1px dashed #b0b0b0; - border-radius: 4px; - padding: 4px 8px; - text-align: center; -} - -.proj-desc { - color: #656464; - display: block; - text-indent: 24px; -} - -.proj-work-title { - font-size: 13px; - font-weight: 700; - color: #222; - margin-bottom: 2px; -} - -.proj-work-items { - margin-left: 12px; - font-size: 13px; - color: #252525; - line-height: 1.45; -} - -.proj-work-items li { - list-style-type: decimal; - margin-left: 12px; - margin-bottom: 0px; -} - -/* Skills */ -.skill-items { - margin-left: 12px; - font-size: 13px; - color: #252525; - line-height: 1.45; -} - -.skill-items li { - list-style-type: disc; - margin-left: 6px; - margin-bottom: 0px; -} - -/* SVG Icons */ -.svg-icon { - width: 14px; - height: 14px; - fill: #4478DF; - vertical-align: middle; - margin-right: 5px; - flex-shrink: 0; -} - -/* Company Logo */ -.company-logo { - height: 16px; - vertical-align: middle; - margin-left: 4px; -} - -.company-logo.small { - height: 10px; -} - -.company-logo.icpc { - height: 22px; -} - -.company-logo.hust { - height: 22px; -} - -.company-logo.qiniu { - height: 14px; -} - -/* Print styles - force background colors to display */ -@media print { - * { - -webkit-print-color-adjust: exact !important; - print-color-adjust: exact !important; - color-adjust: exact !important; - } - - /* 标题不落单在页尾,条目不跨页截断 */ - .exp-header, - .proj-header { - break-after: avoid; - } - - .exp-intro, - .exp-items li { - break-inside: avoid; - } -} diff --git a/css/theme-private.css b/css/theme-private.css new file mode 100644 index 0000000..1bb88d0 --- /dev/null +++ b/css/theme-private.css @@ -0,0 +1,77 @@ +/* css/theme-private.css —— 私企主题:紧凑排版、荣誉两列、证书链接、在校经历网格 */ +:root { + --fs-body: 12px; + --fs-name: 28px; + --fs-contact: 12px; + --fs-section: 14px; + --fs-edu-school: 14px; + --fs-badge: 10px; + --fs-meta: 13px; + --fs-items: 13px; + --fs-honor: 13px; + --fs-honor-badge: 12px; + --fs-exp-company: 14px; + --fs-exp-position: 12px; + --fs-intro: 11px; + --fs-intro-label: 10px; + --fs-proj-name: 14px; + --fs-proj-role: 12px; + --fs-proj-link: 12px; + --fs-proj-tag: 10px; + --fs-proj-intro: 13px; + --fs-proj-work-title: 13px; +} + +/* 在校经历两列网格 */ +.edu-items { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 2px 20px; + margin-left: 12px; + font-size: var(--fs-items); + color: #252525; + line-height: 1.45; + list-style: none; +} + +.edu-items li { + margin-left: 0; +} + +/* 荣誉两列(左列带证书链接,右列纯展示) */ +.honor-section { + display: flex; +} + +.honor-left { + width: 55%; + border-right: 1px dashed #ccc; + padding-right: 12px; +} + +.honor-right { + width: 45%; + padding-left: 12px; +} + +.honor-right .honor-content { + display: flex; + align-items: center; +} + +.honor-right .honor-name { + flex: 1; +} + +/* 证书 / 实习证明链接 */ +.cert-link { + color: #4478DF; + text-decoration: none; + margin-left: 8px; + font-size: var(--fs-honor); + white-space: nowrap; +} + +.honor-item .cert-link { + margin-left: 4px; +} diff --git a/css/theme-soe.css b/css/theme-soe.css new file mode 100644 index 0000000..9269861 --- /dev/null +++ b/css/theme-soe.css @@ -0,0 +1,109 @@ +/* css/theme-soe.css —— 国企主题:放大排版、证件照头部、荣誉带日期、校园经历 */ +:root { + --fs-body: 14px; + --fs-name: 30px; + --fs-contact: 14px; + --fs-section: 16px; + --fs-edu-school: 16px; + --fs-badge: 12px; + --fs-meta: 15px; + --fs-items: 15px; + --fs-honor: 15px; + --fs-honor-badge: 14px; + --fs-exp-company: 16px; + --fs-exp-position: 15px; + --fs-intro: 13px; + --fs-intro-label: 12px; + --fs-proj-name: 16px; + --fs-proj-role: 14px; + --fs-proj-link: 14px; + --fs-proj-tag: 12px; + --fs-proj-intro: 15px; + --fs-proj-work-title: 15px; +} + +/* 头部:右侧证件照预留宽度 */ +.header { + position: relative; + padding-right: 102px; +} + +.header-main { + min-width: 0; +} + +.id-photo { + position: absolute; + top: 0; + right: 0; + width: 78px; + height: 100%; + object-fit: cover; + object-position: center top; + border: 1px solid #e2e2e2; +} + +/* 荣誉条目右侧日期 */ +.honor-date { + font-size: var(--fs-meta); + color: #888; + white-space: nowrap; + margin-left: 4px; + min-width: 56px; + text-align: right; +} + +/* 校园经历 */ +.campus-line { + margin-left: 12px; + font-size: var(--fs-items); + color: #252525; + line-height: 1.3; + display: flex; + align-items: baseline; + flex-wrap: wrap; +} + +.campus-name { + white-space: nowrap; +} + +.campus-sep { + color: #888; + margin: 0 8px; +} + +.campus-featured { + margin-left: 12px; + margin-top: 4px; +} + +.campus-featured .exp-date { + margin-left: auto; +} + +/* 金山条目要点:左侧虚线连贯分割 */ +.campus-featured .exp-items { + margin-left: 6px; + padding-left: 18px; + border-left: 1px dashed #b0b0b0; + line-height: 1.35; +} + +/* 项目简介:虚线框居中排版 */ +.proj-intro { + font-size: var(--fs-proj-intro); + color: #252525; + line-height: 1.45; + margin-bottom: 3px; + border: 1px dashed #808080; + border-radius: 4px; + padding: 4px 8px; + text-align: center; +} + +.proj-desc { + color: #656464; + display: block; + text-indent: 24px; +} diff --git a/data/base.yaml b/data/base.yaml new file mode 100644 index 0000000..3341173 --- /dev/null +++ b/data/base.yaml @@ -0,0 +1,100 @@ +# ===================================================================== +# base.yaml —— 全局共享事实(4 份简历共同使用) +# 改这里 = 所有变体同步更新 +# ===================================================================== + +name: 何朝晖 + +site: + baseUrl: http://47.121.181.112:8080 + +contact: + phone: 15671623703 + email: hezhaohui0807@163.com + +links: + - label: 代码仓库 + url: http://47.121.181.112:3000/wonder + +education: + school: 武汉科技大学 + schoolBadge: 省部共建 + major: 计算机科学与技术 + majorNote: 国家级一流专业 | ESI 0.495% + degree: 本科 + date: 2023-09 ~ 2027-06 + items: + - date: 2026-03 ~ 2026-05 + logo: kingsoft.svg + name: 金山办公 WPS 菁英工程师训练营 + - date: 2024-05 ~ 2026-05 + logo: linghang.svg + name: 武汉科技大学领航工作室 + - date: 2025-01 ~ 2025-03 + logo: bytedance.svg + name: 字节跳动 MarsCode 青训营 + - date: 2026-06 ~ 2026-07 + logo: neusoft.svg + logoClass: small + name: 东软集团生产实习 + +# 荣誉奖项(展示方式由企业维度 honorDisplay 控制) +honors: + - id: jinshan-cup + name: '"金山杯"华中地区高校第十八届程序设计邀请赛' + badge: 三等奖 + date: 2024-04 + logo: kingsoft.svg + cert: http://47.121.181.112:40027/i/2026/05/28/6a17ca366d125.jpg + - id: icpc + name: 国际大学生程序设计竞赛(ICPC)湖北省赛 + badge: 优秀奖 + date: 2024-06 + logo: icpc.svg + logoClass: icpc + cert: http://47.121.181.112:40027/i/2026/05/28/6a17ca3666920.png + - id: qiniu-xengineer + name: 七牛云 XEngineer 开源实训项目 + badge: 三等奖 + logo: qiniu.svg + logoClass: qiniu + - id: waytoagi + name: WaytoAGI 飞书全球黑客松(武汉站) + badge: 创意奖 + logo: lark.svg + logoClass: lark + +certificates: + - 大学英语四级(CET-4) + - 华为 HarmonyOS 应用开发者基础认证 + +studentWork: + - date: 2023-09 ~ 2025-06 + title: 班级宣传委员 + desc: 负责活动设计与新媒体推送,展现班级风采、增强班级凝聚力。 + - date: 2024-09 ~ 2025-06 + title: 心理健康中心部员 + desc: 协助心理健康宣传与主题活动组织,服务同学心理成长需求。 + - date: 2024-08 ~ 2024-09 + title: 迎新志愿者 + desc: 协助新生报到、行李搬运与校园引导,帮助新同学快速适应校园生活。 + +socialPractice: + name: '“光影科技 共创未来”暑期社会实践' + honor: 共青团湖北省委员会 优秀示范项目 + date: 2024-07 ~ 2024-08 + bullets: + - 不畏酷暑、全程投入,暑期连续辗转省内 10 余个区县“暑假学堂”点位,长途往返随队搬运教具、布置场地、调试影音设备,保障每场活动如期开展。 + - 以“互动科普讲座+观影”形式为少年儿童普及电影制作技术与发展,结合科幻电影与现实科技成果对照讲解前沿科技、手把手演示 Scratch 少儿编程入门。 + - 课前精心备课、反复打磨讲稿与演示案例,课后逐场复盘、耐心答疑并收集反馈;主动承担物资清点、签到引导等事务性工作,不怕吃苦、踏实肯干,以实际行动服务基层少年儿童、丰富假期生活、提升科学素养。 + +# 校园经历一行概览(国企版「校园经历」板块使用) +campus: + line: + - logo: linghang.svg + name: 武汉科技大学领航工作室(2024) + - logo: bytedance.svg + name: 字节跳动青训营(2025) + - logo: neusoft.svg + logoClass: small + name: 东软集团生产实习(2026) diff --git a/data/companies/private.yaml b/data/companies/private.yaml new file mode 100644 index 0000000..ccbd7ff --- /dev/null +++ b/data/companies/private.yaml @@ -0,0 +1,24 @@ +# ===================================================================== +# 企业维度 - 私企 / 民企:技术深度与工程实现导向 +# 该维度的展示方式、排版主题与内容侧重;私企各岗位变体共享 +# ===================================================================== + +navLabel: 私企 / 民企 +theme: private + +header: + layout: compact # 一行联系方式 + 求职意向 + 技术栈标签 + 链接行 + showLinks: true # 展示线上简历 / 代码仓库 + showExpCert: true # 实习经历展示「实习证明」链接 + +education: + showItems: true # 教育经历下方展示在校经历网格 + +honorDisplay: + layout: two-col # 有证书链接的奖项排左列,其余右列 + display: cert # 带「证书」链接 + +# 板块内条目顺序(各岗位共享) +order: + internships: [qiniu, jyhlab] + projects: [gen2d, thumbup] diff --git a/data/companies/soe.yaml b/data/companies/soe.yaml new file mode 100644 index 0000000..7219869 --- /dev/null +++ b/data/companies/soe.yaml @@ -0,0 +1,62 @@ +# ===================================================================== +# 企业维度 - 国企 / 央企:正式版式,突出国家项目经历与综合素质 +# 证件照、政治面貌、荣誉日期、学生工作 / 社会实践等国企关注项 +# ===================================================================== + +navLabel: 国企 / 央企 +theme: soe + +photo: img/photo.png +politicalStatus: 共青团员 + +header: + layout: formal # 求职职位行 + 政治面貌行 + 联系方式行 + 证件照 + showLinks: false # 国企版头部不放外链 + showExpCert: false + +education: + showItems: false # 在校经历改由「校园经历」板块呈现 + +honorDisplay: + layout: list # 单列,奖项右侧带日期 + display: date + show: [jinshan-cup, icpc] + +# 板块内条目顺序(各岗位共享):国家单位在前、业务价值导向项目在前 +order: + internships: [jyhlab, qiniu] + projects: [thumbup, gen2d] + +# 项目展示风格:虚线框简介 + 「主要工作」小标题 +projects: + introStyle: dashed + showWorkTitle: true + +# 项目标题 / 来源 / 技术标签 / 简介的国企口径(facts 在 experiences/,此处仅措辞侧重) +experiences: + gen2d: + title: Gen2D · AI 美术资产生成智能体 + source: 七牛云 XEngineer 开源项目 - 三等奖 + tags: [Go, React] + intro: + - 面向内容生产的 AI 素材生成平台,输入提示词即可产出风格统一的角色、场景、界面与动画素材。 + - 支持补充世界观与参考图等项目设定,产出更贴合风格的可用素材,帮助团队缩短出图周期、加快内容迭代。 + thumbup: + title: ThumbUP · 高并发互动服务中台 + source: 哔哩哔哩技术团队 - 架构设计 + sourceLogo: bilibili.svg + tags: [Java, MySQL, Redis] + intro: + - 中台化高并发点赞系统,为多业务线提供统一的点赞交互与查询服务,支撑海量数据与高并发访问场景。 + - 以高可用、可扩展为目标,保障点赞数据准确可靠、服务持续在线。 + +# 自我评价(国企板块;岗位层可整体替换) +selfEval: + - label: 热爱开发 + text: 在七牛云基础架构、国家网络安全 SaaS 平台实习,参与交付认证网关、数据库高可用集群、自动化运维等模块,工程与交付习惯规范 + - label: 持续学习 + text: 积极参加算法竞赛与技术训练营,持续探索 AI 工程化方向并有项目实践,保持对技术的学习热忱 + - label: 善于沟通 + text: 担任班级宣传委员,积极参与志愿服务、学生工作,做事主动、责任心强、吃苦耐劳 + - label: 兴趣爱好 + text: 喜爱羽毛球、乒乓球等球类运动,配合意识好;长期坚持长跑,也喜爱爬山、骑行、徒步 diff --git a/data/experiences/gen2d.yaml b/data/experiences/gen2d.yaml new file mode 100644 index 0000000..d15f200 --- /dev/null +++ b/data/experiences/gen2d.yaml @@ -0,0 +1,19 @@ +# Gen2D 项目(事实骨架;措辞侧重由维度层/变体层覆盖) +id: gen2d +kind: project +title: Gen2D 游戏素材生成工具 +role: 全栈开发 +source: 七牛云 XEngineer 开源项目 - 三等奖 +date: 2026-05 ~ 2026-06 +tags: [Go(Gin), Eino Agent Graph, GORM, OSS, React, Zustand] +link: https://gitee.com/hezhaohui123/gen2d +intro: + - AI 2D 游戏素材生成平台,用户输入文本提示词,自动生成风格一致的 Sprite、背景、UI 元素与动画帧流。 + - 支持用户提供世界观文本、参考图片、标签映射以及反馈信息,输出具备一致性的可用素材。 +# 默认主要工作(各变体共享;需岗位/组合级差异时在 roles/ 或 variants/ 覆盖 bullets) +bullets: + - 构建基于有向无环图的工作流,引入 critic 自省机制实现反馈增强,基于 ReAct 架构实现轮级思考,并支持 Agent 间通信。 + - 在分布式限流方案的选择上,对比计数器、漏桶、窗口等多种限流机制,选用 go-redis 实现分布式的令牌桶算法限流。 + - 为增强系统可观测性,基于 Gin 中间件以及自定义的任务协程池暴露指标,使用 Prometheus 收集,接入 Grafana 面板。 + - 在不同部署方案(单机与多机)部署上,支持基于 RabbitMQ 的共享任务队列,支持基于内存的自定义单机任务队列。 + - 对于用户偏好的多样性,支持基于渐进式披露的 skill 配置,用户反馈的动态注入,世界观文本 RAG 召回,实现上下文增强。 diff --git a/data/experiences/jyhlab.yaml b/data/experiences/jyhlab.yaml new file mode 100644 index 0000000..3bf9bdd --- /dev/null +++ b/data/experiences/jyhlab.yaml @@ -0,0 +1,20 @@ +# 金银湖实验室实习(事实骨架;岗位向 bullet 见 data/roles/*.yaml) +id: jyhlab +kind: internship +title: 国家网络安全人才与创新基地 | 武汉金银湖实验室 +dept: 平台技术部 +position: 后端开发 +date: 2025-11 ~ 2026-03 +logo: hust.svg +logoClass: hust +intro: + - 中央网信办批复、部市共建的全国首个国家网络安全人才与创新基地;金银湖实验室由华中科技大学牵头,联合武汉大学、中国船舶七〇九所共建,面向国家关键单位开展安全技术攻关。 +cert: + label: 实习证明 + url: http://47.121.181.112:40027/i/2026/05/28/6a17cb367128b.jpg +# 默认工作内容(各变体共享;需岗位/组合级差异时在 roles/ 或 variants/ 覆盖 bullets) +bullets: + - 参与设计面向国家关键单位的网络安全 SaaS 平台,完善租户多维度隔离、用户混合权限模型、API 流式计费等模块。 + - 完善构建组件漏洞知识图谱,基于金银湖安全大模型及供应链上游信息,统一评估组件安全风险,接入态势感知安全中心。 + - 设计高性能 API 计费网关,支持按月固定/按调用量双模式,Redis HINCRBY 实时计数 + MongoDB 聚合账单,幂等写入。 + - 实现 Redis 滑动窗口分布式限流中间件,MULTI 事务保证原子性,Header 注入 X-RateLimit,Redis 异常时降级保障可用性。 diff --git a/data/experiences/kingsoft-camp.yaml b/data/experiences/kingsoft-camp.yaml new file mode 100644 index 0000000..0e20d8e --- /dev/null +++ b/data/experiences/kingsoft-camp.yaml @@ -0,0 +1,11 @@ +# 金山办公训练营(国企版「校园经历」板块的展示条目) +id: kingsoft-camp +kind: camp +title: 金山办公 WPS 菁英工程师训练营 +date: 2026-03 ~ 2026-05 +logo: kingsoft.svg +items: + - AI 智能单词本:Go + Gin + GORM + MySQL + JWT + Docker Compose + - gRPC 文件上传微服务:Gin + gRPC + Protobuf + SQLite + - 灵犀 AI 对话助手:JavaScript + SSE + 通义千问 API + Markdown 渲染 + - 服务健康探测器:并发 + 令牌桶限流 + 重试机制 + 分级日志 + 表格驱动测试 diff --git a/data/experiences/qiniu.yaml b/data/experiences/qiniu.yaml new file mode 100644 index 0000000..5b66514 --- /dev/null +++ b/data/experiences/qiniu.yaml @@ -0,0 +1,20 @@ +# 七牛云实习(事实骨架;岗位向 bullet 见 data/roles/*.yaml) +id: qiniu +kind: internship +title: 七牛云 | 上海七牛信息技术有限公司 +dept: 产品研发部-基础架构部 +position: 全栈开发 +date: 2026-07 ~ 2026-08 +logo: qiniu.svg +logoClass: qiniu +intro: + - 香港上市的云与 AI 平台服务商(02567.HK),国内领先的独立音视频云平台,高新技术企业、上海市“专精特新”企业,服务 180 万+ 开发者与小红书、蔚来、快手等头部客户。 +cert: + label: 实习证明 + url: http://47.121.181.112:40027/i/2026/08/06/6a745822150dd.jpg +# 默认工作内容(各变体共享;需岗位/组合级差异时在 roles/ 或 variants/ 覆盖 bullets) +bullets: + - 构建基础架构平台,完善服务注册链路,集成网络探测、数据源自动注册、监控指标采集与日志接入,实现基础服务可观测。 + - 构建多协议单点认证网关,从零实现 SAML 2.0 SP 加密断言解密 + OAuth2/OIDC Provider + JWT Claims 与 Redis 吊销。 + - 设计 PostgreSQL HA 集群方案,基于 Patroni+etcd+HAProxy+Keepalived 实现 VIP 漂移、读写分离与 pgBackRest 冗余。 + - 实现 Ansible MySQL 全生命周期自动化(11 个 Playbook),覆盖原子二进制安装、GTID 复制校验与 MHA 故障转移回调。 diff --git a/data/experiences/thumbup.yaml b/data/experiences/thumbup.yaml new file mode 100644 index 0000000..4a49486 --- /dev/null +++ b/data/experiences/thumbup.yaml @@ -0,0 +1,18 @@ +# ThumbUP 项目(事实骨架;措辞侧重由维度层/变体层覆盖) +id: thumbup +kind: project +title: ThumbUP 高并发点赞系统 +role: 后端开发 +source: 哔哩哔哩技术团队《B站千亿级点赞系统服务架构设计》文章复现 +date: 2025-10 ~ 2025-11 +tags: [Spring Boot 3, Redis, Caffeine, HeavyKeeper, MyBatis-Plus] +link: http://47.121.181.112:3000/wonder/thumb-up +intro: + - 中台化的高并发点赞系统,支撑多业务场景的点赞交互与数据查询。应对万级QPS高并发流量,提供高可用、可扩展的基础服务。 +# 默认主要工作(各变体共享;需岗位/组合级差异时在 roles/ 或 variants/ 覆盖 bullets) +bullets: + - 为避免缓存穿透,构建布隆过滤器与空值短缓存双重机制;为避免缓存击穿,热点数据加互斥锁,确保单线程回源重建。 + - 基于 Caffeine + Redis 构建二级缓存,热点 Key 提升至本地缓存,避免冷数据污染,降低 Redis 访问压力。 + - Lua 脚本保证点赞原子性,10 秒时间片分桶暂存增量,定时任务批量落库,补偿任务每日兜底,保障最终一致性。 + - 对比CMS算法,采用HeavyKeeper实现Top-K探测,利用指数衰减淘汰冷Key,解决高频更新准确率问题,适配流量变化。 + - 单机场景利用字符串常量池特性,以业务前缀+用户ID为锁对象;多机场景基于 Redis 实现分布式锁,保障多实例数据一致。 diff --git a/data/roles/dev.yaml b/data/roles/dev.yaml new file mode 100644 index 0000000..9e38eca --- /dev/null +++ b/data/roles/dev.yaml @@ -0,0 +1,20 @@ +# ===================================================================== +# 岗位维度 - 全栈 / 后端开发:技术深度向 +# 求职意向、技术栈标签与专业技能;两个企业变体共享 +# 实习/项目的 bullet 默认共享 data/experiences/*.yaml 的写法(与支持岗一致), +# 如需岗位向差异,在此以 experiences..bullets 覆盖 +# ===================================================================== + +navLabel: 全栈 / 后端开发 + +intent: [全栈开发, 后端开发, 基础架构开发] # 私企头部 ①②③ +headline: 后端开发工程师 / 全栈开发工程师 # 国企头部职位行 +techTags: [Go, Java, Vue, React] + +skills: + - 熟悉 Go/Java 的常用数据结构、中间件、并发模型、垃圾回收机制。能够使用 pprof、JFR 等工具进行性能排查。 + - 熟悉分布式微服务架构,理解服务注册与发现、负载均衡、限流熔断、配置中心、幂等控制、分布式锁及分布式事务。 + - 熟悉数据库系统,理解MySQL事务隔离、B+树索引优化及 MVCC 机制,理解 Redis 混合持久化策略、集群、哨兵机制。 + - 熟悉缓存技术,理解多级缓存的设计,以及高并发场景下的缓存策略,如旁路缓存、读/写穿透、异步写回。 + - 熟悉消息队列,理解主流中间件选型、路由、持久化原理、事务、死信队列机制、推拉结合模式、集群化部署。 + - 探索 AI 前沿工程实践,理解 Context Engineer 与 Harness Engineer,理解智能体架构、权限治理、可插拔配置等。 diff --git a/data/roles/support.yaml b/data/roles/support.yaml new file mode 100644 index 0000000..9f00122 --- /dev/null +++ b/data/roles/support.yaml @@ -0,0 +1,21 @@ +# ===================================================================== +# 岗位维度 - 技术支持 / 交付实施:专业技能向交付、运维与沟通适配 +# ※ 技能为初稿(基于真实经历改写),投递前请审校 +# 求职意向、技术栈标签与专业技能;两个企业变体共享 +# 实习/项目的 bullet 与私企-dev 完全一致(共享 data/experiences/*.yaml,不另行改写), +# 如需岗位向差异,在此以 experiences..bullets 覆盖 +# ===================================================================== + +navLabel: 技术支持 / 交付实施 + +intent: [技术支持, 交付实施, 售后支持] # 私企头部 ①②③ +headline: 技术支持工程师 / 交付实施工程师 # 国企头部职位行 +techTags: [Go, Java, Linux, Docker] + +skills: + - 熟悉 Linux 常用操作与 Shell 脚本,能够完成服务部署、日志排查、性能定位等日常运维与现场支持工作。 + - 熟悉 Docker / 容器化部署与常见中间件(MySQL / Redis / Nginx)的安装、配置与常见故障处理。 + - 熟悉 TCP / HTTP 等网络基础与常见问题排查方法,能够定位接口、链路与配置类问题。 + - 具备需求对接与方案讲解能力,能够输出部署手册、接口文档、操作指引等交付文档。 + - 具备良好的沟通协作与服务意识,做事主动、责任心强,能够快速响应需求并推动问题闭环。 + - 熟悉 Go / Java 后端开发基础,能够阅读代码定位问题并与研发团队高效协作。 diff --git a/data/variants/private-dev.yaml b/data/variants/private-dev.yaml new file mode 100644 index 0000000..eb69f84 --- /dev/null +++ b/data/variants/private-dev.yaml @@ -0,0 +1,17 @@ +# 变体:私企 × 全栈/后端开发(默认推荐) +company: private +role: dev +default: true + +meta: + title: 何朝晖 · 全栈/后端开发(私企版) + description: 何朝晖个人简历 - 全栈/后端开发方向(私企投递版):七牛云基础架构、金银湖实验室实习经历,Go/Java 技术栈,分布式与高并发项目实践。 + +nav: + desc: 技术深度与工程实现导向 · 默认推荐 + +# 板块清单与顺序(基本信息 header 恒在首位,无需声明) +sections: [education, honors, internships, projects, skills] + +# 组合级覆盖(仅放确需单独措辞的内容;默认应共享维度层) +overrides: {} diff --git a/data/variants/private-support.yaml b/data/variants/private-support.yaml new file mode 100644 index 0000000..a77b1db --- /dev/null +++ b/data/variants/private-support.yaml @@ -0,0 +1,14 @@ +# 变体:私企 × 技术支持/交付实施 +company: private +role: support + +meta: + title: 何朝晖 · 技术支持/交付实施(私企版) + description: 何朝晖个人简历 - 技术支持/交付实施方向(私企投递版):交付实施、联调排障、文档与客户支持能力,兼具 Go/Java 开发基础。 + +nav: + desc: 交付实施、客户支持与文档能力导向 + +sections: [education, honors, internships, projects, skills] + +overrides: {} diff --git a/data/variants/soe-dev.yaml b/data/variants/soe-dev.yaml new file mode 100644 index 0000000..8675301 --- /dev/null +++ b/data/variants/soe-dev.yaml @@ -0,0 +1,56 @@ +# 变体:国企 × 全栈/后端开发 +company: soe +role: dev + +meta: + title: 何朝晖 · 全栈/后端开发(国企版) + description: 何朝晖个人简历 - 全栈/后端开发方向(国企投递版):国家网络安全基地项目经历、金山办公训练营、学生工作与社会实践,Java/Go 技术栈。 + +nav: + desc: 突出国家项目经历、学生工作与综合素质 + +sections: [education, honors, internships, campus, projects, certificates, studentWork, socialPractice, skills, selfEval] + +# 国企口径措辞:与私企版共享事实(experiences/),此处覆盖技术向表述为业务/价值向表述 +overrides: + experiences: + jyhlab: + bullets: + - 参与面向国家关键单位的网络安全 SaaS 平台核心研发,负责租户隔离、权限管控与 API 计费等关键模块的设计与实现,支撑多租户安全服务稳定落地。 + - 构建组件安全风险评估能力,整合漏洞情报与供应链信息形成统一风险视图,与态势感知安全中心联动,为安全运营与风险决策提供数据支撑。 + - 设计 API 计费网关,支持按月订阅与按调用量两种计费模式,以幂等计量与对账机制保障计量准确、账单可追溯、无重复计费,支撑业务规范化结算。 + - 面向高并发场景建设 API 流量治理与限流能力,实现超额请求平滑拦截与异常自动降级,守住服务可用性底线。 + qiniu: + bullets: + - 围绕内部基础服务治理,参与基础架构平台建设,打通服务注册、数据源自动注册、网络探测、监控告警与日志接入链路,提升基础服务可观测与运维效率。 + - 面向多系统统一登录需求,从零搭建多协议单点认证网关,支持 SAML 2.0 加密断言解密与 OAuth2、OIDC 等主流单点登录协议,会话可即时吊销,保障账号与数据安全。 + - 开发数据库自动化运维工具,覆盖 PostgreSQL 高可用集群搭建、MySQL 自动化部署与故障转移等场景,以工具化替代人工操作、提升交付效率。 + thumbup: + bullets: + - 从保障数据准确与服务稳定出发,完善缓存防护机制,防止异常请求压垮存储层、热点数据引发重建压力,保障系统平稳运行。 + - 构建多级缓存体系,热点数据就近读取,降低后端存储压力,提升用户点赞与查询的响应体验。 + - 保证点赞操作不丢失、不重复,采用异步批量入库与定期核对补偿,在高并发下兼顾处理性能与计数准确。 + - 支持热点内容识别与运营洞察,动态跟踪高频对象、及时淘汰过期热点,使资源分配更贴合真实流量变化。 + - 单机与集群部署下均保障并发写入数据一致,多实例并行处理结果正确,支撑业务横向扩展与稳定运行。 + gen2d: + bullets: + - 围绕生成质量与稳定性,搭建多阶段智能生成流程,支持过程自检、反馈修正,保障素材风格一致。 + - 面向多用户并发使用,设计接口流量保护与资源配额机制,避免异常请求挤占算力,保障平台稳定。 + - 完善运行监控与任务状态跟踪,异常可及时发现定位,支撑日常运维与持续迭代,提升交付可靠性。 + - 兼顾试点部署与规模化推广,任务调度支持单机与多机弹性伸缩,高峰期任务不积压,生成服务平滑扩展。 + - 面向不同项目风格差异,支持按需配置生成偏好并引入项目设定参考,产出更贴合用户需求,提升生成质量。 + skills: + - label: Java + text: 常用数据结构、中间件、并发模型、垃圾回收机制;能够使用 JFR 等工具进行性能排查 + - label: SpringBoot + text: IoC/AOP、自动装配原理、Starter 封装、事务管理、拦截器与全局异常处理 + - label: 分布式微服务 + text: 服务注册与发现、负载均衡、限流熔断、配置中心、幂等控制、分布式锁及分布式事务 + - label: 数据库 + text: MySQL 事务隔离、B+树索引优化及 MVCC 机制;Redis 混合持久化策略、集群、哨兵机制 + - label: 消息队列 + text: 主流中间件选型、路由、持久化原理、事务、死信队列机制、推拉结合模式、集群化部署 + - label: K8s + text: 集群环境下的应用发布、弹性扩缩容、灰度发布、健康检查及可观测体系建设 + - label: AI 工程化 + text: 智能体(Agent)架构设计、上下文工程、权限治理与可插拔配置 diff --git a/data/variants/soe-support.yaml b/data/variants/soe-support.yaml new file mode 100644 index 0000000..4ef36ec --- /dev/null +++ b/data/variants/soe-support.yaml @@ -0,0 +1,16 @@ +# 变体:国企 × 技术支持/交付实施 +# 内容来自维度层共享(roles/support.yaml 的交付向 bullet + companies/soe.yaml 的国企口径), +# 如需组合级措辞调整,在下方 overrides 中按需覆盖 +company: soe +role: support + +meta: + title: 何朝晖 · 技术支持/交付实施(国企版) + description: 何朝晖个人简历 - 技术支持/交付实施方向(国企投递版):国家网络安全基地项目经历、服务意识与基层实践,交付实施与客户支持能力。 + +nav: + desc: 突出服务意识、踏实肯干与基层实践 + +sections: [education, honors, internships, campus, projects, certificates, studentWork, socialPractice, skills, selfEval] + +overrides: {} diff --git a/nginx.conf b/nginx.conf index d6134ad..a24b82a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -14,37 +14,13 @@ server { alias /usr/share/nginx/html/img/; } - # 主简历 - location /resume/ { - alias /usr/share/nginx/html/resume/; - try_files $uri $uri/ /resume/index.html; + # 纯文本简历(便于复制粘贴到招聘系统) + location ~ ^/txt/(private|soe)/(dev|support)$ { + default_type "text/plain; charset=utf-8"; + alias /usr/share/nginx/html/txt/$1/$2/index.txt; } - # 央国企简历 - location /soe/ { - alias /usr/share/nginx/html/soe/; - try_files $uri $uri/ /soe/index.html; - } - - # 其他简历导航页 - location /other/ { - alias /usr/share/nginx/html/other/; - try_files $uri $uri/ /other/index.html; - } - - # 基础架构工程师简历 - location /other/infra-engineer/ { - alias /usr/share/nginx/html/other/infra-engineer/; - try_files $uri $uri/ /other/infra-engineer/index.html; - } - - # 网络安全工程师简历 - location /other/security-engineer/ { - alias /usr/share/nginx/html/other/security-engineer/; - try_files $uri $uri/ /other/security-engineer/index.html; - } - - # 纯文本简历选择页 + # 纯文本选择页 location = /txt { default_type "text/html; charset=utf-8"; alias /usr/share/nginx/html/txt/index.html; @@ -54,19 +30,37 @@ server { return 301 /txt; } - # 纯文本简历(便于复制粘贴到招聘系统) + # ---- 旧地址兼容(301 到新地址,面试官旧链接不失效) ---- + location = /resume { + return 301 /private/dev/; + } + location ^~ /resume/ { + return 301 /private/dev/; + } + location = /soe { + return 301 /soe/dev/; + } + location = /soe/ { + return 301 /soe/dev/; + } + location = /soe/index.html { + return 301 /soe/dev/; + } location = /txt/resume { - default_type "text/plain; charset=utf-8"; - alias /usr/share/nginx/html/resume/index.txt; + return 301 /txt/private/dev; } - location = /txt/soe { - default_type "text/plain; charset=utf-8"; - alias /usr/share/nginx/html/soe/index.txt; + return 301 /txt/soe/dev; + } + location = /other { + return 301 /; + } + location ^~ /other/ { + return 301 /; } - # 根路径重定向到主简历 - location = / { - return 301 /resume/; + # 根路由 = 导航页;四份简历:/private/dev/ /private/support/ /soe/dev/ /soe/support/ + location / { + try_files $uri $uri/ =404; } } diff --git a/other/index.html b/other/index.html deleted file mode 100644 index 979f308..0000000 --- a/other/index.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - 何朝晖 - 其他简历 - - - - - - - diff --git a/other/infra-engineer/index.html b/other/infra-engineer/index.html deleted file mode 100644 index deb3eee..0000000 --- a/other/infra-engineer/index.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - 何朝晖 - 基础架构工程师 - - - -
- -
-
何朝晖
-
-
-
- - 15671623703 -
-
- - hezhaohui0807@163.com -
-
- - ① 基础架构工程师 ② 后端开发 -
-
- - Go - Java - K8s - Docker -
-
-
- 线上简历:http://47.121.181.112:8080/resume - 代码仓库:http://47.121.181.112:3000/wonder - CSDN:链接 - 文档站:链接 -
-
-
- - -
-
教育经历
-
-
- 武汉科技大学省部共建 - 计算机科学与技术 【国家级一流专业 | ESI 0.495%】 - 本科 -
-
2023-09 ~ 2027-06
-
-
    -
  • 2026-03 ~ 2026-05 金山办公 WPS 菁英工程师训练营
  • -
  • 2024-05 ~ 2026-05 武汉科技大学领航工作室
  • -
  • 2025-01 ~ 2025-03 字节跳动 MarsCode 青训营
  • -
  • 2026-06 ~ 2026-07 东软集团生产实习
  • -
-
- - -
-
荣誉奖项
-
-
-
-
- - "金山杯"华中地区高校第十八届程序设计邀请赛 - 三等奖 -
- 证书 -
-
-
- - 国际大学生程序设计竞赛(ICPC)湖北省赛 - 优秀奖 -
- 证书 -
-
-
-
-
- - 七牛云 XEngineer 开源实训项目 - 三等奖 -
-
-
-
- - WaytoAGI 飞书全球黑客松(武汉站) - 创意奖 -
-
-
-
-
- - -
-
实习经历
-
-
七牛云 | 上海七牛信息技术有限公司
- 产品研发部-基础架构部 基础架构开发 - 实习证明 -
2026-07 ~ 2026-08
-
-
    -
  • 构建基础架构平台,完善服务注册链路,集成网络探测、数据源自动注册、监控指标采集与日志接入,实现基础服务可观测。
  • -
  • 构建多协议单点认证网关,从零实现 SAML 2.0 SP 加密断言解密 + OAuth2/OIDC Provider + JWT Claims 与 Redis 吊销。
  • -
  • 设计 PostgreSQL HA 集群方案,基于 Patroni+etcd+HAProxy+Keepalived 实现 VIP 漂移、读写分离与 pgBackRest 冗余。
  • -
  • 实现 Ansible MySQL 全生命周期自动化(11 个 Playbook),覆盖原子二进制安装、GTID 复制校验与 MHA 故障转移回调。
  • -
- -
-
国家网络安全人才与创新基地 | 武汉金银湖实验室
- 平台技术部 后端开发 - 实习证明 -
2025-11 ~ 2026-03
-
-
    -
  • 参与设计面向国家关键单位的网络安全 SaaS 平台,完善租户多维度隔离、用户混合权限模型、API 流式计费等模块。
  • -
  • 完善构建组件漏洞知识图谱,基于金银湖安全大模型及供应链上游信息,统一评估组件安全风险,接入态势感知安全中心。
  • -
  • 设计高性能 API 计费网关,支持按月固定/按调用量双模式,Redis HINCRBY 实时计数 + MongoDB 聚合账单,幂等写入。
  • -
  • 实现 Redis 滑动窗口分布式限流中间件,MULTI 事务保证原子性,Header 注入 X-RateLimit,Redis 异常时降级保障可用性。
  • -
- -
- - -
-
项目经历
-
-
- Gen2D 游戏素材生成工具 - 全栈开发 【七牛云 XEngineer 开源项目 - 🥉三等奖】 -
-
2026-05 ~ 2026-06
-
- -
- AI 2D 游戏素材生成平台,用户输入文本提示词,自动生成风格一致的 Sprite、背景、UI 元素与动画帧流。 -
支持用户提供世界观文本、参考图片、标签映射以及反馈信息,输出具备一致性的可用素材。 -
-
-
主要工作:
-
    -
  1. 构建基于有向无环图的工作流,引入 critic 自省机制实现反馈增强,基于 ReAct 架构实现轮级思考,并支持 Agent 间通信。
  2. -
  3. 在分布式限流方案的选择上,对比计数器、漏桶、窗口等多种限流机制,选用 go-redis 实现分布式的令牌桶算法限流。
  4. -
  5. 为增强系统可观测性,基于 Gin 中间件以及自定义的任务协程池暴露指标,使用 Prometheus 收集,接入 Grafana 面板。
  6. -
  7. 在不同部署方案(单机与多机)部署上,支持基于 RabbitMQ 的共享任务队列,支持基于内存的自定义单机任务队列。
  8. -
  9. 对于用户偏好的多样性,支持基于渐进式披露的 skill 配置,用户反馈的动态注入,世界观文本 RAG 召回,实现上下文增强。
  10. -
- -
-
- ThumbUP 高并发点赞系统 - 后端开发 【哔哩哔哩技术团队《B站千亿级点赞系统服务架构设计》文章复现】 -
-
2025-10 ~ 2025-11
-
- -
- 中台化的高并发点赞系统,支撑多业务场景的点赞交互与数据查询。 -
应对亿级数据规模与万级QPS高并发流量,提供高可用、可扩展的基础服务。
-
-
主要工作:
-
    -
  1. 为避免缓存穿透,构建布隆过滤器与空值短缓存双重机制;为避免缓存击穿,将热点数据加互斥锁,确保单线程回源重建。
  2. -
  3. 基于 Caffeine + Redis 构建二级缓存,热点 Key 提升至本地缓存,避免冷数据污染,降低 Redis 访问压力。
  4. -
  5. Lua 脚本保证点赞原子性,10 秒时间片分桶暂存增量,定时任务批量落库,补偿任务每日兜底,保障最终一致性。
  6. -
  7. 对比CMS算法,采用HeavyKeeper实现Top-K探测,利用指数衰减淘汰冷Key,解决高频更新准确率问题,适配流量变化。
  8. -
  9. 单机场景利用字符串常量池特性,以业务前缀+用户ID为锁对象;多机场景基于 Redis 实现分布式锁,保障多实例数据一致。
  10. -
-
- - -
-
专业技能
-
    -
  • 熟悉 Go/Java 的常用数据结构、中间件、并发模型、垃圾回收机制。能够使用 pprof、JFR 等工具进行性能排查。
  • -
  • 熟悉分布式微服务架构,理解服务注册与发现、负载均衡、限流熔断、配置中心、幂等控制、分布式锁及分布式事务。
  • -
  • 熟悉云原生技术栈,理解 Kubernetes 容器编排、Docker 容器化、服务网格、CI/CD 流水线及自动化部署。
  • -
  • 熟悉基础设施即代码(IaC),理解 Ansible、Terraform 等自动化运维工具,具备多机房部署架构设计经验。
  • -
  • 熟悉数据库系统,理解MySQL事务隔离、B+树索引优化及 MVCC 机制,理解 Redis 混合持久化策略、集群、哨兵机制。
  • -
  • 熟悉可观测体系建设,理解 Prometheus 监控、Grafana 可视化、ELK 日志系统、链路追踪及告警机制。
  • -
  • 探索 AI 前沿工程实践,理解 Context Engineer 与 Harness Engineer,理解智能体架构、权限治理、可插拔配置等。
  • -
-
-
- - diff --git a/other/security-engineer/index.html b/other/security-engineer/index.html deleted file mode 100644 index f322026..0000000 --- a/other/security-engineer/index.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - 何朝晖 - 网络安全工程师 - - - -
- -
-
何朝晖
-
-
-
- - 15671623703 -
-
- - hezhaohui0807@163.com -
-
- - ① 网络安全工程师 ② 后端开发 -
-
- - C/C++ - Go - Python - Java -
-
-
- 线上简历:http://47.121.181.112:8080/resume - 代码仓库:http://47.121.181.112:3000/wonder - CSDN:链接 - 文档站:链接 -
-
-
- - -
-
教育经历
-
-
- 武汉科技大学省部共建 - 计算机科学与技术 【国家级一流专业 | ESI 0.495%】 - 本科 -
-
2023-09 ~ 2027-06
-
-
    -
  • 2026-03 ~ 2026-05 金山办公 WPS 菁英工程师训练营
  • -
  • 2024-05 ~ 2026-05 武汉科技大学领航工作室
  • -
  • 2025-01 ~ 2025-03 字节跳动 MarsCode 青训营
  • -
  • 2026-06 ~ 2026-07 东软集团生产实习
  • -
-
- - -
-
荣誉奖项
-
-
-
-
- - "金山杯"华中地区高校第十八届程序设计邀请赛 - 三等奖 -
- 证书 -
-
-
- - 国际大学生程序设计竞赛(ICPC)湖北省赛 - 优秀奖 -
- 证书 -
-
-
-
-
- - 七牛云 XEngineer 开源实训项目 - 三等奖 -
-
-
-
- - WaytoAGI 飞书全球黑客松(武汉站) - 创意奖 -
-
-
-
-
- - -
-
实习经历
-
-
七牛云 | 上海七牛信息技术有限公司
- 产品研发部-基础架构部 全栈开发 - 实习证明 -
2026-07 ~ 2026-08
-
-
    -
  • 构建基础架构平台,完善服务注册链路,集成网络探测、数据源自动注册、监控指标采集与日志接入,实现基础服务可观测。
  • -
  • 构建多协议单点认证网关,从零实现 SAML 2.0 SP 加密断言解密 + OAuth2/OIDC Provider + JWT Claims 与 Redis 吊销。
  • -
  • 设计 PostgreSQL HA 集群方案,基于 Patroni+etcd+HAProxy+Keepalived 实现 VIP 漂移、读写分离与 pgBackRest 冗余。
  • -
  • 实现 Ansible MySQL 全生命周期自动化(11 个 Playbook),覆盖原子二进制安装、GTID 复制校验与 MHA 故障转移回调。
  • -
- -
-
国家网络安全人才与创新基地 | 武汉金银湖实验室
- 平台技术部 安全研发 - 实习证明 -
2025-11 ~ 2026-03
-
-
    -
  • 参与设计面向国家关键单位的网络安全 SaaS 平台,完善租户多维度隔离、用户混合权限模型、API 流式计费等模块。
  • -
  • 完善构建组件漏洞知识图谱,基于金银湖安全大模型及供应链上游信息,统一评估组件安全风险,接入态势感知安全中心。
  • -
  • 设计高性能 API 计费网关,支持按月固定/按调用量双模式,Redis HINCRBY 实时计数 + MongoDB 聚合账单,幂等写入。
  • -
  • 实现 Redis 滑动窗口分布式限流中间件,MULTI 事务保证原子性,Header 注入 X-RateLimit,Redis 异常时降级保障可用性。
  • -
- -
- - -
-
项目经历
-
-
- Gen2D 游戏素材生成工具 - 全栈开发 【七牛云 XEngineer 开源项目 - 🥉三等奖】 -
-
2026-05 ~ 2026-06
-
- -
- AI 2D 游戏素材生成平台,用户输入文本提示词,自动生成风格一致的 Sprite、背景、UI 元素与动画帧流。 -
支持用户提供世界观文本、参考图片、标签映射以及反馈信息,输出具备一致性的可用素材。 -
-
-
主要工作:
-
    -
  1. 构建基于有向无环图的工作流,引入 critic 自省机制实现反馈增强,基于 ReAct 架构实现轮级思考,并支持 Agent 间通信。
  2. -
  3. 在分布式限流方案的选择上,对比计数器、漏桶、窗口等多种限流机制,选用 go-redis 实现分布式的令牌桶算法限流。
  4. -
  5. 为增强系统可观测性,基于 Gin 中间件以及自定义的任务协程池暴露指标,使用 Prometheus 收集,接入 Grafana 面板。
  6. -
  7. 在不同部署方案(单机与多机)部署上,支持基于 RabbitMQ 的共享任务队列,支持基于内存的自定义单机任务队列。
  8. -
  9. 对于用户偏好的多样性,支持基于渐进式披露的 skill 配置,用户反馈的动态注入,世界观文本 RAG 召回,实现上下文增强。
  10. -
- -
-
- ThumbUP 高并发点赞系统 - 后端开发 【哔哩哔哩技术团队《B站千亿级点赞系统服务架构设计》文章复现】 -
-
2025-10 ~ 2025-11
-
- -
- 中台化的高并发点赞系统,支撑多业务场景的点赞交互与数据查询。 -
应对亿级数据规模与万级QPS高并发流量,提供高可用、可扩展的基础服务。
-
-
主要工作:
-
    -
  1. 为避免缓存穿透,构建布隆过滤器与空值短缓存双重机制;为避免缓存击穿,将热点数据加互斥锁,确保单线程回源重建。
  2. -
  3. 基于 Caffeine + Redis 构建二级缓存,热点 Key 提升至本地缓存,避免冷数据污染,降低 Redis 访问压力。
  4. -
  5. Lua 脚本保证点赞原子性,10 秒时间片分桶暂存增量,定时任务批量落库,补偿任务每日兜底,保障最终一致性。
  6. -
  7. 对比CMS算法,采用HeavyKeeper实现Top-K探测,利用指数衰减淘汰冷Key,解决高频更新准确率问题,适配流量变化。
  8. -
  9. 单机场景利用字符串常量池特性,以业务前缀+用户ID为锁对象;多机场景基于 Redis 实现分布式锁,保障多实例数据一致。
  10. -
-
- - -
-
专业技能
-
    -
  • 熟悉 C/C++ 语言,能够调用系统库及 Win32 API 进行底层开发;同时掌握 Go/Python/Java 多语言开发,具备扎实的数据结构与并发编程基础。
  • -
  • 熟悉计算机网络与 HTTP 协议,理解 TCP/IP 协议栈、Web 通信原理及网络编程,具备流量分析与协议逆向能力。
  • -
  • 熟悉常见 Web 漏洞原理(溢出、反序列化、SSRF、SQL注入、XSS、CSRF 等),具备漏洞挖掘、复现与修复能力。
  • -
  • 熟悉 Linux 系统使用,掌握常用命令、Shell 脚本、进程管理及文件权限。
  • -
  • 熟悉供应链安全,理解组件漏洞知识图谱构建、安全风险评估、态势感知及威胁情报分析。
  • -
-
-
- - diff --git a/package.json b/package.json index 65bd4d5..26ae8a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,18 @@ { + "name": "resume-site", + "private": true, + "type": "module", + "scripts": { + "build": "node scripts/build.mjs", + "check": "node scripts/check.mjs", + "serve": "node scripts/build.mjs && node scripts/serve.mjs" + }, "dependencies": { "playwright": "^1.61.1", "playwright-core": "^1.61.1" + }, + "devDependencies": { + "handlebars": "^4.7.8", + "yaml": "^2.8.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..f38eb1f --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,93 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + playwright: + specifier: ^1.61.1 + version: 1.64.1 + playwright-core: + specifier: ^1.61.1 + version: 1.64.1 + devDependencies: + handlebars: + specifier: ^4.7.8 + version: 4.7.10 + yaml: + specifier: ^2.8.2 + version: 2.9.1 + +packages: + + handlebars@4.7.10: + resolution: {integrity: sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==} + engines: {node: '>=0.4.7'} + hasBin: true + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + neo-async@2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + + playwright-core@1.64.1: + resolution: {integrity: sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==} + engines: {node: '>=20'} + hasBin: true + + playwright@1.64.1: + resolution: {integrity: sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==} + engines: {node: '>=20'} + hasBin: true + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + uglify-js@3.19.3: + resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} + engines: {node: '>=0.8.0'} + hasBin: true + + wordwrap@1.0.0: + resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} + + yaml@2.9.1: + resolution: {integrity: sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==} + engines: {node: '>= 14.6'} + hasBin: true + +snapshots: + + handlebars@4.7.10: + dependencies: + minimist: 1.2.8 + neo-async: 2.6.2 + source-map: 0.6.1 + wordwrap: 1.0.0 + optionalDependencies: + uglify-js: 3.19.3 + + minimist@1.2.8: {} + + neo-async@2.6.2: {} + + playwright-core@1.64.1: {} + + playwright@1.64.1: + dependencies: + playwright-core: 1.64.1 + + source-map@0.6.1: {} + + uglify-js@3.19.3: + optional: true + + wordwrap@1.0.0: {} + + yaml@2.9.1: {} diff --git a/resume/index.html b/resume/index.html deleted file mode 100644 index f521198..0000000 --- a/resume/index.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - 何朝晖 - 简历 - - - -
- -
-
何朝晖
-
-
-
- - 15671623703 -
-
- - hezhaohui0807@163.com -
-
- - ① 全栈开发 ② 后端开发 ③ 基础架构开发 -
-
- - Go - Java - Vue - React -
-
-
- 线上简历:http://47.121.181.112:8080/resume - 代码仓库:http://47.121.181.112:3000/wonder - CSDN:链接 - 文档站:链接 -
-
-
- - -
-
教育经历
-
-
- 武汉科技大学省部共建 - 计算机科学与技术 【国家级一流专业 | ESI 0.495%】 - 本科 -
-
2023-09 ~ 2027-06
-
-
    -
  • 2026-03 ~ 2026-05 金山办公 WPS 菁英工程师训练营
  • -
  • 2024-05 ~ 2026-05 武汉科技大学领航工作室
  • -
  • 2025-01 ~ 2025-03 字节跳动 MarsCode 青训营
  • -
  • 2026-06 ~ 2026-07 东软集团生产实习
  • -
-
- - -
-
荣誉奖项
-
-
-
-
- - "金山杯"华中地区高校第十八届程序设计邀请赛 - 三等奖 -
- 证书 -
-
-
- - 国际大学生程序设计竞赛(ICPC)湖北省赛 - 优秀奖 -
- 证书 -
-
-
-
-
- - 七牛云 XEngineer 开源实训项目 - 三等奖 -
-
-
-
- - WaytoAGI 飞书全球黑客松(武汉站) - 创意奖 -
-
-
-
-
- - -
-
实习经历
-
-
七牛云 | 上海七牛信息技术有限公司
- 产品研发部-基础架构部 全栈开发 - 实习证明 -
2026-07 ~ 2026-08
-
-
单位简介香港上市的云与 AI 平台服务商(02567.HK),国内领先的独立音视频云平台,高新技术企业、上海市“专精特新”企业,服务 180 万+ 开发者与小红书、蔚来、快手等头部客户。
-
    -
  • 构建基础架构平台,完善服务注册链路,集成网络探测、数据源自动注册、监控指标采集与日志接入,实现基础服务可观测。
  • -
  • 构建多协议单点认证网关,从零实现 SAML 2.0 SP 加密断言解密 + OAuth2/OIDC Provider + JWT Claims 与 Redis 吊销。
  • -
  • 设计 PostgreSQL HA 集群方案,基于 Patroni+etcd+HAProxy+Keepalived 实现 VIP 漂移、读写分离与 pgBackRest 冗余。
  • -
  • 实现 Ansible MySQL 全生命周期自动化(11 个 Playbook),覆盖原子二进制安装、GTID 复制校验与 MHA 故障转移回调。
  • -
- -
-
国家网络安全人才与创新基地 | 武汉金银湖实验室
- 平台技术部 后端开发 - 实习证明 -
2025-11 ~ 2026-03
-
-
单位简介中央网信办批复、部市共建的全国首个国家网络安全人才与创新基地;金银湖实验室由华中科技大学牵头,联合武汉大学、中国船舶七〇九所共建,面向国家关键单位开展安全技术攻关。
-
    -
  • 参与设计面向国家关键单位的网络安全 SaaS 平台,完善租户多维度隔离、用户混合权限模型、API 流式计费等模块。
  • -
  • 完善构建组件漏洞知识图谱,基于金银湖安全大模型及供应链上游信息,统一评估组件安全风险,接入态势感知安全中心。
  • -
  • 设计高性能 API 计费网关,支持按月固定/按调用量双模式,Redis HINCRBY 实时计数 + MongoDB 聚合账单,幂等写入。
  • -
  • 实现 Redis 滑动窗口分布式限流中间件,MULTI 事务保证原子性,Header 注入 X-RateLimit,Redis 异常时降级保障可用性。
  • -
- -
- - -
-
项目经历
-
-
- Gen2D 游戏素材生成工具 - 全栈开发 【七牛云 XEngineer 开源项目 - 🥉三等奖】 -
-
2026-05 ~ 2026-06
-
- -
项目简介AI 2D 游戏素材生成平台,用户输入文本提示词,自动生成风格一致的 Sprite、背景、UI 元素与动画帧流。
支持用户提供世界观文本、参考图片、标签映射以及反馈信息,输出具备一致性的可用素材。
-
    -
  1. 构建基于有向无环图的工作流,引入 critic 自省机制实现反馈增强,基于 ReAct 架构实现轮级思考,并支持 Agent 间通信。
  2. -
  3. 在分布式限流方案的选择上,对比计数器、漏桶、窗口等多种限流机制,选用 go-redis 实现分布式的令牌桶算法限流。
  4. -
  5. 为增强系统可观测性,基于 Gin 中间件以及自定义的任务协程池暴露指标,使用 Prometheus 收集,接入 Grafana 面板。
  6. -
  7. 在不同部署方案(单机与多机)部署上,支持基于 RabbitMQ 的共享任务队列,支持基于内存的自定义单机任务队列。
  8. -
  9. 对于用户偏好的多样性,支持基于渐进式披露的 skill 配置,用户反馈的动态注入,世界观文本 RAG 召回,实现上下文增强。
  10. -
- -
-
- ThumbUP 高并发点赞系统 - 后端开发 【哔哩哔哩技术团队《B站千亿级点赞系统服务架构设计》文章复现】 -
-
2025-10 ~ 2025-11
-
- -
项目简介中台化的高并发点赞系统,支撑多业务场景的点赞交互与数据查询。应对万级QPS高并发流量,提供高可用、可扩展的基础服务。
-
    -
  1. 为避免缓存穿透,构建布隆过滤器与空值短缓存双重机制;为避免缓存击穿,将热点数据加互斥锁,确保单线程回源重建。
  2. -
  3. 基于 Caffeine + Redis 构建二级缓存,热点 Key 提升至本地缓存,避免冷数据污染,降低 Redis 访问压力。
  4. -
  5. Lua 脚本保证点赞原子性,10 秒时间片分桶暂存增量,定时任务批量落库,补偿任务每日兜底,保障最终一致性。
  6. -
  7. 对比CMS算法,采用HeavyKeeper实现Top-K探测,利用指数衰减淘汰冷Key,解决高频更新准确率问题,适配流量变化。
  8. -
  9. 单机场景利用字符串常量池特性,以业务前缀+用户ID为锁对象;多机场景基于 Redis 实现分布式锁,保障多实例数据一致。
  10. -
-
- - -
-
专业技能
-
    -
  • 熟悉 Go/Java 的常用数据结构、中间件、并发模型、垃圾回收机制。能够使用 pprof、JFR 等工具进行性能排查。
  • -
  • 熟悉分布式微服务架构,理解服务注册与发现、负载均衡、限流熔断、配置中心、幂等控制、分布式锁及分布式事务。
  • -
  • 熟悉数据库系统,理解MySQL事务隔离、B+树索引优化及 MVCC 机制,理解 Redis 混合持久化策略、集群、哨兵机制。
  • -
  • 熟悉缓存技术,理解多级缓存的设计,以及高并发场景下的缓存策略,如旁路缓存、读/写穿透、异步写回。
  • -
  • 熟悉消息队列,理解主流中间件选型、路由、持久化原理、事务、死信队列机制、推拉结合模式、集群化部署。
  • -
  • 探索 AI 前沿工程实践,理解 Context Engineer 与 Harness Engineer,理解智能体架构、权限治理、可插拔配置等。
  • -
-
-
- - diff --git a/resume/index.txt b/resume/index.txt deleted file mode 100644 index 73f2251..0000000 --- a/resume/index.txt +++ /dev/null @@ -1,119 +0,0 @@ -================================================================================ -【基本信息】 -================================================================================ - -姓名:何朝晖 -手机:15671623703 -邮箱:hezhaohui0807@163.com -求职意向:① 全栈开发 ② 后端开发 ③ 基础架构开发 -技术栈:Go, Java, Vue, React -线上简历:http://47.121.181.112:8080/resume -代码仓库:http://47.121.181.112:3000/wonder -CSDN博客:https://blog.csdn.net/cheer2333 -文档站:http://47.121.181.112:20000/ - -================================================================================ -【教育经历】 -================================================================================ - -学校:武汉科技大学(省部共建) -专业:计算机科学与技术(国家级一流专业 | ESI 0.495%) -学历:本科 -时间:2023-09 ~ 2027-06 - -在校经历: -- 2026-03 ~ 2026-05 金山办公 WPS 菁英工程师训练营 -- 2024-05 ~ 2026-05 武汉科技大学领航工作室 -- 2025-01 ~ 2025-03 字节跳动 MarsCode 青训营 -- 2026-06 ~ 2026-07 东软集团生产实习 - -================================================================================ -【荣誉奖项】 -================================================================================ - -- "金山杯"华中地区高校第十八届程序设计邀请赛 三等奖 -- 国际大学生程序设计竞赛(ICPC)湖北省赛 优秀奖 -- 七牛云 XEngineer 开源实训项目 三等奖 -- WaytoAGI 飞书全球黑客松(武汉站) 创意奖 - -================================================================================ -【实习经历】 -================================================================================ - -公司:七牛云 | 上海七牛信息技术有限公司 -部门:产品研发部-基础架构部 -职位:全栈开发 -时间:2026-07 ~ 2026-08 -单位简介:香港上市的云与 AI 平台服务商(02567.HK),国内领先的独立音视频云平台,高新技术企业、上海市“专精特新”企业,服务 180 万+ 开发者与小红书、蔚来、快手等头部客户。 - -工作内容: -- 构建基础架构平台,完善服务注册链路,集成网络探测、数据源自动注册、监控指标采集与日志接入,实现基础服务可观测。 -- 构建多协议单点认证网关,从零实现 SAML 2.0 SP 加密断言解密 + OAuth2/OIDC Provider + JWT Claims 与 Redis 吊销。 -- 设计 PostgreSQL HA 集群方案,基于 Patroni+etcd+HAProxy+Keepalived 实现 VIP 漂移、读写分离与 pgBackRest 冗余。 -- 实现 Ansible MySQL 全生命周期自动化(11 个 Playbook),覆盖原子二进制安装、GTID 复制校验与 MHA 故障转移回调。 - ---- - -公司:国家网络安全人才与创新基地 | 武汉金银湖实验室 -部门:平台技术部 -职位:后端开发 -时间:2025-11 ~ 2026-03 -单位简介:中央网信办批复、部市共建的全国首个国家网络安全人才与创新基地;金银湖实验室由华中科技大学牵头,联合武汉大学、中国船舶七〇九所共建,面向国家关键单位开展安全技术攻关。 - -工作内容: -- 参与设计面向国家关键单位的网络安全 SaaS 平台,完善租户多维度隔离、用户混合权限模型、API 流式计费等模块。 -- 完善构建组件漏洞知识图谱,基于金银湖安全大模型及供应链上游信息,统一评估组件安全风险,接入态势感知安全中心。 -- 设计高性能 API 计费网关,支持按月固定/按调用量双模式,Redis HINCRBY 实时计数 + MongoDB 聚合账单,幂等写入。 -- 实现 Redis 滑动窗口分布式限流中间件,MULTI 事务保证原子性,Header 注入 X-RateLimit,Redis 异常时降级保障可用性。 - -================================================================================ -【项目经历】 -================================================================================ - -项目名称:Gen2D 游戏素材生成工具 -角色:全栈开发 -来源:七牛云 XEngineer 开源项目 - 三等奖 -时间:2026-05 ~ 2026-06 -链接:https://gitee.com/hezhaohui123/gen2d -技术栈:Go(Gin), Eino Agent Graph, GORM, OSS, React, Zustand - -项目简介: -AI 2D 游戏素材生成平台,用户输入文本提示词,自动生成风格一致的 Sprite、背景、UI 元素与动画帧流。 -支持用户提供世界观文本、参考图片、标签映射以及反馈信息,输出具备一致性的可用素材。 - -主要工作: -1. 构建基于有向无环图的工作流,引入 critic 自省机制实现反馈增强,基于 ReAct 架构实现轮级思考,并支持 Agent 间通信。 -2. 在分布式限流方案的选择上,对比计数器、漏桶、窗口等多种限流机制,选用 go-redis 实现分布式的令牌桶算法限流。 -3. 为增强系统可观测性,基于 Gin 中间件以及自定义的任务协程池暴露指标,使用 Prometheus 收集,接入 Grafana 面板。 -4. 在不同部署方案(单机与多机)部署上,支持基于 RabbitMQ 的共享任务队列,支持基于内存的自定义单机任务队列。 -5. 对于用户偏好的多样性,支持基于渐进式披露的 skill 配置,用户反馈的动态注入,世界观文本 RAG 召回,实现上下文增强。 - ---- - -项目名称:ThumbUP 高并发点赞系统 -角色:后端开发 -来源:哔哩哔哩技术团队《B站千亿级点赞系统服务架构设计》文章复现 -时间:2025-10 ~ 2025-11 -链接:http://47.121.181.112:3000/wonder/thumb-up -技术栈:Spring Boot 3, Redis, Caffeine, HeavyKeeper, MyBatis-Plus - -项目简介: -中台化的高并发点赞系统,支撑多业务场景的点赞交互与数据查询。应对万级QPS高并发流量,提供高可用、可扩展的基础服务。 - -主要工作: -1. 为避免缓存穿透,构建布隆过滤器与空值短缓存双重机制;为避免缓存击穿,热点数据加互斥锁,确保单线程回源重建。 -2. 基于 Caffeine + Redis 构建二级缓存,热点 Key 提升至本地缓存,避免冷数据污染,降低 Redis 访问压力。 -3. Lua 脚本保证点赞原子性,10 秒时间片分桶暂存增量,定时任务批量落库,补偿任务每日兜底,保障最终一致性。 -4. 对比CMS算法,采用HeavyKeeper实现Top-K探测,利用指数衰减淘汰冷Key,解决高频更新准确率问题,适配流量变化。 -5. 单机场景利用字符串常量池特性,以业务前缀+用户ID为锁对象;多机场景基于 Redis 实现分布式锁,保障多实例数据一致。 - -================================================================================ -【专业技能】 -================================================================================ - -- 熟悉 Go/Java 的常用数据结构、中间件、并发模型、垃圾回收机制。能够使用 pprof、JFR 等工具进行性能排查。 -- 熟悉分布式微服务架构,理解服务注册与发现、负载均衡、限流熔断、配置中心、幂等控制、分布式锁及分布式事务。 -- 熟悉数据库系统,理解MySQL事务隔离、B+树索引优化及 MVCC 机制,理解 Redis 混合持久化策略、集群、哨兵机制。 -- 熟悉缓存技术,理解多级缓存的设计,以及高并发场景下的缓存策略,如旁路缓存、读/写穿透、异步写回。 -- 熟悉消息队列,理解主流中间件选型、路由、持久化原理、事务、死信队列机制、推拉结合模式、集群化部署。 -- 探索 AI 前沿工程实践,理解 Context Engineer 与 Harness Engineer,理解智能体架构、权限治理、可插拔配置等。 diff --git a/scripts/build.mjs b/scripts/build.mjs new file mode 100644 index 0000000..17766d0 --- /dev/null +++ b/scripts/build.mjs @@ -0,0 +1,83 @@ +// scripts/build.mjs —— 构建入口:合并数据 → 渲染 HTML + 纯文本 → 输出 dist/ +import fs from 'node:fs'; +import path from 'node:path'; +import Handlebars from 'handlebars'; +import { ROOT, DIST, loadAll, buildView, buildNav, banner } from './lib.mjs'; + +// ---------- Handlebars 辅助 ---------- +const esc = (s) => Handlebars.escapeExpression(s ?? ''); +Handlebars.registerHelper('br', (arr) => new Handlebars.SafeString((arr || []).map((x) => esc(x)).join('
'))); +Handlebars.registerHelper('nl', (arr) => (arr || []).join('\n')); +Handlebars.registerHelper('joinComma', (arr) => (arr || []).join(', ')); +Handlebars.registerHelper('add1', (i) => Number(i) + 1); + +// ---------- 模板(txt 模板关闭 HTML 转义) ---------- +const tplCache = new Map(); +function tpl(rel) { + if (!tplCache.has(rel)) { + const file = path.join(ROOT, 'templates', rel); + const isTxt = rel.includes('/txt/') || rel.endsWith('.txt.hbs'); + tplCache.set(rel, Handlebars.compile(fs.readFileSync(file, 'utf8'), { strict: false, noEscape: isTxt })); + } + return tplCache.get(rel); +} + +function writeOut(rel, content) { + const file = path.join(DIST, rel); + fs.mkdirSync(path.dirname(file), { recursive: true }); + fs.writeFileSync(file, content); +} + +// ---------- 构建 ---------- +const data = loadAll(); +const views = data.variants.map((v) => buildView(v, data)); +const matrix = buildNav(views); +const navCtx = { + name: data.base.name, + contact: data.base.contact, + links: data.base.links || [], + site: data.base.site, + matrix, + views, +}; + +const pageTpl = tpl('page.html.hbs'); +const resumeTxtTpl = tpl('resume.txt.hbs'); + +for (const view of views) { + // HTML:逐板块渲染后拼装(第一板块为基本信息 header) + const rendered = view.sections.map((s) => ({ + id: s.id, + html: tpl(`html/${s.html}.hbs`)(s.ctx), + })); + const headerHtml = rendered[0].html; + const bodyHtml = rendered.slice(1).map((r) => r.html).join('\n'); + const html = pageTpl({ + meta: view.meta, + theme: view.theme, + selfUrl: view.selfUrl, + baseUrl: view.merged.site.baseUrl, + txtUrl: view.txtPath, + headerHtml, + bodyHtml, + }); + writeOut(path.join(view.companyId, view.roleId, 'index.html'), html); + + // 纯文本:逐板块渲染 + 横幅标题(板块间空一行) + const blocks = view.sections.map((s) => banner(s.title) + tpl(`txt/${s.txt}.txt.hbs`)(s.ctx).trimEnd() + '\n\n'); + const txt = resumeTxtTpl({ sections: blocks }).trimEnd() + '\n'; + writeOut(path.join('txt', view.companyId, view.roleId, 'index.txt'), txt); +} + +// 导航页与纯文本选择页 +writeOut('index.html', tpl('nav.html.hbs')(navCtx)); +writeOut('txt/index.html', tpl('txt-index.html.hbs')(navCtx)); + +// 静态资源 +fs.cpSync(path.join(ROOT, 'css'), path.join(DIST, 'css'), { recursive: true }); +fs.cpSync(path.join(ROOT, 'img'), path.join(DIST, 'img'), { recursive: true }); + +console.log(`构建完成:${views.length} 份简历(HTML + txt)+ 导航页 → ${path.relative(ROOT, DIST)}/`); +for (const v of views) { + console.log(` ${v.path.padEnd(20)} ${v.meta.title}${v.isDefault ? '(默认)' : ''}`); +} diff --git a/scripts/check.mjs b/scripts/check.mjs new file mode 100644 index 0000000..d2a4262 --- /dev/null +++ b/scripts/check.mjs @@ -0,0 +1,106 @@ +// scripts/check.mjs —— 构建自检:必填字段、跨层同键、占位符残留、产物完整性 +import fs from 'node:fs'; +import path from 'node:path'; +import { ROOT, DIST, loadAll, buildView, SECTION_REGISTRY, keyPaths, isObj } from './lib.mjs'; + +const errors = []; +const warnings = []; +const err = (m) => errors.push(m); +const warn = (m) => warnings.push(m); + +const data = loadAll(); +const views = []; + +// 1. 视图构建 + 必填字段 +for (const v of data.variants) { + const label = `${v.company}-${v.role}`; + let view; + try { + view = buildView(v, data); + } catch (e) { + err(`[${label}] 视图构建失败:${e.message}`); + continue; + } + views.push(view); + const m = view.merged; + for (const [key, val] of [ + ['name', m.name], + ['contact.phone', m.contact && m.contact.phone], + ['contact.email', m.contact && m.contact.email], + ['education.school', m.education && m.education.school], + ['education.major', m.education && m.education.major], + ['site.baseUrl', m.site && m.site.baseUrl], + ]) { + if (!val) err(`[${label}] 缺少必填字段 ${key}`); + } + if (!v.sections || !v.sections.length) err(`[${label}] 未声明任何板块`); + if (!v.meta || !v.meta.title) warn(`[${label}] 未设置 meta.title,将使用默认标题`); + if (!v.meta || !v.meta.description) warn(`[${label}] 未设置 meta.description`); + + // 板块内引用的经历 id 必须存在 + const expIds = new Set(Object.keys(m.experiences || {})); + for (const [orderKey, ids] of Object.entries(m.order || {})) { + for (const id of ids) if (!expIds.has(id)) err(`[${label}] order.${orderKey} 引用了不存在的经历 "${id}"`); + } + for (const [id, exp] of Object.entries(m.experiences || {})) { + if (exp && exp.bullets && !exp.bullets.length) warn(`[${label}] ${id} 的 bullets 为空`); + if (exp && exp.bullets === undefined && (exp.kind === 'internship' || exp.kind === 'project')) { + warn(`[${label}] ${id} 缺少 bullets(是否遗漏岗位维度内容?)`); + } + } +} + +// 2. 跨层同键检查(同一字段改了一层、被另一层覆盖的风险) +// 仅对比「内容层」:companies/.yaml 与 roles/.yaml 的键路径交集 +const META_KEYS = new Set(['navLabel', 'theme']); +for (const [cname, company] of Object.entries(data.companies)) { + for (const [rname, role] of Object.entries(data.roles)) { + const a = keyPaths(company); + const b = keyPaths(role); + for (const p of a) { + if (b.has(p) && !META_KEYS.has(p.split('.')[0])) { + warn(`companies/${cname}.yaml 与 roles/${rname}.yaml 同时定义了 "${p}"(合并时 roles 层覆盖 companies 层,请确认是否有意)`); + } + } + } +} + +// 变体覆盖数量提醒(防 override 滥用导致"维度共享"失效) +for (const v of data.variants) { + const n = keyPaths(v.overrides || {}).size; + if (n > 12) warn(`[variants] ${v.company}-${v.role} 的 overrides 有 ${n} 个字段,数量偏多,请确认是否应下沉到维度层`); +} + +// 3. dist 产物检查 +const expected = []; +for (const v of views) { + expected.push(path.join(v.companyId, v.roleId, 'index.html')); + expected.push(path.join('txt', v.companyId, v.roleId, 'index.txt')); +} +expected.push('index.html', 'txt/index.html', 'css/base.css', 'css/theme-private.css', 'css/theme-soe.css', 'css/nav.css'); + +for (const rel of expected) { + if (!fs.existsSync(path.join(DIST, rel))) err(`缺少构建产物 dist/${rel.replace(/\\/g, '/')}`); +} + +const LEAK = /\{\{|\}\}|undefined|\[object Object\]|(^|[^A-Za-z])NaN([^A-Za-z]|$)/; +const titles = new Set(); +for (const rel of expected.filter((f) => /\.(html|txt)$/.test(f))) { + const file = path.join(DIST, rel); + if (!fs.existsSync(file)) continue; + const text = fs.readFileSync(file, 'utf8'); + const m = text.match(LEAK); + if (m) err(`dist/${rel.replace(/\\/g, '/')} 疑似模板残留或非法值:"${m[0]}"`); + if (rel.endsWith('.html') && rel !== 'index.html' && rel !== 'txt/index.html') { + const t = text.match(/([^<]+)<\/title>/); + if (t) titles.add(t[1]); + } + if (rel.endsWith('.txt') && !text.includes('【基本信息】')) err(`dist/${rel.replace(/\\/g, '/')} 缺少【基本信息】段`); +} +if (views.length && titles.size !== views.length) err(`简历页 <title> 不唯一(${titles.size} 个不同标题 / ${views.length} 份简历)`); + +// ---------- 汇总 ---------- +for (const w of warnings) console.log(`[警告] ${w}`); +for (const e of errors) console.log(`[错误] ${e}`); +console.log(`检查完成:${views.length} 份视图,${errors.length} 个错误,${warnings.length} 个警告`); +if (errors.length) process.exit(1); diff --git a/scripts/lib.mjs b/scripts/lib.mjs new file mode 100644 index 0000000..3678cac --- /dev/null +++ b/scripts/lib.mjs @@ -0,0 +1,246 @@ +// scripts/lib.mjs —— 数据加载、分层合并、视图构建(build.mjs 与 check.mjs 共用) +import fs from 'node:fs'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; +import YAML from 'yaml'; + +export const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..'); +export const DIST = path.join(ROOT, 'dist'); + +export const CIRCLED = ['①', '②', '③', '④', '⑤']; + +const BANNER_WIDTH = 80; +export const banner = (title) => + `${'='.repeat(BANNER_WIDTH)}\n【${title}】\n${'='.repeat(BANNER_WIDTH)}\n\n`; + +// ---------- 数据加载 ---------- +export function readYaml(rel) { + return YAML.parse(fs.readFileSync(path.join(ROOT, rel), 'utf8')); +} + +function stem(f) { + return f.replace(/\.ya?ml$/i, ''); +} + +export function keyByStem(rel) { + const dir = path.join(ROOT, rel); + const out = {}; + for (const f of fs.readdirSync(dir).filter((x) => /\.ya?ml$/i.test(x)).sort()) { + out[stem(f)] = YAML.parse(fs.readFileSync(path.join(dir, f), 'utf8')); + } + return out; +} + +export function loadAll() { + const base = readYaml('data/base.yaml'); + const expMap = keyByStem('data/experiences'); + base.experiences = expMap; + return { + base, + companies: keyByStem('data/companies'), + roles: keyByStem('data/roles'), + variants: Object.values(keyByStem('data/variants')), + }; +} + +// ---------- 深合并(对象合并,数组整体替换,后层覆盖前层) ---------- +export const isObj = (v) => v !== null && typeof v === 'object' && !Array.isArray(v); + +export function deepMerge(a, b) { + if (b === undefined) return a; + if (Array.isArray(b) || Array.isArray(a)) return b; + if (isObj(a) && isObj(b)) { + const out = { ...a }; + for (const k of Object.keys(b)) out[k] = deepMerge(a[k], b[k]); + return out; + } + return b; +} + +// 递归收集对象键路径(数组视为叶子),用于跨层同键检查 +export function keyPaths(obj, prefix = '', out = new Set()) { + if (!isObj(obj)) return out; + for (const [k, v] of Object.entries(obj)) { + const p = prefix ? `${prefix}.${k}` : k; + if (isObj(v)) keyPaths(v, p, out); + else out.add(p); + } + return out; +} + +// ---------- 工具 ---------- +export function normalizeList(items) { + return (items || []).map((it) => (typeof it === 'string' ? { text: it } : { ...it })); +} + +function orderedExperiences(merged, kind, orderKey) { + const all = Object.values(merged.experiences || {}).filter((e) => e && e.kind === kind); + const order = (merged.order && merged.order[orderKey]) || []; + const listed = order.map((id) => all.find((e) => e.id === id)).filter(Boolean); + const rest = all.filter((e) => !order.includes(e.id)); + return [...listed, ...rest]; +} + +// ---------- 板块注册表:板块 id → 标题 / html 模板 / txt 模板 ---------- +export const SECTION_REGISTRY = { + education: { title: '教育经历', html: 'education', txt: 'education' }, + honors: { title: '荣誉奖项', html: 'honors', txt: 'honors' }, + internships: { title: '实习经历', html: 'entries', txt: 'entries' }, + campus: { title: '校园经历', html: 'campus', txt: 'campus' }, + projects: { title: '项目经历', html: 'projects', txt: 'projects' }, + certificates: { title: '证书', html: 'simple-list', txt: 'simple-list', listClass: 'exp-items' }, + studentWork: { title: '学生工作', html: 'student-work', txt: 'student-work' }, + socialPractice: { title: '社会实践', html: 'social-practice', txt: 'social-practice' }, + skills: { title: '专业技能', html: 'simple-list', txt: 'simple-list', listClass: 'skill-items', sep: ': ' }, + selfEval: { title: '自我评价', html: 'simple-list', txt: 'simple-list', listClass: 'skill-items', sep: ':' }, +}; + +// ---------- 变体视图构建 ---------- +export function buildView(v, data) { + const company = data.companies[v.company]; + const role = data.roles[v.role]; + if (!company) throw new Error(`变体 ${v.company}-${v.role} 引用了未知企业维度 "${v.company}"`); + if (!role) throw new Error(`变体 ${v.company}-${v.role} 引用了未知岗位维度 "${v.role}"`); + + // 合并优先级:base → companies → roles → variants.overrides + const merged = deepMerge(deepMerge(deepMerge(data.base, company), role), v.overrides || {}); + + const variantPath = `/${v.company}/${v.role}`; + const selfUrl = `${merged.site.baseUrl}${variantPath}`; + + const intentParts = (merged.intent || []).map((text, i) => ({ num: CIRCLED[i] || `${i + 1}.`, text })); + const links = [ + { label: '线上简历', url: selfUrl, display: selfUrl }, + ...(merged.links || []).map((l) => ({ ...l, display: l.text || l.url })), + ]; + const headerCfg = merged.header || {}; + const header = { + layout: headerCfg.layout === 'formal' ? 'formal' : 'compact', + photo: merged.photo || null, + politicalStatus: merged.politicalStatus || null, + headline: merged.headline || null, + intentParts, + intentLine: intentParts.map((p) => `${p.num} ${p.text}`).join(' '), + techTags: merged.techTags || [], + techTagsText: (merged.techTags || []).join(', '), + showLinks: headerCfg.showLinks !== false, + showExpCert: headerCfg.showExpCert !== false, + links, + }; + + // 荣誉:展示方式与筛选由企业维度 honorDisplay 控制 + const hd = merged.honorDisplay || {}; + let honors = (merged.honors || []).map((h) => ({ ...h })); + if (Array.isArray(hd.show) && hd.show.length) { + honors = hd.show.map((id) => honors.find((h) => h.id === id)).filter(Boolean); + } + const honorsView = { + honors, + left: honors.filter((h) => h.cert), + right: honors.filter((h) => !h.cert), + layoutTwoCol: hd.layout === 'two-col', + showDate: hd.display === 'date', + }; + + const projCfg = merged.projects || {}; + const baseCtx = { ...merged, header, title: '', listClass: '', sep: '' }; + const camp = orderedExperiences(merged, 'camp', 'campus')[0] || null; + + // 基本信息(header)恒为第一板块,模板按企业维度版式选择 + const headerSection = { + id: 'header', + title: '基本信息', + html: `header-${header.layout}`, + txt: `header-${header.layout}`, + ctx: { ...baseCtx, title: '基本信息' }, + }; + + const contentSections = (v.sections || []).map((id) => { + const reg = SECTION_REGISTRY[id]; + if (!reg) throw new Error(`变体 ${v.company}-${v.role} 声明了未知板块 "${id}"`); + const common = { ...baseCtx, title: reg.title, listClass: reg.listClass || 'skill-items', sep: reg.sep || ':' }; + switch (id) { + case 'education': + return { id, ...reg, ctx: common }; + case 'honors': + return { id, ...reg, ctx: { ...common, ...honorsView } }; + case 'internships': + return { + id, ...reg, + ctx: { + ...common, + items: orderedExperiences(merged, 'internship', 'internships').map((e) => ({ ...e, bullets: e.bullets || [] })), + }, + }; + case 'projects': + return { + id, ...reg, + ctx: { + ...common, + projIntroDashed: projCfg.introStyle === 'dashed', + showWorkTitle: projCfg.showWorkTitle === true, + items: orderedExperiences(merged, 'project', 'projects').map((e) => ({ ...e, bullets: e.bullets || [] })), + }, + }; + case 'campus': + return { id, ...reg, ctx: { ...common, line: (merged.campus && merged.campus.line) || [], featured: camp } }; + case 'certificates': + return { id, ...reg, ctx: { ...common, items: normalizeList(merged.certificates) } }; + case 'studentWork': + return { id, ...reg, ctx: { ...common, items: merged.studentWork || [] } }; + case 'socialPractice': + return { id, ...reg, ctx: { ...common, practice: merged.socialPractice || {} } }; + case 'skills': + case 'selfEval': + return { id, ...reg, ctx: { ...common, items: normalizeList(merged[id]) } }; + default: + return { id, ...reg, ctx: common }; + } + }); + + const meta = v.meta || {}; + const title = meta.title || `何朝晖 · ${role.navLabel}(${company.navLabel}版)`; + const description = meta.description || `${merged.name}个人简历 - ${role.navLabel}(${company.navLabel}投递版)`; + + return { + id: `${v.company}-${v.role}`, + companyId: v.company, + roleId: v.role, + company, + role, + path: `${variantPath}/`, + txtPath: `/txt${variantPath}`, + selfUrl, + theme: company.theme || v.company, + meta: { title, description }, + nav: v.nav || {}, + isDefault: v.default === true, + merged, + header, + honors: honorsView, + sections: [headerSection, ...contentSections], + }; +} + +// ---------- 导航矩阵 ---------- +function orderIdx(list, x) { + const i = list.indexOf(x); + return i === -1 ? 99 : i; +} + +export function buildNav(views) { + const companyOrder = ['private', 'soe']; + const roleOrder = ['dev', 'support']; + const companies = [...new Set(views.map((v) => v.companyId))].sort((a, b) => orderIdx(companyOrder, a) - orderIdx(companyOrder, b)); + const roles = [...new Set(views.map((v) => v.roleId))].sort((a, b) => orderIdx(roleOrder, a) - orderIdx(roleOrder, b)); + return { + companies: companies.map((c) => ({ id: c, navLabel: views.find((v) => v.companyId === c).company.navLabel })), + rows: roles.map((r) => ({ + id: r, + navLabel: views.find((v) => v.roleId === r).role.navLabel, + cells: companies + .map((c) => views.find((v) => v.companyId === c && v.roleId === r)) + .filter(Boolean), + })), + }; +} diff --git a/scripts/serve.mjs b/scripts/serve.mjs new file mode 100644 index 0000000..212b4f4 --- /dev/null +++ b/scripts/serve.mjs @@ -0,0 +1,67 @@ +// scripts/serve.mjs —— 本地预览静态服务器(模拟 nginx 路由,含旧地址 301) +import http from 'node:http'; +import fs from 'node:fs'; +import path from 'node:path'; +import { DIST } from './lib.mjs'; + +const PORT = Number(process.env.PORT || 4173); + +const MIME = { + '.html': 'text/html; charset=utf-8', + '.css': 'text/css; charset=utf-8', + '.js': 'text/javascript; charset=utf-8', + '.svg': 'image/svg+xml', + '.png': 'image/png', + '.jpg': 'image/jpeg', + '.jpeg': 'image/jpeg', + '.gif': 'image/gif', + '.ico': 'image/x-icon', + '.txt': 'text/plain; charset=utf-8', +}; + +const REDIRECTS = { + '/resume': '/private/dev/', + '/resume/': '/private/dev/', + '/soe': '/soe/dev/', + '/soe/': '/soe/dev/', + '/txt/resume': '/txt/private/dev', + '/txt/soe': '/txt/soe/dev', + '/other': '/', + '/other/': '/', + '/txt/': '/txt', +}; + +function send(res, file, forceType) { + if (!fs.existsSync(file) || fs.statSync(file).isDirectory()) { + res.writeHead(404, { 'Content-Type': 'text/plain; charset=utf-8' }); + return res.end('404 Not Found'); + } + const ext = path.extname(file).toLowerCase(); + res.writeHead(200, { 'Content-Type': forceType || MIME[ext] || 'application/octet-stream' }); + res.end(fs.readFileSync(file)); +} + +http + .createServer((req, res) => { + const p = decodeURIComponent(new URL(req.url, 'http://localhost').pathname); + if (REDIRECTS[p]) { + res.writeHead(301, { Location: REDIRECTS[p] }); + return res.end(); + } + if (p.startsWith('/other/') || p.startsWith('/resume/')) { + res.writeHead(301, { Location: p.startsWith('/resume/') ? '/private/dev/' : '/' }); + return res.end(); + } + const txtMatch = p.match(/^\/txt\/(private|soe)\/(dev|support)$/); + if (txtMatch) return send(res, path.join(DIST, 'txt', txtMatch[1], txtMatch[2], 'index.txt')); + if (p === '/txt') return send(res, path.join(DIST, 'txt', 'index.html')); + + let file = path.join(DIST, p); + if (p.endsWith('/')) file = path.join(file, 'index.html'); + else if (fs.existsSync(file) && fs.statSync(file).isDirectory()) { + res.writeHead(301, { Location: `${p}/` }); + return res.end(); + } + send(res, file); + }) + .listen(PORT, () => console.log(`本地预览:http://localhost:${PORT}/ (dist/)`)); diff --git a/soe/index.html b/soe/index.html deleted file mode 100644 index 50027a5..0000000 --- a/soe/index.html +++ /dev/null @@ -1,251 +0,0 @@ -<!DOCTYPE html> -<html lang="zh-CN"> -<head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>何朝晖 - 简历 - - - -
- -
-
-
何朝晖
-
-
-
- - 后端开发工程师 / 全栈开发工程师 -
-
- - 共青团员 -
-
-
-
- - 15671623703 -
-
- - hezhaohui0807@163.com -
-
-
-
- 证件照 -
- - -
-
教育经历
-
-
- 武汉科技大学省部共建 - 计算机科学与技术 【国家级一流专业 | ESI 0.495%】 - 本科 -
-
2023-09 ~ 2027-06
-
-
- - -
-
荣誉奖项
-
-
-
- - "金山杯"华中地区高校第十八届程序设计邀请赛 - 三等奖 -
-
2024-04
-
-
-
- - 国际大学生程序设计竞赛(ICPC)湖北省赛 - 优秀奖 -
-
2024-06
-
-
-
- - -
-
实习经历
-
-
国家网络安全人才与创新基地 | 武汉金银湖实验室
- 平台技术部 后端开发 -
2025-11 ~ 2026-03
-
-
单位简介中央网信办批复、部市共建的全国首个国家网络安全人才与创新基地;金银湖实验室由华中科技大学牵头,联合武汉大学、中国船舶七〇九所共建,面向国家关键单位开展安全技术攻关。
-
    -
  • 参与面向国家关键单位的网络安全 SaaS 平台核心研发,负责租户隔离、权限管控与 API 计费等关键模块的设计与实现,支撑多租户安全服务稳定落地。
  • -
  • 构建组件安全风险评估能力,整合漏洞情报与供应链信息形成统一风险视图,与态势感知安全中心联动,为安全运营与风险决策提供数据支撑。
  • -
  • 设计 API 计费网关,支持按月订阅与按调用量两种计费模式,以幂等计量与对账机制保障计量准确、账单可追溯、无重复计费,支撑业务规范化结算。
  • -
  • 面向高并发场景建设 API 流量治理与限流能力,实现超额请求平滑拦截与异常自动降级,守住服务可用性底线。
  • -
- -
-
七牛云 | 上海七牛信息技术有限公司
- 产品研发部-基础架构部 全栈开发 -
2026-07 ~ 2026-08
-
-
单位简介香港上市的云与 AI 平台服务商(02567.HK),国内领先的独立音视频云平台,高新技术企业、上海市“专精特新”企业,服务 180 万+ 开发者与小红书、蔚来、快手等头部客户。
-
    -
  • 围绕内部基础服务治理,参与基础架构平台建设,打通服务注册、数据源自动注册、网络探测、监控告警与日志接入链路,提升基础服务可观测与运维效率。
  • -
  • 面向多系统统一登录需求,从零搭建多协议单点认证网关,支持 SAML 2.0 加密断言解密与 OAuth2、OIDC 等主流单点登录协议,会话可即时吊销,保障账号与数据安全。
  • -
  • 开发数据库自动化运维工具,覆盖 PostgreSQL 高可用集群搭建、MySQL 自动化部署与故障转移等场景,以工具化替代人工操作、提升交付效率。
  • -
- -
- - -
-
校园经历
-
- 武汉科技大学领航工作室(2024) - | - 字节跳动青训营(2025) - | - 东软集团生产实习(2026) -
- -
- - -
-
项目经历
-
-
- ThumbUP · 高并发互动服务中台 - 后端开发 【 哔哩哔哩技术团队 - 架构设计】 -
-
2025-10 ~ 2025-11
-
- -
- 中台化高并发点赞系统,为多业务线提供统一的点赞交互与查询服务,支撑海量数据与高并发访问场景。 -
以高可用、可扩展为目标,保障点赞数据准确可靠、服务持续在线。
-
-
主要工作:
-
    -
  1. 从保障数据准确与服务稳定出发,完善缓存防护机制,防止异常请求压垮存储层、热点数据引发重建压力,保障系统平稳运行。
  2. -
  3. 构建多级缓存体系,热点数据就近读取,降低后端存储压力,提升用户点赞与查询的响应体验。
  4. -
  5. 保证点赞操作不丢失、不重复,采用异步批量入库与定期核对补偿,在高并发下兼顾处理性能与计数准确。
  6. -
  7. 支持热点内容识别与运营洞察,动态跟踪高频对象、及时淘汰过期热点,使资源分配更贴合真实流量变化。
  8. -
  9. 单机与集群部署下均保障并发写入数据一致,多实例并行处理结果正确,支撑业务横向扩展与稳定运行。
  10. -
- -
-
- Gen2D · AI 美术资产生成智能体 - 全栈开发 【七牛云 XEngineer 开源项目 - 🥉三等奖】 -
-
2026-05 ~ 2026-06
-
- -
- 面向内容生产的 AI 素材生成平台,输入提示词即可产出风格统一的角色、场景、界面与动画素材。 -
支持补充世界观与参考图等项目设定,产出更贴合风格的可用素材,帮助团队缩短出图周期、加快内容迭代。 -
-
-
主要工作:
-
    -
  1. 围绕生成质量与稳定性,搭建多阶段智能生成流程,支持过程自检、反馈修正,保障素材风格一致。
  2. -
  3. 面向多用户并发使用,设计接口流量保护与资源配额机制,避免异常请求挤占算力,保障平台稳定。
  4. -
  5. 完善运行监控与任务状态跟踪,异常可及时发现定位,支撑日常运维与持续迭代,提升交付可靠性。
  6. -
  7. 兼顾试点部署与规模化推广,任务调度支持单机与多机弹性伸缩,高峰期任务不积压,生成服务平滑扩展。
  8. -
  9. 面向不同项目风格差异,支持按需配置生成偏好并引入项目设定参考,产出更贴合用户需求,提升生成质量。
  10. -
-
- - -
-
证书
-
    -
  • 大学英语四级(CET-4)
  • -
  • 华为 HarmonyOS 应用开发者基础认证
  • -
-
- - -
-
学生工作
-
    -
  • 2023-09 ~ 2025-06 班级宣传委员:负责活动设计与新媒体推送,展现班级风采、增强班级凝聚力。
  • -
  • 2024-09 ~ 2025-06 心理健康中心部员:协助心理健康宣传与主题活动组织,服务同学心理成长需求。
  • -
  • 2024-08 ~ 2024-09 迎新志愿者:协助新生报到、行李搬运与校园引导,帮助新同学快速适应校园生活。
  • -
-
- - -
-
社会实践
-
-
“光影科技 共创未来”暑期社会实践
- 共青团湖北省委员会 优秀示范项目 -
2024-07 ~ 2024-08
-
-
    -
  • 不畏酷暑、全程投入,暑期连续辗转省内 10 余个区县“暑假学堂”点位,长途往返随队搬运教具、布置场地、调试影音设备,保障每场活动如期开展。
  • -
  • 以“互动科普讲座+观影”形式为少年儿童普及电影制作技术与发展,结合科幻电影与现实科技成果对照讲解前沿科技、手把手演示 Scratch 少儿编程入门。
  • -
  • 课前精心备课、反复打磨讲稿与演示案例,课后逐场复盘、耐心答疑并收集反馈;主动承担物资清点、签到引导等事务性工作,不怕吃苦、踏实肯干,以实际行动服务基层少年儿童、丰富假期生活、提升科学素养。
  • -
-
- - -
-
专业技能
-
    -
  • Java: 常用数据结构、中间件、并发模型、垃圾回收机制;能够使用 JFR 等工具进行性能排查
  • -
  • SpringBoot: IoC/AOP、自动装配原理、Starter 封装、事务管理、拦截器与全局异常处理
  • -
  • 分布式微服务: 服务注册与发现、负载均衡、限流熔断、配置中心、幂等控制、分布式锁及分布式事务
  • -
  • 数据库: MySQL 事务隔离、B+树索引优化及 MVCC 机制;Redis 混合持久化策略、集群、哨兵机制
  • -
  • 消息队列: 主流中间件选型、路由、持久化原理、事务、死信队列机制、推拉结合模式、集群化部署
  • -
  • K8s: 集群环境下的应用发布、弹性扩缩容、灰度发布、健康检查及可观测体系建设
  • -
  • AI 工程化: 智能体(Agent)架构设计、上下文工程、权限治理与可插拔配置
  • -
-
- - -
-
自我评价
-
    -
  • 热爱开发:在七牛云基础架构、国家网络安全 SaaS 平台实习,参与交付认证网关、数据库高可用集群、自动化运维等模块,工程与交付习惯规范
  • -
  • 持续学习:积极参加算法竞赛与技术训练营,持续探索 AI 工程化方向并有项目实践,保持对技术的学习热忱
  • -
  • 善于沟通:担任班级宣传委员,积极参与志愿服务、学生工作,做事主动、责任心强、吃苦耐劳
  • -
  • 兴趣爱好:喜爱羽毛球、乒乓球等球类运动,配合意识好;长期坚持长跑,也喜爱爬山、骑行、徒步
  • -
-
-
- - diff --git a/soe/index.txt b/soe/index.txt deleted file mode 100644 index 7957f1f..0000000 --- a/soe/index.txt +++ /dev/null @@ -1,156 +0,0 @@ -================================================================================ -【基本信息】 -================================================================================ - -姓名:何朝晖 -求职意向:后端开发工程师 / 全栈开发工程师 -政治面貌:共青团员 -手机:15671623703 -邮箱:hezhaohui0807@163.com - -================================================================================ -【教育经历】 -================================================================================ - -学校:武汉科技大学(省部共建) -专业:计算机科学与技术(国家级一流专业 | ESI 0.495%) -学历:本科 -时间:2023-09 ~ 2027-06 - -================================================================================ -【荣誉奖项】 -================================================================================ - -- "金山杯"华中地区高校第十八届程序设计邀请赛 三等奖 2024-04 -- 国际大学生程序设计竞赛(ICPC)湖北省赛 优秀奖 2024-06 - -================================================================================ -【实习经历】 -================================================================================ - -公司:国家网络安全人才与创新基地 | 武汉金银湖实验室 -部门:平台技术部 -职位:后端开发 -时间:2025-11 ~ 2026-03 -单位简介:中央网信办批复、部市共建的全国首个国家网络安全人才与创新基地;金银湖实验室由华中科技大学牵头,联合武汉大学、中国船舶七〇九所共建,面向国家关键单位开展安全技术攻关。 - -工作内容: -- 参与面向国家关键单位的网络安全 SaaS 平台核心研发,负责租户隔离、权限管控与 API 计费等关键模块的设计与实现,支撑多租户安全服务稳定落地。 -- 构建组件安全风险评估能力,整合漏洞情报与供应链信息形成统一风险视图,与态势感知安全中心联动,为安全运营与风险决策提供数据支撑。 -- 设计 API 计费网关,支持按月订阅与按调用量两种计费模式,以幂等计量与对账机制保障计量准确、账单可追溯、无重复计费,支撑业务规范化结算。 -- 面向高并发场景建设 API 流量治理与限流能力,实现超额请求平滑拦截与异常自动降级,守住服务可用性底线。 - ---- - -公司:七牛云 | 上海七牛信息技术有限公司 -部门:产品研发部-基础架构部 -职位:全栈开发 -时间:2026-07 ~ 2026-08 -单位简介:香港上市的云与 AI 平台服务商(02567.HK),国内领先的独立音视频云平台,高新技术企业、上海市“专精特新”企业,服务 180 万+ 开发者与小红书、蔚来、快手等头部客户。 - -工作内容: -- 围绕内部基础服务治理,参与基础架构平台建设,打通服务注册、数据源自动注册、网络探测、监控告警与日志接入链路,提升基础服务可观测与运维效率。 -- 面向多系统统一登录需求,从零搭建多协议单点认证网关,支持 SAML 2.0 加密断言解密与 OAuth2、OIDC 等主流单点登录协议,会话可即时吊销,保障账号与数据安全。 -- 开发数据库自动化运维工具,覆盖 PostgreSQL 高可用集群搭建、MySQL 自动化部署与故障转移等场景,以工具化替代人工操作、提升交付效率。 - -================================================================================ -【校园经历】 -================================================================================ - -武汉科技大学领航工作室(2024) | 字节跳动青训营(2025) | 东软集团生产实习(2026) - -金山办公 WPS 菁英工程师训练营(2026-03 ~ 2026-05): -- AI 智能单词本:Go + Gin + GORM + MySQL + JWT + Docker Compose -- gRPC 文件上传微服务:Gin + gRPC + Protobuf + SQLite -- 灵犀 AI 对话助手:JavaScript + SSE + 通义千问 API + Markdown 渲染 -- 服务健康探测器:并发 + 令牌桶限流 + 重试机制 + 分级日志 + 表格驱动测试 - -================================================================================ -【项目经历】 -================================================================================ - -项目名称:ThumbUP · 高并发互动服务中台 -角色:后端开发 -来源:哔哩哔哩技术团队 - 架构设计 -时间:2025-10 ~ 2025-11 -链接:http://47.121.181.112:3000/wonder/thumb-up -技术栈:Java, MySQL, Redis - -项目简介: -中台化高并发点赞系统,为多业务线提供统一的点赞交互与查询服务,支撑海量数据与高并发访问场景。 -以高可用、可扩展为目标,保障点赞数据准确可靠、服务持续在线。 - -主要工作: -1. 从保障数据准确与服务稳定出发,完善缓存防护机制,防止异常请求压垮存储层、热点数据引发重建压力,保障系统平稳运行。 -2. 构建多级缓存体系,热点数据就近读取,降低后端存储压力,提升用户点赞与查询的响应体验。 -3. 保证点赞操作不丢失、不重复,采用异步批量入库与定期核对补偿,在高并发下兼顾处理性能与计数准确。 -4. 支持热点内容识别与运营洞察,动态跟踪高频对象、及时淘汰过期热点,使资源分配更贴合真实流量变化。 -5. 单机与集群部署下均保障并发写入数据一致,多实例并行处理结果正确,支撑业务横向扩展与稳定运行。 - ---- - -项目名称:Gen2D · AI 美术资产生成智能体 -角色:全栈开发 -来源:七牛云 XEngineer 开源项目 - 三等奖 -时间:2026-05 ~ 2026-06 -链接:https://gitee.com/hezhaohui123/gen2d -技术栈:Go, React - -项目简介: -面向内容生产的 AI 素材生成平台,输入提示词即可产出风格统一的角色、场景、界面与动画素材。 -支持补充世界观与参考图等项目设定,产出更贴合风格的可用素材,帮助团队缩短出图周期、加快内容迭代。 - -主要工作: -1. 围绕生成质量与稳定性,搭建多阶段智能生成流程,支持过程自检、反馈修正,保障素材风格一致。 -2. 面向多用户并发使用,设计接口流量保护与资源配额机制,避免异常请求挤占算力,保障平台稳定。 -3. 完善运行监控与任务状态跟踪,异常可及时发现定位,支撑日常运维与持续迭代,提升交付可靠性。 -4. 兼顾试点部署与规模化推广,任务调度支持单机与多机弹性伸缩,高峰期任务不积压,生成服务平滑扩展。 -5. 面向不同项目风格差异,支持按需配置生成偏好并引入项目设定参考,产出更贴合用户需求,提升生成质量。 - -================================================================================ -【证书】 -================================================================================ - -- 大学英语四级(CET-4) -- 华为 HarmonyOS 应用开发者基础认证 - -================================================================================ -【学生工作】 -================================================================================ - -- 2023-09 ~ 2025-06 班级宣传委员:负责活动设计与新媒体推送,展现班级风采、增强班级凝聚力。 -- 2024-09 ~ 2025-06 心理健康中心部员:协助心理健康宣传与主题活动组织,服务同学心理成长需求。 -- 2024-08 ~ 2024-09 迎新志愿者:协助新生报到、行李搬运与校园引导,帮助新同学快速适应校园生活。 - -================================================================================ -【社会实践】 -================================================================================ - -项目:“光影科技 共创未来”暑期社会实践 -荣誉:共青团湖北省委员会 优秀示范项目 -时间:2024-07 ~ 2024-08 - -- 不畏酷暑、全程投入,暑期连续辗转省内 10 余个区县“暑假学堂”点位,长途往返随队搬运教具、布置场地、调试影音设备,保障每场活动如期开展。 -- 以“互动科普讲座+观影”形式为少年儿童普及电影制作技术与发展,结合科幻电影与现实科技成果对照讲解前沿科技、手把手演示 Scratch 少儿编程入门。 -- 课前精心备课、反复打磨讲稿与演示案例,课后逐场复盘、耐心答疑并收集反馈;主动承担物资清点、签到引导等事务性工作,不怕吃苦、踏实肯干,以实际行动服务基层少年儿童、丰富假期生活、提升科学素养。 - -================================================================================ -【专业技能】 -================================================================================ - -- Java: 常用数据结构、中间件、并发模型、垃圾回收机制;能够使用 JFR 等工具进行性能排查 -- SpringBoot: IoC/AOP、自动装配原理、Starter 封装、事务管理、拦截器与全局异常处理 -- 分布式微服务: 服务注册与发现、负载均衡、限流熔断、配置中心、幂等控制、分布式锁及分布式事务 -- 数据库: MySQL 事务隔离、B+树索引优化及 MVCC 机制;Redis 混合持久化策略、集群、哨兵机制 -- 消息队列: 主流中间件选型、路由、持久化原理、事务、死信队列机制、推拉结合模式、集群化部署 -- K8s: 集群环境下的应用发布、弹性扩缩容、灰度发布、健康检查及可观测体系建设 -- AI 工程化: 智能体(Agent)架构设计、上下文工程、权限治理与可插拔配置 - -================================================================================ -【自我评价】 -================================================================================ - -- 热爱开发:在七牛云基础架构、国家网络安全 SaaS 平台实习,参与交付认证网关、数据库高可用集群、自动化运维等模块,工程与交付习惯规范 -- 持续学习:积极参加算法竞赛与技术训练营,持续探索 AI 工程化方向并有项目实践,保持对技术的学习热忱 -- 善于沟通:担任班级宣传委员,积极参与志愿服务、学生工作,做事主动、责任心强、吃苦耐劳 -- 兴趣爱好:喜爱羽毛球、乒乓球等球类运动,配合意识好;长期坚持长跑,也喜爱爬山、骑行、徒步 diff --git a/templates/html/campus.hbs b/templates/html/campus.hbs new file mode 100644 index 0000000..47bc296 --- /dev/null +++ b/templates/html/campus.hbs @@ -0,0 +1,20 @@ + +
+
{{title}}
+
+ {{#each line}}{{name}} {{name}}{{#unless @last}}|{{/unless}}{{/each}} +
+ {{#if featured}} + {{#with featured}} + + {{/with}} + {{/if}} +
diff --git a/templates/html/education.hbs b/templates/html/education.hbs new file mode 100644 index 0000000..fb6f1d8 --- /dev/null +++ b/templates/html/education.hbs @@ -0,0 +1,17 @@ + +
+
{{title}}
+
+
+ {{education.school}}{{education.schoolBadge}} + {{education.major}} 【{{education.majorNote}}】 + {{education.degree}} +
+
{{education.date}}
+
+ {{#if education.showItems}} +
    + {{#each education.items}}
  • {{date}} {{name}} {{name}}
  • {{/each}} +
+ {{/if}} +
diff --git a/templates/html/entries.hbs b/templates/html/entries.hbs new file mode 100644 index 0000000..59ec3fa --- /dev/null +++ b/templates/html/entries.hbs @@ -0,0 +1,16 @@ + +
+
{{title}}
+ {{#each items}} +
+
{{title}} {{title}}
+ {{dept}} {{position}} + {{#if ../header.showExpCert}}{{#if cert}}{{cert.label}}{{/if}}{{/if}} +
{{date}}
+
+
单位简介{{{br intro}}}
+
    + {{#each bullets}}
  • {{this}}
  • {{/each}} +
+ {{/each}} +
diff --git a/templates/html/header-compact.hbs b/templates/html/header-compact.hbs new file mode 100644 index 0000000..8359cd5 --- /dev/null +++ b/templates/html/header-compact.hbs @@ -0,0 +1,29 @@ + +
+
{{name}}
+
+
+
+ + {{contact.phone}} +
+
+ + {{contact.email}} +
+
+ + {{#each header.intentParts}}{{num}} {{text}}{{/each}} +
+
+ + {{#each header.techTags}}{{this}}{{/each}} +
+
+ {{#if header.showLinks}} +
+ {{#each header.links}}{{label}}:{{display}}{{/each}} +
+ {{/if}} +
+
diff --git a/templates/html/header-formal.hbs b/templates/html/header-formal.hbs new file mode 100644 index 0000000..9cdce29 --- /dev/null +++ b/templates/html/header-formal.hbs @@ -0,0 +1,29 @@ + +
+
+
{{name}}
+
+
+
+ + {{header.headline}} +
+
+ + {{header.politicalStatus}} +
+
+
+
+ + {{contact.phone}} +
+
+ + {{contact.email}} +
+
+
+
+ 证件照 +
diff --git a/templates/html/honors.hbs b/templates/html/honors.hbs new file mode 100644 index 0000000..fcff9b8 --- /dev/null +++ b/templates/html/honors.hbs @@ -0,0 +1,42 @@ + +
+
{{title}}
+ {{#if layoutTwoCol}} +
+
+ {{#each left}} +
+
+ {{name}} + {{name}} + {{badge}} +
+ 证书 +
+ {{/each}} +
+
+ {{#each right}} +
+
+ {{name}} + {{name}} + {{badge}} +
+
+ {{/each}} +
+
+ {{else}} + {{#each honors}} +
+
+ {{name}} + {{name}} + {{badge}} +
+ {{#if ../showDate}}
{{date}}
{{/if}} +
+ {{/each}} + {{/if}} +
diff --git a/templates/html/projects.hbs b/templates/html/projects.hbs new file mode 100644 index 0000000..c13ef81 --- /dev/null +++ b/templates/html/projects.hbs @@ -0,0 +1,26 @@ + +
+
{{title}}
+ {{#each items}} +
+
+ {{title}} + {{role}} 【{{#if sourceLogo}} {{/if}}{{source}}】 +
+
{{date}}
+
+ + {{#if ../projIntroDashed}} +
{{{br intro}}}
+ {{else}} +
项目简介{{{br intro}}}
+ {{/if}} + {{#if ../showWorkTitle}}
主要工作:
{{/if}} +
    + {{#each bullets}}
  1. {{this}}
  2. {{/each}} +
+ {{/each}} +
diff --git a/templates/html/simple-list.hbs b/templates/html/simple-list.hbs new file mode 100644 index 0000000..161f601 --- /dev/null +++ b/templates/html/simple-list.hbs @@ -0,0 +1,7 @@ + +
+
{{title}}
+
    + {{#each items}}
  • {{#if label}}{{label}}{{../sep}}{{/if}}{{text}}
  • {{/each}} +
+
diff --git a/templates/html/social-practice.hbs b/templates/html/social-practice.hbs new file mode 100644 index 0000000..e8d1a89 --- /dev/null +++ b/templates/html/social-practice.hbs @@ -0,0 +1,12 @@ + +
+
{{title}}
+
+
{{practice.name}}
+ {{practice.honor}} +
{{practice.date}}
+
+
    + {{#each practice.bullets}}
  • {{this}}
  • {{/each}} +
+
diff --git a/templates/html/student-work.hbs b/templates/html/student-work.hbs new file mode 100644 index 0000000..9be967d --- /dev/null +++ b/templates/html/student-work.hbs @@ -0,0 +1,7 @@ + +
+
{{title}}
+
    + {{#each items}}
  • {{date}} {{title}}:{{desc}}
  • {{/each}} +
+
diff --git a/templates/nav.html.hbs b/templates/nav.html.hbs new file mode 100644 index 0000000..bf64d36 --- /dev/null +++ b/templates/nav.html.hbs @@ -0,0 +1,41 @@ + + + + + + 何朝晖 · 在线简历导航 + + + + + + + diff --git a/templates/page.html.hbs b/templates/page.html.hbs new file mode 100644 index 0000000..59e4422 --- /dev/null +++ b/templates/page.html.hbs @@ -0,0 +1,27 @@ + + + + + + {{meta.title}} + + + + + + + + + + +
+{{{headerHtml}}} +{{{bodyHtml}}} + +
+ + diff --git a/templates/resume.txt.hbs b/templates/resume.txt.hbs new file mode 100644 index 0000000..fcd645c --- /dev/null +++ b/templates/resume.txt.hbs @@ -0,0 +1 @@ +{{#each sections}}{{{this}}}{{/each~}} diff --git a/templates/txt-index.html.hbs b/templates/txt-index.html.hbs new file mode 100644 index 0000000..db7fd0a --- /dev/null +++ b/templates/txt-index.html.hbs @@ -0,0 +1,32 @@ + + + + + + 何朝晖 · 纯文本简历 + + + + + + + diff --git a/templates/txt/campus.txt.hbs b/templates/txt/campus.txt.hbs new file mode 100644 index 0000000..cdeec35 --- /dev/null +++ b/templates/txt/campus.txt.hbs @@ -0,0 +1,6 @@ +{{#each line}}{{name}}{{#unless @last}} | {{/unless}}{{/each}} +{{#if featured}} + +{{featured.title}}({{featured.date}}): +{{#each featured.items}}- {{this}} +{{/each}}{{/if~}} diff --git a/templates/txt/education.txt.hbs b/templates/txt/education.txt.hbs new file mode 100644 index 0000000..857cd1f --- /dev/null +++ b/templates/txt/education.txt.hbs @@ -0,0 +1,9 @@ +学校:{{education.school}}({{education.schoolBadge}}) +专业:{{education.major}}({{education.majorNote}}) +学历:{{education.degree}} +时间:{{education.date}} +{{#if education.showItems}} + +在校经历: +{{#each education.items}}- {{date}} {{name}} +{{/each}}{{/if~}} diff --git a/templates/txt/entries.txt.hbs b/templates/txt/entries.txt.hbs new file mode 100644 index 0000000..c50d446 --- /dev/null +++ b/templates/txt/entries.txt.hbs @@ -0,0 +1,14 @@ +{{#each items}}公司:{{title}} +部门:{{dept}} +职位:{{position}} +时间:{{date}} +单位简介:{{nl intro}} + +工作内容: +{{#each bullets}}- {{this}} +{{/each}} +{{#unless @last}} + +--- + +{{/unless}}{{/each~}} diff --git a/templates/txt/header-compact.txt.hbs b/templates/txt/header-compact.txt.hbs new file mode 100644 index 0000000..33b00f8 --- /dev/null +++ b/templates/txt/header-compact.txt.hbs @@ -0,0 +1,7 @@ +姓名:{{name}} +手机:{{contact.phone}} +邮箱:{{contact.email}} +求职意向:{{header.intentLine}} +技术栈:{{header.techTagsText}} +{{#each header.links}}{{#if txtLabel}}{{txtLabel}}{{else}}{{label}}{{/if}}:{{url}} +{{/each~}} diff --git a/templates/txt/header-formal.txt.hbs b/templates/txt/header-formal.txt.hbs new file mode 100644 index 0000000..b95be56 --- /dev/null +++ b/templates/txt/header-formal.txt.hbs @@ -0,0 +1,5 @@ +姓名:{{name}} +求职意向:{{header.headline}} +政治面貌:{{header.politicalStatus}} +手机:{{contact.phone}} +邮箱:{{contact.email}} diff --git a/templates/txt/honors.txt.hbs b/templates/txt/honors.txt.hbs new file mode 100644 index 0000000..f2ce677 --- /dev/null +++ b/templates/txt/honors.txt.hbs @@ -0,0 +1,2 @@ +{{#each honors}}- {{name}} {{badge}}{{#if ../showDate}} {{date}}{{/if}} +{{/each~}} diff --git a/templates/txt/projects.txt.hbs b/templates/txt/projects.txt.hbs new file mode 100644 index 0000000..0446b11 --- /dev/null +++ b/templates/txt/projects.txt.hbs @@ -0,0 +1,18 @@ +{{#each items}}项目名称:{{title}} +角色:{{role}} +来源:{{source}} +时间:{{date}} +链接:{{link}} +技术栈:{{joinComma tags}} + +项目简介: +{{nl intro}} + +主要工作: +{{#each bullets}}{{add1 @index}}. {{this}} +{{/each}} +{{#unless @last}} + +--- + +{{/unless}}{{/each~}} diff --git a/templates/txt/simple-list.txt.hbs b/templates/txt/simple-list.txt.hbs new file mode 100644 index 0000000..3248c33 --- /dev/null +++ b/templates/txt/simple-list.txt.hbs @@ -0,0 +1,2 @@ +{{#each items}}- {{#if label}}{{label}}{{../sep}}{{/if}}{{text}} +{{/each~}} diff --git a/templates/txt/social-practice.txt.hbs b/templates/txt/social-practice.txt.hbs new file mode 100644 index 0000000..6a73fb5 --- /dev/null +++ b/templates/txt/social-practice.txt.hbs @@ -0,0 +1,6 @@ +项目:{{practice.name}} +荣誉:{{practice.honor}} +时间:{{practice.date}} + +{{#each practice.bullets}}- {{this}} +{{/each~}} diff --git a/templates/txt/student-work.txt.hbs b/templates/txt/student-work.txt.hbs new file mode 100644 index 0000000..91fb0f5 --- /dev/null +++ b/templates/txt/student-work.txt.hbs @@ -0,0 +1,2 @@ +{{#each items}}- {{date}} {{title}}:{{desc}} +{{/each~}} diff --git a/txt/index.html b/txt/index.html deleted file mode 100644 index a05abe3..0000000 --- a/txt/index.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - 何朝晖 - 纯文本简历 - - - - - - -