-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
861 lines (545 loc) · 22.2 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
<!DOCTYPE html><html lang="en"><head>
<link rel="stylesheet" href="/css/allinone.min.css">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>风口之巅 | </title>
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="generator" content="hexo">
<meta name="author" content="hanny">
<meta name="description" content="">
<meta name="keywords" content="hexo, casper, ghost, theme">
<link rel="shortcut icon" href="https://mubai.oss-cn-hangzhou.aliyuncs.com/icon.png">
<link rel="apple-touch-icon" href="https://mubai.oss-cn-hangzhou.aliyuncs.com/icon.png">
<meta name="theme-color" content="#3c484e">
<meta name="msapplication-TileColor" content="#3c484e">
<meta property="og:site_name" content="风口之巅">
<meta property="og:type" content="blog">
<meta property="og:title" content="风口之巅 | ">
<meta property="og:description" content="">
<meta property="og:url" content="http://example.com/index.html">
<link rel="alternate" href="/atom.xml" title="风口之巅" type="application/atom+xml">
</head>
<body class="home-template">
<div class="site-wrapper">
<header class="site-header outer " style="background-image: url(https://mubai.oss-cn-hangzhou.aliyuncs.com/background.jpg)">
<div class="inner">
<div class="site-header-content">
<h1 class="site-title">
风口之巅
</h1>
<h2 class="site-description">做一个追赶技术的奋斗者</h2>
</div>
<nav class="site-nav">
<div class="site-nav-left">
<ul class="nav">
<li>
<a href="/" title="Home">HOME</a>
</li>
<li>
<a href="/about" title="ABOUT">ABOUT</a>
</li>
<li>
<a href="/archives" title="ARCHIVES">ARCHIVES</a>
</li>
</ul>
</div>
<div class="search-button">
<a href="#search" class="subscribe-button" style="margin: 0 10px;">Search ...</a>
</div>
<div class="site-nav-right">
<a href="#search" class="subscribe-button" style="margin: 0 10px;">Search ...</a>
<div class="social-links">
<a class="social-link" title="github" href="https://github.com/CaiNiaoHui" target="_blank" rel="noopener">
<svg viewBox="0 0 1049 1024" xmlns="http://www.w3.org/2000/svg"><path d="M524.979332 0C234.676191 0 0 234.676191 0 524.979332c0 232.068678 150.366597 428.501342 358.967656 498.035028 26.075132 5.215026 35.636014-11.299224 35.636014-25.205961 0-12.168395-0.869171-53.888607-0.869171-97.347161-146.020741 31.290159-176.441729-62.580318-176.441729-62.580318-23.467619-60.841976-58.234462-76.487055-58.234463-76.487055-47.804409-32.15933 3.476684-32.15933 3.476685-32.15933 53.019436 3.476684 80.83291 53.888607 80.83291 53.888607 46.935238 79.963739 122.553122 57.365291 152.97411 43.458554 4.345855-33.897672 18.252593-57.365291 33.028501-70.402857-116.468925-12.168395-239.022047-57.365291-239.022047-259.012982 0-57.365291 20.860106-104.300529 53.888607-140.805715-5.215026-13.037566-23.467619-66.926173 5.215027-139.067372 0 0 44.327725-13.906737 144.282399 53.888607 41.720212-11.299224 86.917108-17.383422 131.244833-17.383422s89.524621 6.084198 131.244833 17.383422C756.178839 203.386032 800.506564 217.29277 800.506564 217.29277c28.682646 72.1412 10.430053 126.029806 5.215026 139.067372 33.897672 36.505185 53.888607 83.440424 53.888607 140.805715 0 201.64769-122.553122 245.975415-239.891218 259.012982 19.121764 16.514251 35.636014 47.804409 35.636015 97.347161 0 70.402857-0.869171 126.898978-0.869172 144.282399 0 13.906737 9.560882 30.420988 35.636015 25.205961 208.601059-69.533686 358.967656-265.96635 358.967655-498.035028C1049.958663 234.676191 814.413301 0 524.979332 0z"></path></svg>
</a>
</div>
</div>
</nav>
</div>
</header>
<main id="site-main" class="site-main outer" role="main">
<div class="inner">
<div class="post-feed">
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="aria2c 下载神器" href="/2021/02/22/aria2c%E4%B8%8B%E8%BD%BD%E7%A5%9E%E5%99%A8/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-02-22T12:46:05.733Z" itemprop="datePublished">
2021-02-22
</time>
</span>
<h2 class="post-card-title">aria2c 下载神器</h2>
</header>
<section class="post-card-excerpt">
<p>
安装
rew install aria2
查看使用方法
aria2c -h
多线程下载
aria2c -s 10 使用10个线程下载,默认5个
bt种子下载(torrent)
aria2c -T 指定bt文件
还有其他选项
用户名密码鉴权下载等等,大家可以自己琢磨使用
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
0
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="使用operator-sdk笔记" href="/2021/01/18/%E4%BD%BF%E7%94%A8operator-sdk%E7%AC%94%E8%AE%B0/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-18T03:21:30.878Z" itemprop="datePublished">
2021-01-18
</time>
</span>
<h2 class="post-card-title">使用operator-sdk笔记</h2>
</header>
<section class="post-card-excerpt">
<p>
brew安装operator-sdk
brew install operator-sdk
初始化项目
创建项目名
mkdir memcached-operator
cd memcached-operator
1234567891011121314151617181920212223242. 新建项目 1. operator-sdk init --domain=example.com --repo=github.com/exampl
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
15
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="mac安装java" href="/2021/01/14/homebrew%E5%AE%89%E8%A3%85java%E7%AC%94%E8%AE%B0/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-14T13:47:47.040Z" itemprop="datePublished">
2021-01-14
</time>
</span>
<h2 class="post-card-title">mac安装java</h2>
</header>
<section class="post-card-excerpt">
<p>
brew cask search java
brew cask info java
显示:
12345678910java: 14.0.2,12:205943a0976c4ed48cb16f1043c5c647https://openjdk.java.net/Not installedFrom: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git==> NameOpenJDK Jav
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
2
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="md5sum和md5工具的使用" href="/2021/01/07/md5%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-07T08:02:06.444Z" itemprop="datePublished">
2021-01-07
</time>
</span>
<h2 class="post-card-title">md5sum和md5工具的使用</h2>
</header>
<section class="post-card-excerpt">
<p>
md5sum工具的使用(linux)123456789101112131415161718192021222324用法:md5sum [选项]... [文件]...显示或检查 MD5(128-bit) 校验和。若没有文件选项,或者文件处为"-",则从标准输入读取。 -b, --binary 以二进制模式读取 -c, --check 从文件中读取MD5 的校验值并予以检查 --tag
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
3
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="kubeedge源码分析(一).md" href="/2021/01/05/kubeedge%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90(%E4%B8%80)/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-05T12:50:20.798Z" itemprop="datePublished">
2021-01-05
</time>
</span>
<h2 class="post-card-title">kubeedge源码分析(一).md</h2>
</header>
<section class="post-card-excerpt">
<p>
源码分析
组件名
组件功能
edge_mesh
服务网格解决方案
edge_site
边缘独立集群解决方案
mappers
物联网协议实现包
keadm
kubeedge的一键部署工具
组件名
代码目录
组件启动入口
cloudcore
kubeedge/cloud
kubeedge/cloud/cmd/cloudcore/cloudcore.go,kubeedge/cloud/cmd/admission/admission.go,ku
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
16
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="github图片如何显示出来" href="/2021/01/05/github%E5%9B%BE%E7%89%87%E4%B8%8D%E8%83%BD%E6%98%BE%E7%A4%BA/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-05T08:36:47.237Z" itemprop="datePublished">
2021-01-05
</time>
</span>
<h2 class="post-card-title">github图片如何显示出来</h2>
</header>
<section class="post-card-excerpt">
<p>
对于我这个一天不登github就心慌的人来说,github图片不能显示,是一个大问题。
主要原因dns污染。
解决方法,配置本地hosts文件解决,中国区dns污染问题
mac电脑
终端输入sudo vi /etc/hosts。把下面内容添加进去
123456789101112131415161718# GitHub Start192.30.253.112 Build software better, together192.30.253.119 gist.git
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
2
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="kubeedge 核心架构组件详解" href="/2021/01/05/kubeedge%E7%AC%94%E8%AE%B0%E8%AF%A6%E8%A7%A3/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-05T03:24:22.448Z" itemprop="datePublished">
2021-01-05
</time>
</span>
<h2 class="post-card-title">kubeedge 核心架构组件详解</h2>
</header>
<section class="post-card-excerpt">
<p>
kubeedge分为两个可执行程序(cloudcore/edgecore)- 8个组件cloudcore:
CloudHub:云中的通信接口模块。
EdgeController:管理Edge节点。
devicecontroller 负责设备管理。
edgecore:
Edged:在边缘管理容器化的应用程序。
EdgeHub:Edge上的通信接口模块。
EventBus:使用MQTT处理内部边缘通信。
DeviceTwin:它是用于处理设备元数据的设备的软件镜像。
MetaM
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
2
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="dockerfile" href="/2021/01/04/dockerfile/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-04T07:36:23.000Z" itemprop="datePublished">
2021-01-04
</time>
</span>
<h2 class="post-card-title">dockerfile</h2>
</header>
<section class="post-card-excerpt">
<p>
dockerfile构建镜像1234567891011121314151617FROM alpine:latestADD etcd /usr/local/bin/ADD etcdctl /usr/local/bin/RUN mkdir -p /var/etcd/RUN mkdir -p /var/lib/etcd/# Alpine Linux doesn't use pam, which means that there is no /etc/nsswitch.co
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
1
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="docker启动etcd" href="/2021/01/03/docker%E5%90%AF%E5%8A%A8etcd/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-03T14:48:22.000Z" itemprop="datePublished">
2021-01-03
</time>
</span>
<h2 class="post-card-title">docker启动etcd</h2>
</header>
<section class="post-card-excerpt">
<p>
启动服务docker run -p 2379:2379 -p 2380:2380 –name etcd-gcr-v3.4.0 quay.io/coreos/etcd:v3.4.0 /usr/local/bin/etcd –name s1 –data-dir /etcd-data –listen-client-urls http://0.0.0.0:2379 –advertise-client-urls http://0.0.0.0:2379 –listen-peer-urls
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
1
min read
</span>
</footer>
</div>
</article>
<article class="post-card post no-image ">
<div class="post-card-content">
<a class="post-card-content-link" title="go-zero脚手架搭建微服务笔记" href="/2021/01/03/go-zero%E5%BE%AE%E6%9C%8D%E5%8A%A1%E6%90%AD%E5%BB%BA%E7%AC%94%E8%AE%B0/">
<header class="post-card-header">
<span class="post-card-tags">
|
<time datetime="2021-01-03T07:02:38.491Z" itemprop="datePublished">
2021-01-03
</time>
</span>
<h2 class="post-card-title">go-zero脚手架搭建微服务笔记</h2>
</header>
<section class="post-card-excerpt">
<p>
准备环境
安装etcd mysql redis
我都是放在docker里的,如下图所示
安装protoc-gen-go 和 goctl工具
go get -u github.com/golang/protobuf/protoc-gen-gogo get -u github.com/tal-tech/go-zero/tools/goctl
生成目录
goctl api -o bookstore.api1Done.
显示上面提示说明成功生成
编写api文档
123456
...
</p>
</section>
</a>
<footer class="post-card-meta">
<div class="author-list">
<div class="author-list-item">
<div class="author-name-tooltip">hanny</div>
<a href="/about" class="static-avatar">
<img class="author-profile-image" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/author.png" alt="hanny">
</a>
</div>
</div>
<span class="reading-time">
12
min read
</span>
</footer>
</div>
</article>
</div>
</div>
<nav class="pagination">
<nav class="page-nav">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">Next →</a>
</nav>
</nav>
</main>
</div>
<aside class="read-next outer">
<div class="inner">
<div class="read-next-feed">
<article class="read-next-card" style="background-image: url(https://mubai.oss-cn-hangzhou.aliyuncs.com/background.jpg)">
<header class="read-next-card-header">
<small class="read-next-card-header-sitetitle">— 风口之巅 —</small>
<h3 class="read-next-card-header-title">Recent Posts</h3>
</header>
<div class="read-next-divider">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M13 14.5s2 3 5 3 5.5-2.463 5.5-5.5S21 6.5 18 6.5c-5 0-7 11-12 11C2.962 17.5.5 15.037.5 12S3 6.5 6 6.5s4.5 3.5 4.5 3.5"></path>
</svg>
</div>
<div class="read-next-card-content">
<ul>
<li>
<a href="/2021/02/22/aria2c%E4%B8%8B%E8%BD%BD%E7%A5%9E%E5%99%A8/">aria2c 下载神器</a>
</li>
<li>
<a href="/2021/01/18/%E4%BD%BF%E7%94%A8operator-sdk%E7%AC%94%E8%AE%B0/">使用operator-sdk笔记</a>
</li>
<li>
<a href="/2021/01/14/homebrew%E5%AE%89%E8%A3%85java%E7%AC%94%E8%AE%B0/">mac安装java</a>
</li>
</ul>
</div>
<footer class="read-next-card-footer">
<a href="/archives"> MORE → </a>
</footer>
</article>
</div>
</div>
</aside>
<div id="search" class="search-overlay subscribe-overlay">
<div class="search-form">
<img class="search-overlay-logo" src="https://mubai.oss-cn-hangzhou.aliyuncs.com/icon.png" alt="风口之巅">
<input id="local-search-input" class="search-input" type="text" name="search" placeholder="Search ...">
<a class="search-overlay-close" href="#"></a>
</div>
<div id="local-search-result"></div>
</div>
<footer class="site-footer outer">
<div class="site-footer-content inner">
<section class="copyright">
<a href="/" title="风口之巅">风口之巅</a>
© 2021
</section>
<nav class="site-footer-nav">
<a href="http://www.miitbeian.gov.cn/" title="浙ICP备17018037号" target="_blank" rel="noopener">浙ICP备17018037号</a>
<a href="https://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
</nav>
</div>
</footer>
<script>
if(window.navigator && navigator.serviceWorker) {
navigator.serviceWorker.getRegistrations()
.then(function(registrations) {
for(let registration of registrations) {
registration.unregister();
}
});
}
</script>
<script src="/js/mix/home-lazy-local.min.js"></script>
<script>;(function() {var bLazy = new Blazy()})();</script>
<script>searchFunc("/")</script>
</body></html>