Skip to content

Commit 514b520

Browse files
committed
update
1 parent 48edef4 commit 514b520

24 files changed

+1104
-1
lines changed

_posts/2024-5-30-ray-tracing-on-WebGPU.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ excerpt_separator: <!--more-->
2121

2222
## requirements
2323

24-
I have only tested this [project](https://c-none.github.io/Web-RTRT) on android 14 and windows 11 with both latest chrome and edge.
24+
I have only tested this [project](https://github.com/C-none/Web-RTRT) on android 14 and windows 11 with both latest chrome and edge.
2525

2626
For windows, if you have multiple GPUs, you may need to set system -> display -> graphic settings -> choose your browser to set preference -> high performance to have a better experience.
2727

assets/cv/resume/.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# nyc test coverage
18+
.nyc_output
19+
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21+
.grunt
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directories
30+
node_modules
31+
jspm_packages
32+
33+
# Optional npm cache directory
34+
.npm
35+
36+
# Optional REPL history
37+
.node_repl_history

assets/cv/resume/LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# The MIT License (MIT)
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

assets/cv/resume/Makefile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
SRC = $(wildcard *.tex)
2+
3+
PDFS = $(SRC:.tex=.pdf)
4+
5+
all: clean pdf
6+
7+
en: clean xelatex resume.tex
8+
9+
zh_CN: clean xelatex resume-zh_CN.tex
10+
11+
pdf: clean $(PDFS)
12+
13+
%.pdf: %.tex
14+
xelatex $<
15+
16+
ifeq ($(OS),Windows_NT)
17+
# on Windows
18+
RM = cmd //C del
19+
else
20+
# on Unix/Linux
21+
RM = rm -f
22+
endif
23+
24+
clean:
25+
$(RM) *.log *.aux *.bbl *.blg *.synctex.gz *.out *.toc *.lof *.idx *.ilg *.ind *.pdf

assets/cv/resume/README.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# 个人简历
2+
3+
本项目为个人简历 Latex 源码存放,同时包含效果图呈现,简历入口为 resume-zh_CN.tex, 修改自项目 [resume](https://github.com/billryan/resume/),若不想本地手动编译可以将该源码打包至 zip 直接上传至 ShareLatex 进行在线编译与预览。
4+
5+
## 项目说明
6+
7+
一个优雅的 \LaTeX\ 简历模板, 使用 \XeLaTeX\ 编译, 因为受不了古老的`res`和不太适合作为一页纸简历的`moderncv`, 遂自己动手写了这个模板, 受以下项目启发:
8+
9+
- [zachscrivena/simple-resume-cv](https://github.com/zachscrivena/simple-resume-cv)
10+
- [res](https://www.ctan.org/pkg/res)
11+
- [JianXu's CV](http://www.jianxu.net/en/files/JianXu_CV.pdf)
12+
- [paciorek's CV/Resume template](http://www.stat.berkeley.edu/~paciorek/computingTips/Latex_template_creating_CV_.html)
13+
- [How to write a LaTeX class file and design your own CV (Part 1) - ShareLaTeX](https://www.sharelatex.com/blog/2011/03/27/how-to-write-a-latex-class-file-and-design-your-own-cv.html)
14+
15+
*注:由于使用到 `fontspec` 包,编译器需选择 XeLaTeX。*
16+
17+
## 特性
18+
19+
- 极其容易定制和扩展 (`res`模板中枪倒地...)
20+
- 完善的 Unicode 字体支持, 因为用的是 \XeLaTeX\ 嘛
21+
- 完美的中文支持,使用 Adobefonts
22+
- 支持 FontAwesome 4.3.0 (目前还不支持使用别名)
23+
24+
### 效果输出
25+
26+
![resume-zh_CN.png](./resume.preview.png)
27+
28+
## 使用方法
29+
30+
1. OverLeaf 在线编译
31+
2. 使用较新的 \LaTeX\ 发行版在本地计算机编译
32+
33+
如果确定只需要中文简历的话单独克隆 `master` 分支即可, 需要注意的是该分支包含 Adobe 的宋楷黑仿四套中文字体,压缩包约为37MB。[下载地址](https://github.com/hijiangtao/resume/releases)
34+
35+
```
36+
git clone https://github.com/hijiangtao/resume.git --branch master --depth 1 --single-branch <folder>
37+
```
38+
39+
如果系统已确定安装有 Adobe 的四套中文字型,在文档的开始处使用包`zh_CN-Adobefonts_internal`, 如果没有安装则使用包`zh_CN-Adobefonts_external`, 在 ShareLaTeX 上编译需要使用包`zh_CN-Adobefonts_external`.
40+
41+
其他具体使用可参考给出的范例,都是极其简单易懂的宏,建议先看看 [How to write a LaTeX class file and design your own CV (Part 1) - ShareLaTeX](https://www.sharelatex.com/blog/2011/03/27/how-to-write-a-latex-class-file-and-design-your-own-cv.html)[How to write a LaTeX class file and design your own CV (Part 2) - ShareLaTeX](https://www.sharelatex.com/blog/2013/06/28/how-to-write-a-latex-class-file-and-design-your-own-cv.html) 了解下该模板的简单背景,下面就一些新定义的宏做简要介绍。
42+
43+
###
44+
45+
- `\name`: 姓名
46+
- `\contactInfo`: 联系信息, 需要三项信息,分别是{邮箱}{手机号}{个人主页}
47+
- `\basicContactInfo`: 简要的联系信息, 需要 项信息, 分别是{邮箱}{手机号}, 没有个人主页的用这个
48+
- `\section`: 用于分节, 如教育背景, 实习/项目经历等
49+
- `\subsection`: 用于小节标题, 无日期选项
50+
- `\datedsubsection`: 用于小节标题, 简历中使用最广,第二项为时间区间,自动右对齐
51+
- `\itemize`: 清单列表,简历中应用最广
52+
- `\enumerate`: 枚举列表,数字标号
53+
54+
### FontAwesome
55+
56+
首先在 [Font Awesome Icons](http://fortawesome.github.io/Font-Awesome/icons/) 上选中自己想使用的图标(暂不支持 alias),然后在 [fontawesome.sty](https://github.com/billryan/resume/blob/zh_CN/fontawesome.sty) 中找到相应的宏, 将其作为普通文本一样使用。
57+
58+
其他的可以自行参考相应 cls 和 tex 文件。
59+
60+
## License
61+
62+
[The MIT License (MIT)](http://opensource.org/licenses/MIT)
63+
64+
Copyrighted fonts are not subjected to this License.

0 commit comments

Comments
 (0)