Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
LxxyxResume
提交
78226873
L
LxxyxResume
项目概览
OpenDocCN
/
LxxyxResume
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
LxxyxResume
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
78226873
编写于
8月 23, 2016
作者:
刘
刘子健
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(highlight): 重构高亮正则
上级
a36e61a8
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
10 addition
and
38 deletion
+10
-38
gulpfile.js
gulpfile.js
+5
-18
info.json
info.json
+4
-20
src/css/resume.scss
src/css/resume.scss
+1
-0
src/pdf/LxxyxResume.pdf
src/pdf/LxxyxResume.pdf
+0
-0
未找到文件。
gulpfile.js
浏览文件 @
78226873
...
...
@@ -5,12 +5,13 @@ var jade = require('gulp-jade')
var
copy
=
require
(
'
gulp-copy
'
)
var
rimrafPromise
=
require
(
'
rimraf-promise
'
)
var
ghPages
=
require
(
'
gulp-gh-pages
'
)
var
fs
=
require
(
'
fs
'
)
gulp
.
task
(
'
resume-sass
'
,
function
()
{
gulp
.
src
(
'
src/css/resume.scss
'
)
.
pipe
(
sass
().
on
(
'
error
'
,
sass
.
logError
))
.
pipe
(
autoprefixer
({
browsers
:
[
'
last
2
versions
'
],
browsers
:
[
'
last
4
versions
'
],
cascade
:
false
}))
.
pipe
(
gulp
.
dest
(
'
dist/css/
'
))
...
...
@@ -20,7 +21,7 @@ gulp.task('icon-sass', function () {
gulp
.
src
(
'
src/css/iconfont.scss
'
)
.
pipe
(
sass
().
on
(
'
error
'
,
sass
.
logError
))
.
pipe
(
autoprefixer
({
browsers
:
[
'
last
2
versions
'
],
browsers
:
[
'
last
4
versions
'
],
cascade
:
false
}))
.
pipe
(
gulp
.
dest
(
'
dist/iconfont/
'
))
...
...
@@ -47,22 +48,8 @@ function src2dist(dir) {
function
highlight
(
locals
)
{
var
locals
=
JSON
.
stringify
(
locals
)
var
re
=
new
RegExp
(
'
`.*?`
'
,
'
i
'
)
while
(
re
.
test
(
locals
))
{
var
find
=
re
.
exec
(
locals
)[
0
]
var
bold
=
find
.
replace
(
'
`
'
,
'
<strong>
'
).
replace
(
'
`
'
,
'
</strong>
'
)
locals
=
locals
.
replace
(
find
,
bold
)
}
// var reEng = new RegExp('[a-z]+\/?-?[a-z]*', 'i')
// while(reEng.test(locals)) {
// var find = reEng.exec(locals)[0]
// var bold = ` ${find} `
// locals = locals.replace(find, bold)
// }
var
re
=
/`
(
.+
?)
`/g
locals
=
locals
.
replace
(
re
,
'
<strong>$1</strong>
'
)
return
JSON
.
parse
(
locals
)
}
...
...
info.json
浏览文件 @
78226873
...
...
@@ -131,22 +131,6 @@
"默认支持 `COR跨域,Gzip, 文件上传` ,开箱即用"
]
}
},
{
"title"
:
{
"place"
:
"博客系统"
,
"links"
:
[{
"name"
:
"源代码"
,
"href"
:
"https://github.com/guyskk/kkblog"
}]
},
"content"
:
{
"position"
:
"前端开发"
,
"tasks"
:
[
"负责博客页面的设计与编写"
,
"前端使用 AmazeUI 框架,实现页面自适应"
,
"学习`前端性能优化`,如JS代码后置,代码压缩打包等"
]
}
},
{
"title"
:
{
"place"
:
"个人简历"
,
...
...
@@ -191,7 +175,7 @@
"能熟练使用 `Vue` 并搭配 Vuex 与 Vue-Router 完成单页应用的编写"
,
"熟悉 `jQuery/Bootstrap` 等常见框架类库的使用"
,
"对 React 和 Angular 等业界主流框架有所了解"
,
"熟练使用 `Gulp,Webpack` 等代码构建工具"
"熟练使用 `Gulp,
Webpack` 等代码构建工具"
]
}]
},
...
...
@@ -226,9 +210,9 @@
},
{
"name"
:
"工具使用"
,
"description"
:
[
"
使用 Linux 六个月,`在 Linux 环境下完成日常工作
`"
,
"熟练使用 Git 等团队协作工具"
,
"日常使用 `Sublime Text` 进行开发,能简单的操作 Vim "
"
一年 Linux 使用经验,`使用 Linux 作为日常工作系统
`"
,
"熟练使用 Git 等
代码管理与
团队协作工具"
,
"日常使用 `Sublime Text
/ Atom
` 进行开发,能简单的操作 Vim "
]
}]
}
...
...
src/css/resume.scss
浏览文件 @
78226873
...
...
@@ -20,6 +20,7 @@ h3 {
body
{
font-family
:
'Helvetica Neue'
,
'Arial'
,
'PingFang SC'
,
'Hiragino Sans GB'
,
'STHeiti'
,
'Microsoft YaHei'
,
'WenQuanYi Micro Hei'
,
sans-serif
;
background
:
#e0e0e0
;
-webkit-font-smoothing
:
antialiased
;
}
a
,
...
...
src/pdf/LxxyxResume.pdf
浏览文件 @
78226873
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录