-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
317 lines (234 loc) · 14.4 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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<!DOCTYPE html>
<html lang='zh-CN'>
<head>
<meta name="generator" content="Hexo 5.4.0">
<meta charset="utf-8">
<meta http-equiv='x-dns-prefetch-control' content='on' />
<link rel='dns-prefetch' href='https://cdn.jsdelivr.net'>
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
<meta name="renderer" content="webkit">
<meta name="force-rendering" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="HandheldFriendly" content="True" >
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#f8f8f8">
<title>降几调</title>
<meta name="description" content="tsuixh的个人网站">
<meta property="og:type" content="website">
<meta property="og:title" content="降几调">
<meta property="og:url" content="https://tsuixh.github.io/index.html">
<meta property="og:site_name" content="降几调">
<meta property="og:description" content="tsuixh的个人网站">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="tsuixh">
<meta name="twitter:card" content="summary">
<!-- feed -->
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
<div class='l_body' id='start'>
<aside class='l_left' layout=''>
<header class="header">
<div class="logo-wrap"><a class="avatar" href="/about/"><div class="bg" style="opacity:0;background-image:url(https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.2/avatar/round/rainbow64@3x.webp);"></div><img no-lazy class="avatar" src="https://tvax3.sinaimg.cn/crop.0.0.512.512.1024/75b633a1ly8gprfcvqq70j20e80e8t91.jpg?KID=imgbed,tva&Expires=1629632526&ssig=ABJ0W3mjdG" onerror="javascript:this.classList.add('error');this.src='https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/image/2659360.svg';"></a><a class="title" href="/"><div class="main">降几调</div><div class="sub cap">发表在自己的网站,才是自己的东西</div></a></div>
<nav class="menu dis-select"></nav></header>
<div class="widgets"><div class='widget-wrap' id='markdown'>
<div class='widget-header cap dis-select'>
<span class='name'>欢迎</span>
</div>
<div class='widget-body fs14'>
<p>欢迎光临小站,<a target="_blank" rel="noopener" href="https://github.com/xaoxuu/hexo-theme-stellar/">Stellar</a> 是一个支持 wiki 的 hexo 主题,适合综合型站点使用。同时也拥有简约而精美的视觉设计和丰富的标签插件,帮助您简单从容地应对各种场合。</p>
</div>
</div>
<div class="widget-wrap" id="recent"><div class="widget-header cap dis-select"><span class="name">最近更新</span></div><div class="widget-body fs14"><div class="line"></div><a class="more-item" href="/2021/08/22/hexo-stellar%E4%B8%BB%E9%A2%98%E4%BD%BF%E7%94%A8%E6%8C%87%E5%AF%BC/"><div class="cap"><time>2021-08-22</time></div><span class="title">hexo stellar主题使用指导</span></a><div class="line"></div><a class="more-item" href="/2021/05/28/Hexo%E5%B8%B8%E7%94%A8%E5%8A%9F%E8%83%BD/"><div class="cap"><time>2021-08-21</time></div><span class="title">Hexo常用功能</span></a><div class="line"></div><a class="more-item" href="/2021/08/21/Android%E4%B8%AD%E4%BD%BF%E7%94%A8Chronometer%E6%9D%A5%E5%AE%9E%E7%8E%B0%E5%8A%A8%E6%80%81%E6%98%BE%E7%A4%BA%E6%97%B6%E9%97%B4/"><div class="cap"><time>2021-08-21</time></div><span class="title">Android中使用Chronometer来实现动态显示时间</span></a><div class="line"></div><a class="more-item" href="/2021/05/28/%E5%8E%86%E5%8F%B2%E7%9A%84%E6%94%B6%E8%97%8F/"><div class="cap"><time>2021-05-28</time></div><span class="title">历史的收藏</span></a><div class="line"></div><a class="more-item" href="/2021/05/28/hello-world/"><div class="cap"><time>2021-05-28</time></div><span class="title">Hello World</span></a></div></div>
</div>
</aside>
<div class='l_main list'>
<header class="header mobile-only">
<div class="logo-wrap"><a class="avatar" href="/about/"><div class="bg" style="opacity:0;background-image:url(https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.2/avatar/round/rainbow64@3x.webp);"></div><img no-lazy class="avatar" src="https://tvax3.sinaimg.cn/crop.0.0.512.512.1024/75b633a1ly8gprfcvqq70j20e80e8t91.jpg?KID=imgbed,tva&Expires=1629632526&ssig=ABJ0W3mjdG" onerror="javascript:this.classList.add('error');this.src='https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/image/2659360.svg';"></a><a class="title" href="/"><div class="main">降几调</div><div class="sub cap">发表在自己的网站,才是自己的东西</div></a></div>
<nav class="menu dis-select"></nav></header>
<div class='nav-wrap mobile-hidden'>
<nav class='sub post cap'>
<a class='active' href='/'>近期发布</a>
<a href='/tags'>标签</a>
<a href='/archives'>归档</a>
</nav>
</div>
<div class="post-list post"><a class="post-card post " href="/2021/08/22/hexo-stellar%E4%B8%BB%E9%A2%98%E4%BD%BF%E7%94%A8%E6%8C%87%E5%AF%BC/"><article class="excerpt md">
<h2 class="post-title">hexo stellar主题使用指导</h2><div class="excerpt"><p>stellar是一个比较符合我审美风格的hexo博客主题,功能强大,不过就是配置起来稍微麻烦些。
记录下它的配置说明说,也就是主题的官方网站。
stellar
</p></div><div class="meta cap"><span class="cap" id="post-meta">发布于 <time datetime="2021-08-22T09:27:24.000Z">2021-08-22</time></span><div>
</article></a><a class="post-card post " href="/2021/08/21/Android%E4%B8%AD%E4%BD%BF%E7%94%A8Chronometer%E6%9D%A5%E5%AE%9E%E7%8E%B0%E5%8A%A8%E6%80%81%E6%98%BE%E7%A4%BA%E6%97%B6%E9%97%B4/"><article class="excerpt md">
<h2 class="post-title">Android中使用Chronometer来实现动态显示时间</h2><div class="excerpt"><p>之前看到同事在写项目是用来显示通话时长,自己写的Handler来每秒钟更新一次UI,写起来代码比较多,今天也是看视频学习到了如何使用Android自带的组件来实现类似的计时组件。就是Android中的Chronometer组件,它的使用方式和TextView一样,是一个加强版的TextView,通过findViewById初始化,然后调用start和stop就可以开始或者停止计时。
我们实现...</p></div><div class="meta cap"><span class="cap" id="post-meta">发布于 <time datetime="2021-08-20T18:10:47.000Z">2021-08-21</time></span><div>
</article></a><a class="post-card post " href="/2021/05/28/%E5%8E%86%E5%8F%B2%E7%9A%84%E6%94%B6%E8%97%8F/"><article class="excerpt md">
<h2 class="post-title">历史的收藏</h2><div class="excerpt"><p>
主要用于记录平时看到的一些有用的网站
搭建个人博客hexo
深度开源
如何在香港租房子?
香港租房平台iRent
网上课程地址
一些学习机器学习的网上课程
高等数学教材下载地址
vue-awesome-swiper
Learn Python
eDx学习平台
男士穿搭
Sketch Tutorial
在线流程图绘制工具
Filco双模键盘蓝牙连接教程
如何搭建梯子
Filco键盘适配ma...</p></div><div class="meta cap"><span class="cap" id="post-meta">发布于 <time datetime="2021-05-27T17:51:05.000Z">2021-05-28</time></span><div>
</article></a><a class="post-card post " href="/2021/05/28/Hexo%E5%B8%B8%E7%94%A8%E5%8A%9F%E8%83%BD/"><article class="excerpt md">
<h2 class="post-title">Hexo常用功能</h2><div class="excerpt"><p>
hexo new "My Post"创建新的博客文件
hexo init 初始化博客项目
hexo g 生成网页
hexo s 启动本地服务器
hexo d 部署到git中,根据配置
在MacOS上,全局安装了hexo之后,需要使用npx hexo来使用hexo。
</p></div><div class="meta cap"><span class="cap" id="post-meta">发布于 <time datetime="2021-05-27T17:35:46.000Z">2021-05-28</time></span><div>
</article></a><a class="post-card post " href="/2021/05/28/hello-world/"><article class="excerpt md">
<h2 class="post-title">Hello World</h2><div class="excerpt"><p>Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Qu...</p></div><div class="meta cap"><span class="cap" id="post-meta">发布于 <time datetime="2021-05-27T17:33:00.401Z">2021-05-28</time></span><div>
</article></a></div>
<footer class="page-footer reveal fs12"><hr><div class="text"><p>本博客所有文章除特别声明外,均采用 <a target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> 许可协议,转载请注明出处。</p>
<p>本站由 <a href="https://tsuixh.github.io/">@tsuixh</a> 创建,使用 <a target="_blank" rel="noopener" href="https://github.com/xaoxuu/hexo-theme-stellar/tree/1.4.1" title="v1.4.1">Stellar</a> 作为主题。</p>
</div></footer>
<div class='float-panel mobile-only blur' style='display:none'>
<button type='button' class='sidebar-toggle mobile' onclick='sidebar.toggle()'>
<svg class="icon" style="width: 1em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15301"><path d="M566.407 808.3c26.9-0.1 49.3-20.8 51.6-47.6-1.9-27.7-23.9-49.7-51.6-51.6h-412.6c-28.2-1.4-52.6 19.5-55.5 47.6 2.3 26.8 24.6 47.5 51.6 47.6h416.5v4z m309.3-249.9c26.9-0.1 49.3-20.8 51.6-47.6-2.2-26.8-24.6-47.5-51.6-47.6h-721.9c-27.7-2.8-52.5 17.4-55.3 45.1-0.1 0.8-0.1 1.7-0.2 2.5 0.9 27.2 23.6 48.5 50.7 47.6H875.707z m-103.1-245.9c26.9-0.1 49.3-20.8 51.6-47.6-0.4-28.3-23.2-51.1-51.5-51.6h-618.9c-29.5-1.1-54.3 21.9-55.5 51.4v0.2c1.4 27.8 25.2 49.2 53 47.8 0.8 0 1.7-0.1 2.5-0.2h618.8z" p-id="15302"></path><path d="M566.407 808.3c26.9-0.1 49.3-20.8 51.6-47.6-1.9-27.7-23.9-49.7-51.6-51.6h-412.6c-28.2-1.4-52.6 19.5-55.5 47.6 1.9 27.7 23.9 49.7 51.6 51.6h416.5z m309.3-249.9c26.9-0.1 49.3-20.8 51.6-47.6-2.2-26.8-24.6-47.5-51.6-47.6h-721.9c-27.7-2.8-52.5 17.4-55.3 45.1-0.1 0.8-0.1 1.7-0.2 2.5 0.9 27.2 23.6 48.5 50.7 47.6H875.707z m-103.1-245.9c26.9-0.1 49.3-20.8 51.6-47.6-0.4-28.3-23.2-51.1-51.5-51.6h-618.9c-29.5-1.1-54.3 21.9-55.5 51.4v0.2c1.4 27.8 25.2 49.2 53 47.8 0.8 0 1.7-0.1 2.5-0.2h618.8z" p-id="15303"></path></svg>
</button>
</div>
</div>
</div>
<div class='scripts'>
<script type="text/javascript">
stellar = {
// 懒加载 css https://github.com/filamentgroup/loadCSS
loadCSS: (href, before, media, attributes) => {
var doc = window.document;
var ss = doc.createElement("link");
var ref;
if (before) {
ref = before;
} else {
var refs = (doc.body || doc.getElementsByTagName("head")[0]).childNodes;
ref = refs[refs.length - 1];
}
var sheets = doc.styleSheets;
if (attributes) {
for (var attributeName in attributes) {
if (attributes.hasOwnProperty(attributeName)) {
ss.setAttribute(attributeName, attributes[attributeName]);
}
}
}
ss.rel = "stylesheet";
ss.href = href;
ss.media = "only x";
function ready(cb) {
if (doc.body) {
return cb();
}
setTimeout(function () {
ready(cb);
});
}
ready(function () {
ref.parentNode.insertBefore(ss, before ? ref : ref.nextSibling);
});
var onloadcssdefined = function (cb) {
var resolvedHref = ss.href;
var i = sheets.length;
while (i--) {
if (sheets[i].href === resolvedHref) {
return cb();
}
}
setTimeout(function () {
onloadcssdefined(cb);
});
};
function loadCB() {
if (ss.addEventListener) {
ss.removeEventListener("load", loadCB);
}
ss.media = media || "all";
}
if (ss.addEventListener) {
ss.addEventListener("load", loadCB);
}
ss.onloadcssdefined = onloadcssdefined;
onloadcssdefined(loadCB);
return ss;
},
// 从 butterfly 和 volantis 获得灵感
loadScript: (src, opt) => new Promise((resolve, reject) => {
var script = document.createElement('script');
script.src = src;
if (opt) {
for (let key of Object.keys(opt)) {
script[key] = opt[key]
}
} else {
// 默认异步,如果需要同步,第二个参数传入 {} 即可
script.async = true
}
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
document.head.appendChild(script)
}),
// https://github.com/jerryc127/hexo-theme-butterfly
jQuery: (fn) => {
if (typeof jQuery === 'undefined') {
stellar.loadScript(stellar.plugins.jQuery).then(fn)
} else {
fn()
}
}
};
stellar.github = 'https://github.com/xaoxuu/hexo-theme-stellar/tree/1.4.1';
stellar.config = {
date_suffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前',
},
};
// required plugins (only load if needs)
stellar.plugins = {
jQuery: 'https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js',
sitesjs: '/js/plugins/sites.js',
friendsjs: '/js/plugins/friends.js',
};
// optional plugins
if ('true' == 'true') {
stellar.plugins.lazyload = Object.assign({"enable":true,"js":"https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.3.1/dist/lazyload.min.js","transition":"blur"});
}
if ('true' == 'true') {
stellar.plugins.swiper = Object.assign({"enable":true,"css":"https://unpkg.com/swiper/swiper-bundle.min.css","js":"https://unpkg.com/swiper/swiper-bundle.min.js"});
}
if ('' == 'true') {
stellar.plugins.scrollreveal = Object.assign({"enable":null,"js":"https://cdn.jsdelivr.net/npm/scrollreveal@4.0.9/dist/scrollreveal.min.js","distance":"8px","duration":500,"interval":100,"scale":1});
}
if ('true' == 'true') {
stellar.plugins.preload = Object.assign({"enable":true,"service":"flying_pages","instant_page":"https://cdn.jsdelivr.net/gh/volantis-x/cdn-volantis@4.1.2/js/instant_page.js","flying_pages":"https://cdn.jsdelivr.net/gh/gijo-varghese/flying-pages@2.1.2/flying-pages.min.js"});
}
</script>
<!-- required -->
<script src="/js/main.js" async></script>
<!-- optional -->
<!-- inject -->
</div>
</body>
</html>