-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathabouts.html
More file actions
194 lines (166 loc) · 6.45 KB
/
Copy pathabouts.html
File metadata and controls
194 lines (166 loc) · 6.45 KB
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
---
layout: page
title: "About"
description: "Hey, this is me."
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,我是<strong>邵国际</strong>,一名普通青年,毕业于<a href="http://www.zhku.edu.cn/">仲恺农业工程学院</a> ·计算机科学与技术 2018 届,热爱物联网,擅长动手,喜欢弹吉他。虽然是个只玩过单片机的渣渣,但一直想做出好玩有趣的东西(软/硬件),并享受其中的乐趣。目前在深圳从事嵌入式底层软件开发工作,同时不断学习计算机基础知识。</p>
<p>本站暂未开通 RSS 功能,若需要订阅更新,可关注公众号 <strong>DebugMind</strong>。<p>
</div>
<!-- English Version -->
<div class="en post-container">
<blockquote><p><br>
</p></blockquote>
<p>My name is <strong>Shao Guoji(邵国际)</strong>. I I graduated from <a href="http://www.zhku.edu.cn/">Zhongkai University of Agriculture and Engineering</a>, my speciality is Computer science and technology. I like playing the guitar and making things for desire to create something interesting and helpful(software or hardware) with my poor knowledge. I enjoy the pleasure of DIY. As a embedded software engineer, I am working in Shenzhen now.</p>
</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>
<!-- 来必力City版安装代码 -->
{% if site.livere_show && site.livere_uid %}
<div id="lv-container" data-id="city" data-uid="{{site.livere_uid}}">
<script type="text/javascript">
(function(d, s) {
var j, e = d.getElementsByTagName(s)[0];
if (typeof LivereTower === 'function') { return; }
j = d.createElement(s);
j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
j.async = true;
e.parentNode.insertBefore(j, e);
})(document, 'script');
</script>
<noscript> 为正常使用来必力评论功能请激活JavaScript</noscript>
</div>
<!-- City版安装代码已完成 -->
{% endif %}
<!-- gitment评论 BEGIN -->
<div id="gitment"></div>
<link rel="stylesheet" href="{{ "/css/default.css" | prepend: site.baseurl }}">
<script src="{{ "/js/gitment.browser.js " | prepend: site.baseurl }}"></script>
{% if site.gitment_share && site.gitment_username %}
<script>
var gitment = new Gitment({
owner: "{{site.gitment_username}}",
repo: "{{site.gitment_repo}}",
oauth: {
client_id: "{{site.gitment_client_id}}",
client_secret: "{{site.gitment_client_secret}}",
},
})
gitment.render('gitment')
</script>
<!-- gitment评论 END -->
{% endif %}
{% if site.gentie_share && site.gentie_product_key %}
<!-- 网易云跟帖 BEGIN -->
<div id="cloud-tie-wrapper" class="cloud-tie-wrapper"></div>
<script>
var cloudTieConfig = {
url: document.location.href,
sourceId: "",
productKey: "{{site.gentie_product_key}}",
target: "cloud-tie-wrapper"
};
</script>
<script src="https://img1.cache.netease.com/f2e/tie/yun/sdk/loader.js"></script>
<!-- 网易云跟帖 BEGIN -->
{% endif %}
{% if site.youyan_share %}
<!-- 友言UY BEGIN -->
<div id="uyan_frame"></div>
<script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js?uid=2128031"></script>
<!-- 友言UY END -->
{% endif %}
{% 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 %}