-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume.js
197 lines (192 loc) · 6.37 KB
/
resume.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
const ME = {
name: "Tao Zhou",
email: "iamzhoutao92@gmail.com",
tel: "+19196275224",
github: "taoalpha",
// website: "https://taoalpha.github.io",
location: "Zurich, Switzerland",
};
const Experiences = {
Working: [
{
name: "Software Engineer, Google",
desc: `Worked on various products and teams.
- Working on bringing Chat to other products like Gmail etc.
- Previously on Gerrit, an open-source code review tool where I am a top contributor in 2021.`,
skills: ["TypeScript", "JS/HTML/CSS", "Angular", "Polymer", "Java"],
duration: "2018.12 - present",
},
{
name: "Software Engineer, Amazon AWS",
desc: `- Led the frontend team for directory service, secrets manager.
- Delivered two new services (AWS Single Sign On, AWS Secrets Manager), one upgrade on an existing service (AWS DirectoryService).`,
skills: ["JavaScript", "HTML/CSS", "Node", "Shell", "AngularJS"],
duration: "2017.10 - 2018.11",
},
{
name: "Software Engineer, Scaled Inference",
desc: `Led the development of the SDK for Node.js and JavaScript, customer facing debugger, and internal testing framework.`,
skills: ["JavaScript", "HTML/CSS", "Node", "Ampersand", "Python"],
duration: "2016.07 - 2017.09",
},
{
name: "Full Stack Engineer / Product Manager",
desc: `- During working holiday at New Zealand, I built several business internal websites.
- As a product manager in SoGou, I led the Image Search product team, delivered several new features.
- As an internship at Zhihu, the largest Q&A community in China, contributed to enhancing the experience of internal search.
`,
skills: ["JavaScript", "HTML/CSS", "Python/Django", "PHP(WordPress)"],
duration: "2012.11 - 2015.05",
},
{
name: "Product Manager, Zhihu.com & SoGou.com",
desc: ``,
skills: ["Product Management", "Data Analysis", "Python"],
duration: "2012.11 - 2013.2, 2013.04 - 2014.10",
hide: true,
},
],
Project: [
{
name: "Beautiful Colors",
desc: "A simple app to learn all kinds of colors, built with Expo.",
skills: ["React Native", "React"],
duration: "2021-08 - present",
link: "https://expo.dev/@taotao/beautifulcolors",
},
{
name: "Poem & Ci & Lyrics",
desc: "A react native app for people to read Chinese poems / ci / lyrics.",
skills: ["React Native", "React", "Swift"],
duration: "2018-05 - 2020-01",
link: "https://github.com/taoalpha/shiciyu",
},
{
name: "NPM Trending",
desc: `Built a crawler to crawl and listen to the updates of npm to generate daily report on trending and dependencies`,
skills: ["Node", "MongoDB"],
duration: "2016.12 - 2017.12",
link: "https://taoalpha.github.io/npm-trending/?date=2022-02-22",
},
{
name: "XiaoBao - Vocabulary Builder",
desc: "A simple vocabulary builder app.",
skills: ["React", "Express", "Node"],
duration: "2018-03 - 2018-06",
link: "https://github.com/taoalpha/xiaobao-server",
hide: true,
},
{
name: "Personal Blog",
desc: `Created an open-source theme for a static site generator, hexo.js, and used in my personal blog.`,
skills: ["Node", "Static Site Generator"],
duration: "2013.06 - present",
hide: true,
},
{
name: "Others",
desc: `I love creating things and I have created quite a few sites / apps since 2013:
A fully functional chrome app RSS reader(feedpusher) and extension
A wechat subscription to rss feed converter(WeiRSS with over 650 stars), etc
`,
skills: ["Node", "Python", "ML"],
duration: "2013.06 - present",
},
],
Education: [
{
name: "M.P.S Information Science, Cornell University",
courses: [
"Machine Learning",
"Algorithm",
"Database System",
"Software Engineering",
"Advance Game Design",
],
duration: "2015.07 - 2016.07",
},
{
name: "B.S Environment Engineering, Tsinghua University",
duration: "2009.08 - 2013.07",
},
],
};
const Templates = {
Working: (props) => `
<li>
<h3> ${props.link ? `<a href="${props.link}">${props.name}</a>` : props.name} <span> ${props.duration} </span></h3>
<p> ${props.desc} </p>
<p><strong>Skills: </strong> ${props.skills.join(", ")}, etc</p>
</li>
`,
Education: (props) => `
<li>
<h3> ${props.name} <span> ${props.duration} </span></h3>
${
props.courses
? `<p><strong>Courses: </strong> ${props.courses.join(
","
)}, etc</p>`
: ""
}
</li>
`,
Project: (props) => Templates.Working(props),
Me: (props) => `
<li>
<i class="fas fa-envelope"></i>
<a href="mailto:${props.email}">${props.email}</a>
</li>
${
props.website
? `
<li>
<i class="fas fa-folder"></i>
<a href="${props.website}">${props.website}</a>
</li>`
: ""
}
${
props.github
? `
<li>
<i class="fab fa-github"></i>
<a href="https://github.com/${props.github}">Github: ${props.github}</a>
</li>` : ""}
<li>
<i class="fas fa-phone"></i>
<a href="tel:${props.tel}">${props.tel}</a>
</li>
<li>
<i class="fas fa-map-marker-alt"></i>
${props.location}
</li>`,
Title: (props) => `
<h1>${props.name}</h1>
<h2>Passionate Software Engineer <span>Web Enthusiast</span> </h2>
`
};
function ready(fn) {
if (
document.attachEvent
? document.readyState === "complete"
: document.readyState !== "loading"
) {
fn();
} else {
document.addEventListener("DOMContentLoaded", fn);
}
}
function initTemplate(name) {
let container = document.querySelector(`ul[template='${name}']`);
let key = name[0].toUpperCase() + name.slice(1);
container.innerHTML = Experiences[key]
.filter((props) => !props.hide)
.map((props) => Templates[key](props))
.join("\n");
}
ready(() => {
["working", "project", "education"].forEach((name) => initTemplate(name));
document.querySelector("ul[template='me']").innerHTML = Templates.Me(ME);
document.querySelector("section[template='title']").innerHTML = Templates.Title(ME);
});