-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
510 lines (434 loc) · 17.7 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
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico" />
<title>Light & Truth</title>
<script defer data-domain="liyafu.com" src="https://plausible.anywherearc.com/js/script.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7063285520115051"
crossorigin="anonymous"></script>
<style>
body {
color: #000000;
line-height: 1.6em;
padding: 1em;
box-sizing: border-box;
margin: auto;
max-width: 72em;
background: #fefefe;
font-family: Fira Code,Monaco,Consolas,Ubuntu Mono,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,monospace,sans-serif;
}
blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}
blockquote p {
display: inline;
}
em{
color: grey;
}
pre{
background-color: #eed;
}
code{
background-color: #eed;
}
nav {
margin-bottom: 20px;
}
small{
font-size: smaller;
}
a {
color: #007bff;
}
a:hover,
a:focus {
color: #0056b3;
}
a:visited{
color: grey;
}
article {
padding-bottom: 1em;
}
img {
max-width: 100%;
}
body {
background-color: #fff;
color: #212529;
}
.comments{
text-align: center;
margin-top: 20px;
padding: 5px 10px;
font-size: .8rem;
text-transform: uppercase;
text-decoration: none;
letter-spacing: .1em;
z-index: 1;
}
.utterances{
max-width: 100%;
}
.hr-middle-text{
line-height: 1em;
position: relative;
outline: 0;
border: 0;
color: black;
text-align: center;
height: 1.5em;
opacity: .5;
}
.hr-middle-text:before {
content: '';
background: linear-gradient(to right, transparent, black, transparent);
position: absolute;
left: 0;
top: 50%;
width: 100%;
height: 1px;
}
.hr-middle-text:after{
content: attr(data-content);
position: relative;
display: inline-block;
color: black;
padding: 0 .5em;
line-height: 1.5em;
background-color: #fcfcfa;
}
/* _nav style */
.navbar-item::before {
content: "[ ";
}
.navbar-item::after {
content: " ]"
}
@media screen and (min-width: 300px) and (max-width: 700px) {
.navbar {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.navbar-item {
flex: 1;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.nav-btn {
flex: 1;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-align: center;
}
}
/* _nav style end */
/* index style */
.posts-item {
display: flex;
flex-direction: column;
margin-bottom: 20px;
}
@media screen and (min-width: 300px) and (max-width: 700px) {
.posts-item {
flex-direction: row;
align-items: center;
justify-content: space-around;
margin-bottom: 10px;
}
.posts-item > a {
display: inline-block;
width: 70%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.posts-item > small {
flex: 1;
text-align: right;
}
article{
letter-spacing: -0.003em;
line-height: 28px;
font-size: 18px;
word-wrap: break-word;
}
}
/* index style end */
</style>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-188913654-2', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<body>
<header>
<nav class="navbar">
<span class="navbar-item"><a class="nav-btn" href="/">Home</a></span>
<span class="navbar-item"><a class="nav-btn" href="/bc/">Blockchain</a></span>
<span class="navbar-item"><a class="nav-btn" href="/el/">English Learning</a></span>
<span class="navbar-item"><a class="nav-btn" href="/ct/">Chinese Thinking</a></span>
<span class="navbar-item"><a class="nav-btn" href="/about/1990-01-01-aboutme">About Me</a></span>
</nav>
</header>
<div class="posts">
<article class="posts-item">
<a href="/2024-02-04-note-taking-system-should-be-simple">Note taking system should be simple</a>
<small>2024-02-04</small>
</article>
<article class="posts-item">
<a href="/2022-08-24-fixing-thinkbook-keyboard">编译内核修复 Thinkbook 14+ 6800h 键盘问题</a>
<small>2022-08-24</small>
</article>
<article class="posts-item">
<a href="/ct/2022-08-12-bitcoin-begins">Bitcoin 前传 - cypherpunks 的折腾</a>
<small>2022-08-12</small>
</article>
<article class="posts-item">
<a href="/2022-07-31-sqlite-untold-story">SQLite 背后的故事</a>
<small>2022-07-31</small>
</article>
<article class="posts-item">
<a href="/bc/2022-02-27-eth20">Ethereum 2.0 基本架构理解</a>
<small>2022-02-27</small>
</article>
<article class="posts-item">
<a href="/ct/2022-01-28-thinking-about-real-estate">我对房地产的思考</a>
<small>2022-01-28</small>
</article>
<article class="posts-item">
<a href="/2022-1-16-paxos-algorithm">Paxos algorithm</a>
<small>2022-01-16</small>
</article>
<article class="posts-item">
<a href="/ct/2022-01-10-why-you-cant-make-money-in-web20">为什么你在 web2.0 时代没挣着钱?</a>
<small>2022-01-10</small>
</article>
<article class="posts-item">
<a href="/bc/2021-12-30-solana-whitepaper-review">Project Review: How Solana works.</a>
<small>2021-12-30</small>
</article>
<article class="posts-item">
<a href="/2021-11-25-how-raft-works">How Raft Works</a>
<small>2021-11-25</small>
</article>
<article class="posts-item">
<a href="/2021-10-22-how-gfs-works">How GFS works</a>
<small>2021-10-22</small>
</article>
<article class="posts-item">
<a href="/2021-08-17-keep-away-the-fancy-tool">Keep away from the fancy tools</a>
<small>2021-08-17</small>
</article>
<article class="posts-item">
<a href="/2021-07-25-how-to-write-unit-test">How to write unit test</a>
<small>2021-07-25</small>
</article>
<article class="posts-item">
<a href="/2021-07-07-the-problems-of-go-init-func">The problems of Golang init function</a>
<small>2021-07-07</small>
</article>
<article class="posts-item">
<a href="/el/2021-05-02-my-english-learning-experiences-full">我的英语学习经验 - 完整版</a>
<small>2021-05-02</small>
</article>
<article class="posts-item">
<a href="/2021-03-24-ieee754">Representing float number in computer</a>
<small>2021-03-24</small>
</article>
<article class="posts-item">
<a href="/el/2021-03-13-the-limited-vocabulary-is-not-a-problem">The limitation of vocabulary is not a problem</a>
<small>2021-03-13</small>
</article>
<article class="posts-item">
<a href="/el/2021-03-11-how-to-build-an-interrogative-sentence">How to build an interrogative sentence</a>
<small>2021-03-11</small>
</article>
<article class="posts-item">
<a href="/el/2021-02-19-what-differences-between-make-build">What's the differences between make, build, construct, assemble, erect, create, put up and form?</a>
<small>2021-02-19</small>
</article>
<article class="posts-item">
<a href="/el/2021-02-14-how-to-describe-finish">How to describe something you have finished</a>
<small>2021-02-14</small>
</article>
<article class="posts-item">
<a href="/2021-01-09-understanding-utf8">Understanding the UTF-8</a>
<small>2021-01-09</small>
</article>
<article class="posts-item">
<a href="/ct/2020-11-07-why-I-learn-learn-English-so-hard">Why I struggle to learn English</a>
<small>2020-11-07</small>
</article>
<article class="posts-item">
<a href="/ct/2020-10-26-pen-and-papers-are-the-best-writing-tools">Pen and paper are the best writing tools</a>
<small>2020-10-26</small>
</article>
<article class="posts-item">
<a href="/2020-05-07-understanding-dependence-in-makefile">Understanding the dependence in Makefile</a>
<small>2020-05-07</small>
</article>
<article class="posts-item">
<a href="/2019-11-25-golang-errors">go 语言错误处理</a>
<small>2019-11-25</small>
</article>
<article class="posts-item">
<a href="/2019-09-24-how-to-use-golang-interface">golang interface 要怎么用?</a>
<small>2019-09-24</small>
</article>
<article class="posts-item">
<a href="/2019-09-03-lock-mechanism">各种锁的原理,你要了解的都在这里。</a>
<small>2019-09-03</small>
</article>
<article class="posts-item">
<a href="/2019-09-03-an-api-problem-myth">一个 API 设计问题带来的思考</a>
<small>2019-09-03</small>
</article>
<article class="posts-item">
<a href="/2019-04-16-how-to-made-project-use-C">如何用 C 语言做项目?</a>
<small>2019-04-16</small>
</article>
<article class="posts-item">
<a href="/2018-05-07-nsq_server_code_reading">NSQ 服务端源码剖析</a>
<small>2018-05-07</small>
</article>
<article class="posts-item">
<a href="/2018-05-05-nsq_client_code_reading">nsq client 源码剖析</a>
<small>2018-05-05</small>
</article>
<article class="posts-item">
<a href="/2018-05-02-introduce_nsq">NSQ 简介</a>
<small>2018-05-02</small>
</article>
<article class="posts-item">
<a href="/2018-04-06-golang-writes-http-api">HTTP API golang 的选择</a>
<small>2018-04-06</small>
</article>
<article class="posts-item">
<a href="/2018-01-17-simple-logical">简单逻辑学</a>
<small>2018-01-17</small>
</article>
<article class="posts-item">
<a href="/2017-12-24-systemic-learning">如何利用互联网学习?</a>
<small>2017-12-24</small>
</article>
<article class="posts-item">
<a href="/2017-09-07-go-db-crud">go 语言操作数据库 CRUD</a>
<small>2017-09-07</small>
</article>
<article class="posts-item">
<a href="/2017-08-04-go-currency">go 并发</a>
<small>2017-08-04</small>
</article>
<article class="posts-item">
<a href="/2017-07-30-development-document">文档!文档!</a>
<small>2017-07-30</small>
</article>
<article class="posts-item">
<a href="/2017-07-18-cross-platform-gui-solution-2017">GUI 跨平台解决方案-2017</a>
<small>2017-07-18</small>
</article>
<article class="posts-item">
<a href="/2017-06-26-english-pronunciation">我如何学习英语发音</a>
<small>2017-06-26</small>
</article>
<article class="posts-item">
<a href="/2017-06-21-whats-notebook-we-need">我需要什么样的笔记软件?</a>
<small>2017-06-21</small>
</article>
<article class="posts-item">
<a href="/2017-06-19-avoid-these-35-habits">避开这 35 个坏习惯让你的代码可维护</a>
<small>2017-06-19</small>
</article>
<article class="posts-item">
<a href="/2017-03-19-divsion-back-and-frond-end">前后端分离实践</a>
<small>2017-03-19</small>
</article>
<article class="posts-item">
<a href="/2016-07-13-development-notes-1-count-problems">Count 问题</a>
<small>2016-07-13</small>
</article>
<article class="posts-item">
<a href="/2016-05-16-about-test">关于测试</a>
<small>2016-05-16</small>
</article>
<article class="posts-item">
<a href="/2014-10-27-a-red-black-tree-implementation">理解红黑树</a>
<small>2014-10-27</small>
</article>
<article class="posts-item">
<a href="/2014-02-09-avl-tree-implementation">avl 树的实现</a>
<small>2014-02-09</small>
</article>
<article class="posts-item">
<a href="/2013-11-26-the-best-practical-vim">vim 最佳实践</a>
<small>2013-11-26</small>
</article>
<article class="posts-item">
<a href="/2013-11-23-tail-recursion-optimization">尾递归优化</a>
<small>2013-11-23</small>
</article>
<article class="posts-item">
<a href="/2013-11-08-python-memory-management">Python内存管理</a>
<small>2013-11-08</small>
</article>
<article class="posts-item">
<a href="/about/1990-01-01-aboutme">About Me</a>
<small>1990-01-01</small>
</article>
</div>
<div id="about">
<h2>About Me</h2>
<div class="desc">
<p>
This is Yafu. I work as a fullstack engineer specialized in building scalable, high-performant services and infrastructure solutions. I love tinkering with technologies. Outside of work, I operate a software studio called <a href="https://anywherearc.com/">Anywhere Arc</a> along with my friend <a href="https://www.littletunnel.com/">Sergey</a>. Products we have made:
</p>
<ul>
<li><a href="https://slippod.com/">Slippod: A simple, privacy-first note-taking app designed specifically for your desktop computer.</a></li>
<li><a href="https://textpixie.com/">TextPixie: A quick and accurate AI translator perfect for translating articles.</a></li>
</ul>
</div>
</div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7063285520115051"
crossorigin="anonymous"></script>
<!-- test -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-7063285520115051"
data-ad-slot="1261233203"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</body>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7063285520115051"
crossorigin="anonymous"></script>
</html>