-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
250 lines (240 loc) · 10.6 KB
/
index.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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5">
<title>华</title>
<meta name="description" content="机器学习研究僧,略懂Java, Android开发">
<meta name="keywords" content="Machine Learning, Java">
<meta name="format-detection" content="telephone=no">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="static/css/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/source/jquery.fancybox.css">
<script type="text/javascript">
if (!!window.ActiveXObject || "ActiveXObject" in window) { //is IE?
alert('朋友,上古浏览器不支持呢~');
}
</script>
</head>
<body>
<div id="body-wrap">
<nav class="not_index_bg" id="nav" style="background-image:url(https://api.ixiaowai.cn/api/api.php)">
<div id="page_site-info">
<div id="site-title">
<span class="blogtitle"></span>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script>
var typed = new Typed(".blogtitle", {
strings: ['没有梦想,何必远方','No Dream, No Future'],
startDelay: 300,
typeSpeed: 100,
loop: true,
backSpeed: 50,
showCursor: true
});
</script>
</div>
</div>
</nav>
<main id="content-outer">
<div class="layout_page" id="content-inner">
<div class="aside_content" id="aside_content">
<div class="card-widget card-info">
<div class="card-content">
<div class="card-info-avatar is-center">
<img class="avatar-img" src="https://cdn.jsdelivr.net/gh/laoxuai/images/image/20200125221102.png" alt="avatar">
<div class="author-info__name">Hua</div>
<div class="author-info__description">机器学习研究僧,略懂Java, Android开发</div>
</div>
<div class="card-info-social-icons is-center">
<a class="social-icon" href="https://github.com/hua-ops" target="_blank">
<i class="fa fa-github"></i>
</a>
<a class="social-icon" href="mailto:[email protected]" target="_blank">
<i class="fa fa-envelope" aria-hidden="true"></i>
</a>
</div>
</div>
</div>
<div class="card-widget card-announcement">
<div class="card-content">
<div class="item-headline">
<i class="fa fa-bullhorn" aria-hidden="true"></i>
<span>一言</span>
</div>
<div id="hitokoto"></div>
</div>
</div>
<div class="card-widget card-announcement">
<div class="card-content">
<div class="item-headline">
<i class="fa fa-calendar" aria-hidden="true"></i>
<span>今日诗词</span>
</div>
<div id="jinrishici-sentence"></div>
</div>
</div>
<div class="card-widget card-webinfo">
<div class="card-content">
<div class="item-headline">
<i class="fa fa-line-chart" aria-hidden="true"></i>
<span>站点信息</span>
</div>
<div class="webinfo">
<div class="webinfo-item">
<div class="webinfo-site-uv-name">本站访客数 :</div>
<div class="webinfo-site-uv-count" id="busuanzi_value_site_uv"></div>
</div>
<div class="webinfo-item">
<div class="webinfo-site-name">本站总访问量 :</div>
<div class="webinfo-site-pv-count" id="busuanzi_value_site_pv"></div>
</div>
</div>
</div>
</div>
</div>
<article id="page">
<div class="article-container">
<h2>听听音乐</h2>
<meting-js
server="netease"
type="playlist"
id="2181637930"
mutex="true">
</meting-js>
<hr>
<h2>技能属性</h2>
<div class="skillbox">
<div class="skillbar">
<div class="skillbar-title" style="background: linear-gradient(to right, #FF0066 0%, #FF00CC 100%); width: 70%">
<span>Machine Learning</span>
</div>
<div class="skill-bar-percent">70%</div>
</div>
<div class="skillbar">
<div class="skillbar-title" style="background: linear-gradient(to right, #9900FF 0%, #CC66FF 100%); width: 55%">
<span>Java</span>
</div>
<div class="skill-bar-percent">55%</div>
</div>
<div class="skillbar">
<div class="skillbar-title" style="background: linear-gradient(to right, #2196F3 0%, #42A5F5 100%); width: 60%">
<span>Android</span>
</div>
<div class="skill-bar-percent">60%</div>
</div>
<div class="skillbar">
<div class="skillbar-title" style="background: linear-gradient(to right, #00BCD4 0%, #80DEEA 100%); width: 58%">
<span>嵌入式</span>
</div>
<div class="skill-bar-percent">58%</div>
</div>
</div>
<hr>
<!--
<h2>刷题</h2>
<div class="tool">
<a href="https://leetcode-cn.com/problemset/all/" target="_blank">Leetcode</a><br>
<a href="https://www.nowcoder.com/ta/coding-interviews" target="_blank">剑指 Offer</a>
</div>
<hr>
<h2>工具</h2>
<div class="tool">
<a href="https://mdnice.com/" target="_blank">Markdown Nice</a><br>
<a href="http://lowcode.magicalcoder.com/" target="_blank">magicalcoder</a><br>
<a href="https://www.ssyer.com/" target="_blank">沙沙野</a><br>
<a href="http://www.network-science.de/ascii/" target="_blank">ASCII Generator</a>
</div>
-->
</div>
</article>
</div>
</main>
<footer id="footer">
<div id="footer-wrap">
<!--<div class="copyright">©2019 - 2020 BY Bucaicai</div>-->
</div>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/source/jquery.fancybox.js"></script>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/instantpage.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lazysizes.min.js" async></script>
<!-- aplayer、meting -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css">
<script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js"></script>
<!-- 一言、今日诗词 -->
<script src="https://v1.hitokoto.cn/?encode=js&select=%23hitokoto" defer></script>
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>
<!--鼠标点击效果-->
<script src="https://cdn.jsdelivr.net/gh/TRHX/[email protected]/js/maodian.js"></script>
<script type="text/javascript">
console.clear();
console.log("%c 有朋自远方来, 不亦说乎.", "background:#24272A; color:#ffffff", "");
console.log("%c Github %c", "background:#24272A; color:#ffffff", "", "https://github.com/hua-ops");
console.log("%c 版本号: %c", "background:#24272A; color:#ffffff", "", "1.0.0");
(function($){
$.fn.snow = function(options){
var $flake = $('<div id="snowbox" />').css({'position': 'absolute','z-index':'9999', 'top': '-50px'}).html('❄'),
documentHeight = $(document).height(),
documentWidth = $(document).width(),
defaults = {
minSize : 10,
maxSize : 20,
newOn : 1000,
flakeColor : "#AFDAEF" /* 此处可以定义雪花颜色,若要白色可以改为#FFFFFF */
},
options = $.extend({}, defaults, options);
var interval= setInterval( function(){
var startPositionLeft = Math.random() * documentWidth - 100,
startOpacity = 0.5 + Math.random(),
sizeFlake = options.minSize + Math.random() * options.maxSize,
endPositionTop = documentHeight - 200,
endPositionLeft = startPositionLeft - 500 + Math.random() * 500,
durationFall = documentHeight * 10 + Math.random() * 5000;
$flake.clone().appendTo('body').css({
left: startPositionLeft,
opacity: startOpacity,
'font-size': sizeFlake,
color: options.flakeColor
}).animate({
top: endPositionTop,
left: endPositionLeft,
opacity: 0.2
},durationFall,'linear',function(){
$(this).remove()
});
}, options.newOn);
};
})(jQuery);
$(function(){
$.fn.snow({
minSize: 5, /* 定义雪花最小尺寸 */
maxSize: 50,/* 定义雪花最大尺寸 */
newOn: 600 /* 定义密集程度,数字越小越密集 */
});
});
// 浏览器搞笑标题
var OriginTitle = document.title;
var titleTime;
document.addEventListener('visibilitychange', function () {
if (document.hidden) {
// $('[rel="icon"]').attr('href', "/funny.ico");
document.title = '╭(°A°`)╮ 页面崩溃啦 ~';
clearTimeout(titleTime);
}
else {
$('[rel="icon"]').attr('href', "/favicon.ico");
document.title = '(ฅ>ω<*ฅ) 噫又好啦 ~' + OriginTitle;
titleTime = setTimeout(function () {
document.title = OriginTitle;
}, 2000);
}
});
</script>
</body>
</html>