forked from qiubaiying/qiubaiying.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path01about.html
136 lines (113 loc) · 4.82 KB
/
01about.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
---
layout: page
title: "About"
description: "Hey, this is Binpedia."
header-img: "img/post-bg-rwd.jpg"
---
<!-- Language Selector -->
<select class="sel-lang" 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>Hello 大家好,我是<strong>hbkang</strong>,一枚化学PhD,现在住在寒冷的芝加哥。</p>
<p>在苦逼的实验室工作之余,我还喜欢跑跑步,种种菜,挖挖矿。</p>
<p>这个博客是利用 <a href="http://qiubaiying.top">BY</a> 和 <a href="http://huangxuan.me/">Hux</a> 贡献的模板搭建的。感谢🙏</p>
<p>在这里我会像大家分享各种我的兴趣爱好,比如信用卡,投资,挖矿,旅游,种菜,跑步等等。大家如果有什么问题,欢迎提出探讨~谢谢!</p>
<p></p>
</div>
<!-- English Version -->
<div class="en post-container">
<blockquote><p>Yet another Chemistry PhD. <br>
Yet another Life-long Student.</p></blockquote>
<p>Hello everyone, I am <strong>hbkang</strong>. I am a Chemistry PhD and am currently living in Chicago.</p>
<p>This is my personal blog, thanks to <a href="http://qiubaiying.top">BY</a> and <a href="http://huangxuan.me/">Hux</a> who are very kind to share their blog templates.</p>
<p>Here in this blog, I like to share with you some of my hobbies such as investment, crypto coins mining, travel, gardening and running.</p>
<p>Please let me know if you have any questions. Thanks!</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>
{% if site.disqus_shortname %}
<div id="disqus_thread"></div>
<!-- Add Disqus comments (not comment count) -->
<script type="text/javascript">
var disqus_shortname = '{{ site.disqus_shortname }}';
var disqus_identifier = '{{ page.url }}';
var disqus_title = '{{ page.title }}';
var disqus_url = '{{ site.url }}{{ page.url }}';
// var disqus_developer = 1; // Comment out when the site is live
(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>
<!-- Add Disqus comment count (not the comments) -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = '{{ site.disqus_shortname }}';
// var disqus_developer = 1; // Comment out when the site is live
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<noscript>
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
{% endif %}
<!-- 来必力City版安装代码 -->
<div id="lv-container" data-id="city" data-uid="MTAyMC8zNDkxMC8xMTQ0Nw==">
<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版安装代码已完成 -->