-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1018 lines (613 loc) · 30.8 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
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=light>
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon.ico">
<link rel="icon" href="/img/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta name="theme-color" content="#080000">
<meta name="author" content="Zelin Wang">
<meta name="keywords" content="">
<meta property="og:type" content="website">
<meta property="og:title" content="Zelin's Blog">
<meta property="og:url" content="https://gwzlchn.github.io/index.html">
<meta property="og:site_name" content="Zelin's Blog">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Zelin Wang">
<meta name="twitter:card" content="summary_large_image">
<title>Zelin's Blog</title>
<link rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_kmeydafke9r.css">
<link rel="stylesheet" href="/css/main.css" />
<link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
<link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
<script id="fluid-configs">
var Fluid = window.Fluid || {};
Fluid.ctx = Object.assign({}, Fluid.ctx)
var CONFIG = {"hostname":"gwzlchn.github.io","root":"/","version":"1.9.3","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"right","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"follow_dnt":true,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":"vyfV0Jz8OincT54vffevrlx0-gzGzoHsz","app_key":"abuQhfiaX9zRJg6PYac65qfa","server_url":"https://vyfv0jz8.lc-cn-n1-shared.com","path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml"};
if (CONFIG.web_analytics.follow_dnt) {
var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
}
</script>
<script src="/js/utils.js" ></script>
<script src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 5.4.2"></head>
<body>
<header>
<div class="header-inner" style="height: 50vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand" href="/">
<strong>Zelin's Blog</strong>
</a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">
<i class="iconfont icon-home-fill"></i>
首页
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">
<i class="iconfont icon-archive-fill"></i>
归档
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">
<i class="iconfont icon-tags-fill"></i>
标签
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">
<i class="iconfont icon-user-fill"></i>
关于
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/links/">
<i class="iconfont icon-link-fill"></i>
友链
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
<i class="iconfont icon-search"></i>
</a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle"> <i
class="iconfont icon-dark" id="color-toggle-icon"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div id="banner" class="banner" parallax=true
style="background: url('/img/banner.jpg') no-repeat center center; background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0)">
<div class="banner-text text-center fade-in-up">
<div class="h2">
<span id="subtitle" data-typed-text="Zelin's Blog"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-x-md">
<div id="board"
>
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202210/rdma-stack-03/" target="_self">
RXE中的定时器
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202210/rdma-stack-03/" target="_self">
<div>
1. RDMA_RXE中结构体的定义和初始化 每个 rxe_qp 包含两个重传定时器,一个重传定时器用于指示未收到对端ACK:retrans_timer,另一个重传计时器指示收到了一个 RNR NAK (收到对端receiver 未准备好的NAK包后,同样要定时重传):rnrnak_timer RNR NAK 可参考IB Spec 1.3 Sec. 9.7.5.2.8 RNR NAK 123
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-10-15 00:05" pubdate>
2022-10-15
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/RDMA/">#RDMA</a>
<a href="/tags/libRXE/">#libRXE</a>
<a href="/tags/Soft-ROCE/">#Soft-ROCE</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202208/rdma-stack-02/" target="_self">
RDMA-RoCEv2 ibv_reg_mr 分析
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202208/rdma-stack-02/" target="_self">
<div>
1. 用户程序调用 IBVerbs 用户调用的ibv_reg_mr中包含四个参数,如下所示 12struct ibv_mr *ibv_reg_mr(struct ibv_pd *pd, void *addr, size_t length, enum ibv_access_flags acces https://www.rdmamojo.com/
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-08-25 11:17" pubdate>
2022-08-25
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/RDMA/">#RDMA</a>
<a href="/tags/libRXE/">#libRXE</a>
<a href="/tags/Soft-ROCE/">#Soft-ROCE</a>
<a href="/tags/libibverbs/">#libibverbs</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202207/rdma-stack-01/" target="_self">
RDMA Stack实现分析
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202207/rdma-stack-01/" target="_self">
<div>
希望通过这篇文章来梳理 libibverbs提供的用户态Verbs API是如何进行设备操作/数据通信的,以Soft-RXE实现为例。 基于kernel: 5.19-rc1 基于rdma-core: v34.0 RDMA Stack的内核支持 参考:https://www.kernel.org/doc/html/latest/translations/zh_CN/infin
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-07-04 22:30" pubdate>
2022-07-04
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/RDMA/">#RDMA</a>
<a href="/tags/libRXE/">#libRXE</a>
<a href="/tags/Soft-ROCE/">#Soft-ROCE</a>
<a href="/tags/libibverbs/">#libibverbs</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202206/rust-for-linux-01/" target="_self">
体验rust-for-linux
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202206/rust-for-linux-01/" target="_self">
<div>
编译x86 kernel + 构建文件系统 Rust依赖安装 参考:Rust for linux: Quick Start 使用用cargo/rustup安装rustc + rust-src + bindgen 安装LLVM-14 参考https://apt.llvm.org/ bash -c "$(wget -O - https://apt.llvm.org/llvm.sh
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-06-16 11:16" pubdate>
2022-06-16
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Rust/">#Rust</a>
<a href="/tags/kernel/">#kernel</a>
<a href="/tags/Rust-for-linux/">#Rust-for-linux</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202205/rdma-ofa-training-1/" target="_self">
RDMA入门简介
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202205/rdma-ofa-training-1/" target="_self">
<div>
本文是对 OFA Training 第一部分的总结。 这是一份很好的学习RDMA的入门材料,从原理讲起,更容易理解。 关键术语1. RDMA – Remote Direct Memory Acces一种应用程序之间的通信机制 Remote:说明通信双方处于远端 Direct:说明通信不需要“更高权限者”的参与 Memory:说明数据需要从应用A的虚拟地址转移到应用B的虚拟地址 2. Verb
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-27 20:31" pubdate>
2022-05-27
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/RDMA/">#RDMA</a>
<a href="/tags/OFA/">#OFA</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202205/rust-traits/" target="_self">
Rust标准库涉及的Trait
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202205/rust-traits/" target="_self">
<div>
本篇文章是对下面文章的阅读笔记,不保证可靠性,希望大家还是以Rust标准库源码/英文原文为准 Tour of Rust’s Standard Library Traits 本文亦参考了下面这篇文章,但该文章排版有混乱的地方Tour of Rust’s Standard Library Traits中译 Trait基础1. Self指代实现的类型1234567891011121314151
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-18 17:20" pubdate>
2022-05-18
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Rust/">#Rust</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202205/cs144-lab4/" target="_self">
CS144-Lab4实验笔记
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202205/cs144-lab4/" target="_self">
<div>
实验简介这个实验主要完成TCP Endpoint的功能,一个TCP端点包含一个TCPSender,和一个TCPReceiver。进行TCP连接的时候,通常是一个TCP端点A向另一个TCP端点B发送“连接建立”请求,经过三次握手后TCP连接建立。之后两个端点间可以相互传送数据。每当一端要发送的字节流到达EOF的时候,向对端发送一个“连接关闭”请求,最后当两个端点均已经发送连接关闭的请求,并且都接到了
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-18 16:39" pubdate>
2022-05-18
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/CS144/">#CS144</a>
<a href="/tags/TCP-IP/">#TCP/IP</a>
<a href="/tags/Networking/">#Networking</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202205/cs144-lab3/" target="_self">
CS144-Lab3实验笔记
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202205/cs144-lab3/" target="_self">
<div>
实验简介Lab3这个实验主要完成的是TCP发送端的功能。应用程序写入字节流到socket,TCP Sender负责将本端的字节流发送到对端。 具体地说,TCP Sender负责: 根据对端的“接受窗口大小 + 期望收到的下一个字节”,来构造要发送的TCP报文头部和数据。 如果超出规定的时间后仍未收到一个已发送报文的应答,则需要重传这个报文。 要实现的功能有:1. 如何构造要发送的TCP头
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-18 16:39" pubdate>
2022-05-18
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/CS144/">#CS144</a>
<a href="/tags/TCP-IP/">#TCP/IP</a>
<a href="/tags/Networking/">#Networking</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202205/cs144-lab2/" target="_self">
CS144-Lab2实验笔记
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202205/cs144-lab2/" target="_self">
<div>
实验简介这个实验主要完成的是,TCP接受端应该如何工作,才能正确地将TCP Payload交付给socket的问题。 CS144 Lab实现的是这个场景:NIC从链路上收到MAC数据包,交给kernel;kernel解析MAC头后,将这个包传给虚拟的tun设备。CS144 Lab中的其他辅助函数从tun设备中读取IP包,拆包后将完整TCP报文交给tcp_receiver/tcp_sender 这两
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-18 16:39" pubdate>
2022-05-18
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/CS144/">#CS144</a>
<a href="/tags/TCP-IP/">#TCP/IP</a>
<a href="/tags/Networking/">#Networking</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202205/cs144-lab1/" target="_self">
CS144-Lab1实验笔记
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202205/cs144-lab1/" target="_self">
<div>
实验简介Lab0中完成了有序字节流的写入和读出,这个实验需要完成乱序字节流的重组、写入和读出。也就是说,Lab1实验手册中的这幅图,蓝色和绿色部分我们已经在Lab0中完成了,我们在Lab1中只需要完成红色部分的重组即可。 思路(这个思路有很大的性能优化空间) 使用map存储乱序字节流,key=(起始下标,结束下标),均从0开始,value=(字符串),pair<int,int>作为
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-18 16:39" pubdate>
2022-05-18
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/CS144/">#CS144</a>
<a href="/tags/TCP-IP/">#TCP/IP</a>
<a href="/tags/Networking/">#Networking</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202205/cs144-lab0/" target="_self">
CS144-实验环境搭建和Lab0
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202205/cs144-lab0/" target="_self">
<div>
实验环境 这次打算用 Jetbrains Gateway进行远程开发。按照 CS144 README 进行远端Clion的配置。注意环境变量和编译时传给cmake的宏的设置。 安装TcpDump,最好从Github的源码编译安装,5.0版本后的tcpdump可以保存pcap文件中同时输出到标准输出流中。 实验0使用TCPsocket和一个webserver(对端监听80端口)进行通信,类似于cu
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-18 16:35" pubdate>
2022-05-18
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/CS144/">#CS144</a>
<a href="/tags/TCP-IP/">#TCP/IP</a>
<a href="/tags/Networking/">#Networking</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/202107/tmux-tutorial/" target="_self">
<img src="/img/2021-07-19-tmux-tutorial/tmux-nord.png" srcset="/img/loading.gif" lazyload alt="Tmux配置与美化">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/202107/tmux-tutorial/" target="_self">
Tmux配置与美化
</a>
</h1>
<a class="index-excerpt " href="/202107/tmux-tutorial/" target="_self">
<div>
本文介绍了我目前使用的Tmux配置。一来是目前的配置用着还算舒服,写此文安利一下;二来也记录一下键位映射,以做备忘。 我的Tmux配置目录 Oh-My-Tmux目前我用的配置是基于Oh-My-Tmux项目改造的。在这个项目上我进行了一些配色的改变(原生的黑白红是在欣赏不起来),最终效果如下图1所示,环境为Windows Terminal + WSL2 + Tmux 3.0a 安装 配置文件的安装这
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2021-07-19 11:01" pubdate>
2021-07-19
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/tmux/">#tmux</a>
<a href="/tags/dotConfig/">#dotConfig</a>
<a href="/tags/%E6%8A%98%E8%85%BE/">#折腾</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/202106/6-s081-lab0/" target="_self">
<img src="/img/6.S081/gdb.png" srcset="/img/loading.gif" lazyload alt="[MIT-6.S081/Fall2020] 实验笔记零 Lab0: Preparation">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/202106/6-s081-lab0/" target="_self">
[MIT-6.S081/Fall2020] 实验笔记零 Lab0: Preparation
</a>
</h1>
<a class="index-excerpt " href="/202106/6-s081-lab0/" target="_self">
<div>
写在前面的话为了更好地理解RISC-V指令集,也为了熟悉QEMU,所以选择刷一遍MIT-6.S081的实验。希望不仅仅以做Lab为目的,同时也精读几篇OS领域经典文章。 可能好多人都卡在环境准备上,但后来我发现:趁早动手做实验,比准备环境更重要~ 环境搭建参考 6.S081 官方的配置教程:Tools 本人用的环境是基于Qemu(KVM)上的Ubuntu 20.04。 首先安装RISC-V工具链
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2021-06-22 21:21" pubdate>
2021-06-22
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/MIT/">#MIT</a>
<a href="/tags/Open-Course/">#Open Course</a>
<a href="/tags/6-S081/">#6.S081</a>
<a href="/tags/OS/">#OS</a>
<a href="/tags/Lab/">#Lab</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/202106/Hexo-CI/" target="_self">
使用Github Actions自动部署Hexo博客
</a>
</h1>
<a class="index-excerpt index-excerpt__noimg" href="/202106/Hexo-CI/" target="_self">
<div>
介绍本文将介绍如何利用Github Actions功能自动部署博客。这样本地就不需要安装Node.js以及Hexo包,写完文档直接push到远程仓库,由Github Actions自动部署到博客网站上。由于本网站现阶段托管于github.io,因此我目前的需求是,推送博客文章的更改后,生成对应的静态网页,最后将静态网页内容自动推送到 username.github.io 这个仓库中。 必要的准备测
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2021-06-21 12:34" pubdate>
2021-06-21
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/CI/">#CI</a>
<a href="/tags/Github/">#Github</a>
<a href="/tags/Hexo/">#Hexo</a>
</div>
</div>
</article>
</div>
</div>
</div>
</div>
</div>
</div>
<a id="scroll-top-button" aria-label="TOP" href="#" role="button">
<i class="iconfont icon-arrowup" aria-hidden="true"></i>
</a>
<div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">搜索</h4>
<button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-5">
<input type="text" id="local-search-input" class="form-control validate">
<label data-error="x" data-success="v" for="local-search-input">关键词</label>
</div>
<div class="list-group" id="local-search-result"></div>
</div>
</div>
</div>
</div>
<div class="col-lg-7 mx-auto nopadding-x-md">
<div class="container custom mx-auto">
<script type="text/javascript" src="//rf.revolvermaps.com/0/0/6.js?i=5lzo9y8g750&m=7&c=baff00&cr1=ff007e&f=arial&l=0&bv=40" async="async"></script>
</div>
</div>
</main>
<footer>
<div class="footer-inner">
<div class="footer-content">
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Powered by Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>With Fluid Theme</span></a>
</div>
<div class="statistics">
<span id="leancloud-site-pv-container" style="display: none">
总访问量
<span id="leancloud-site-pv"></span>
次
</span>
<span id="leancloud-site-uv-container" style="display: none">
总访客数
<span id="leancloud-site-uv"></span>
人
</span>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js" ></script>
<link rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css" />
<script>
NProgress.configure({"showSpinner":false,"trickleSpeed":100})
NProgress.start()
window.addEventListener('load', function() {
NProgress.done();
})
</script>
<script src="https://lib.baomitu.com/jquery/3.6.0/jquery.min.js" ></script>
<script src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js" ></script>
<script src="/js/events.js" ></script>
<script src="/js/plugins.js" ></script>
<script src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
<script>
(function (window, document) {
var typing = Fluid.plugins.typing;
var subtitle = document.getElementById('subtitle');
if (!subtitle || !typing) {
return;
}
var text = subtitle.getAttribute('data-typed-text');
typing(text);
})(window, document);
</script>
<script src="/js/img-lazyload.js" ></script>
<script defer src="/js/leancloud.js" ></script>