-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
executable file
·179 lines (143 loc) · 5.85 KB
/
about.html
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
---
layout: page
title: "About"
description: "Hey, this is Xz Yao."
header-img: "img/about-bg.jpg"
---
<!-- Language Selector -->
<select onchange= "onLanChange(this.options[this.options.selectedIndex].value)">
<option value="0" selected> 中文 Chinese </option>
<option value="1"> 英文 English </option>
</select>
<!-- Chinese Version -->
<div class="zh post-container">
<!--copied from markdown -->
<blockquote><p>经常在扯淡,偶尔写代码<br>
我想学相声</p></blockquote>
<p>Hey,大家好。我是姚晓哲。程序员&段子手。主要在挖坑。</p>
<p>一些作品和开源项目,👉 戳 <a href="/portfolio">Portfolio</a> 与 <a href="http://github.com/stevefermi">Github</a></p>
<h5>Talks</h5>
<ul>
<li>Dive into React Native.<a href='/attach/Dive_into_React_Native.pptx'>[ppt]</a><a href='/attach/Dive_into_React_Native.pdf'> [pdf]</a></li>
</ul>
<h5>Resumes</h5>
<ul>
<li><a href="/attach/cv.pdf">Xz.Yao's CV</a></li>
</ul>
<h5>Statement</h5>
<p>除特别声明之外,本站文章之著作权均归本人所有,并特此授权各网站免费转载,无需另行许可。唯约法三章,望诸君遵守:</p>
<ul>
<li>转载媒介需注明作者,来源</li>
<li>转载媒介不得向读者收取费用,亦不可将其用于商业用途。</li>
<li>转载媒介(尤以网站为甚)不得以任何方式限制用户阅读、复制、拷贝、传播,包括但不限于用广告阻挡阅读,限制右键复制,以图片形式传播</li>
</ul>
虽才疏学浅,一句一段皆为心血所出,偶有所得,愿与各位共享,若恰能博君一笑,心当甚慰。亦希望各转载之媒体,以优秀的阅读体验共饕读者。
</div>
<!-- English Version -->
<div class="en post-container">
<blockquote><p>Dark Jokes and Code <br>
Always laughing.</p></blockquote>
<p>Hi, Here is <strong>Xiaozhe Yao(姚晓哲)</strong>I majored in Dig and trapping</p>
<p>Some of my Works,👉 Click <a href="/portfolio">Portfolio</a> 与 <a href="http://github.com/stevefermi">Github</a></p>
<h5>Talks</h5>
<ul>
<li>Dive into React Native.<a href='/attach/Dive_into_React_Native.pptx'>[ppt]</a><a href='/attach/Dive_into_React_Native.pdf'> [pdf]</a></li>
</ul>
<h5>Resumes</h5>
<ul>
<li><a href="/attach/cv.pdf">Xz.Yao's CV</a></li>
</ul>
<h5>Statement</h5>
<p>Except Special Statement, All rights reserved. I do authorize any of media to spread these articles without any fee. There's only three rules of this game, hope you could follow:</p>
<ul>
<li>The Media have to mention the author and source.</li>
<li>The Media cannot require users to pay for these articles or use it for commercial.</li>
<li>The Media (esp. website) cannot obstruct users reading, copy and spread in any way.</li>
</ul>
</div>
<!-- Handle Language Change -->
<script type="text/javascript">
// get nodes
var $zh = document.querySelector(".zh");
var $en = document.querySelector(".en");
var $select = document.querySelector("select");
// bind hashchange event
window.addEventListener('hashchange', _render);
// handle render
function _render(){
var _hash = window.location.hash;
// en
if(_hash == "#en"){
$select.selectedIndex = 1;
$en.style.display = "block";
$zh.style.display = "none";
// zh by default
}else{
// not trigger onChange, otherwise cause a loop call.
$select.selectedIndex = 0;
$zh.style.display = "block";
$en.style.display = "none";
}
}
// handle select change
function onLanChange(index){
if(index == 0){
window.location.hash = "#zh"
}else{
window.location.hash = "#en"
}
}
// init
_render();
</script>
{% if site.duoshuo_username %}
<!-- 多说评论框 start -->
<div class="comment">
<div class="ds-thread"
{% if site.duoshuo_username == "huxblog" %}
data-thread-id="1187623191091085319"
{% else %}
data-thread-key="{{site.duoshuo_username}}/about"
{% endif %}
data-title="{{page.title}}"
data-url="{{site.url}}/about/"></div>
</div>
<!-- 多说评论框 end -->
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
// dynamic User hacking by Hux
var _user = '{{site.duoshuo_username}}';
// duoshuo comment query.
var duoshuoQuery = {short_name: _user };
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<!-- 多说公共JS代码 end -->
{% endif %}
{% if site.disqus_username %}
<!-- disqus 评论框 start -->
<div class="comment">
<div id="disqus_thread" class="disqus-thread">
</div>
</div>
<!-- disqus 评论框 end -->
<!-- disqus 公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = "{{site.disqus_username}}";
var disqus_identifier = "{{site.disqus_username}}/{{page.url}}";
var disqus_url = "{{site.url}}{{page.url}}";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<!-- disqus 公共JS代码 end -->
{% endif %}