-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
974 lines (579 loc) · 28.9 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
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme="auto">
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/null">
<link rel="icon" href="/image/findxx4.svg">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#2f4154">
<meta name="description" content="XXBlog">
<meta name="author" content="XX">
<meta name="keywords" content="">
<title>寻找XX</title>
<link rel="stylesheet" href="https://fastly.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_ba1fz6golrf.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_kmeydafke9r.css">
<link rel="stylesheet" href="/css/main.css" />
<!-- 自定义样式保持在最底部 -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_3393780_0yzvgqoahfr.css">
<script id="fluid-configs">
var Fluid = window.Fluid || {};
var CONFIG = {"hostname":"findxx.cn","root":"/","version":"1.8.11","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false},"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}},"copy_btn":true,"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"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":false,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null}},"search_path":"/local-search.xml"};
</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 style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand"
href="/"> <strong><img width="40em" height="40em" src="/image/slogan.svg" srcset="/img/loading.gif" lazyload /> 寻找XX <strike>周杰伦</strike></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="/categories/">
<i class="iconfont icon-category-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="/playlist/">
<i class="iconfont icon-music"></i>
歌单
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" target="_self" data-toggle="modal" data-target="#modalSearch"> <i
class="iconfont icon-search"></i> </a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" target="_self"> <i
class="iconfont icon-dark" id="color-toggle-icon"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div class="banner" id="banner" parallax=true
style="background: url('/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.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.3)">
<div class="page-header text-center fade-in-up">
<span class="h2" id="subtitle" title="爬过的那棵树</br>又何时变得渺小</br>这样也好</br>开始没人注意到我</br>等雨变强之前</br>我们将会分化软弱">
</span>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-x-md">
<div class="py-5" id="board"
style=margin-top:0>
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/02/07/pitch-analys/" target="_self">
<img src="/image/%E8%94%A1%E5%81%A5%E9%9B%85-Letting%20Go%20%E9%9F%B3%E9%AB%98%E5%9B%BE.svg" srcset="/img/loading.gif" lazyload alt="基于Python的音高分析器">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2023/02/07/pitch-analys/" target="_self">
基于Python的音高分析器
</a>
</h1>
<p class="index-excerpt">
<a href="/2023/02/07/pitch-analys/" target="_self">
前提背景之前在B站看到一个分析歌手在各大晚会的歌唱表演是否为假唱,通过分析声音的频率还有连续稳定性来判断,觉得很有意思来研究一下。
准备工作首先找到了tensorflow的Spice声音分析模型,查看了下官方文档照着示例用了一下,步骤比较繁琐且不易懂,其使用的plotly python生成数据图性能较差生成较慢。
于是找到了另一个开源库 Parselmouth,Parselmouth是Praat软
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-02-07 11:35" pubdate>
2023-02-07
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Python/">Python</a>
<a href="/categories/Python/Flask/">Flask</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Pitch/">Pitch</a>
<a href="/tags/Plotly/">Plotly</a>
<a href="/tags/parsermouth/">parsermouth</a>
<a href="/tags/tensorflow/">tensorflow</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="/2022/10/17/HtmlGenerator2/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="HtmlGenerator(2)">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/10/17/HtmlGenerator2/" target="_self">
HtmlGenerator(2)
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/10/17/HtmlGenerator2/" target="_self">
对上一篇进行补充链接HTML表格生成器
新增列单元格自动合并功能大概思路就是统计指定列,记录内容连续相等的单元格,然后进行HTML合并操作
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-10-17 17:27" pubdate>
2022-10-17
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Java/">Java</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/HtmlGenerator/">HtmlGenerator</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="/2022/07/05/websocket-client-with-okhttp/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="基于OKHttp实现WebSocket客户端">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/07/05/websocket-client-with-okhttp/" target="_self">
基于OKHttp实现WebSocket客户端
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/07/05/websocket-client-with-okhttp/" target="_self">
新建WebSocketService类新建接口类为了后续回调使用123456789101112131415161718/** * WebSocket监听事件接口 */public interface IWebSocketServiceListener { void onWSClosed(WebSocket webSocket, int code, String reason);
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-07-05 09:53" pubdate>
2022-07-05
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Java/">Java</a>
<a href="/categories/Java/Net/">Net</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/OKHttp/">OKHttp</a>
<a href="/tags/WebSocket/">WebSocket</a>
<a href="/tags/WebSocket-Client/">WebSocket Client</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="/2022/05/26/EasyMessageQueue/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="Java实现简易的消息队列">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/05/26/EasyMessageQueue/" target="_self">
Java实现简易的消息队列
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/05/26/EasyMessageQueue/" target="_self">
最近有个需求需要实现消息发送的频率限制,并且延后发送。使用了一个自定义的简易消息队列
实现定义一个Map用来存储不同消息类型的队列,队列使用的阻塞队列ArrayBlockingQueue
1public static ConcurrentHashMap<String, ArrayBlockingQueue<DingTalkRobotSendVO>> robotSendQue
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-26 11:14" pubdate>
2022-05-26
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Java/">Java</a>
<a href="/categories/Java/%E5%A4%9A%E7%BA%BF%E7%A8%8B/">多线程</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/java/">java</a>
<a href="/tags/Queue/">Queue</a>
<a href="/tags/MessageQueue/">MessageQueue</a>
<a href="/tags/ConcurrentHashMap/">ConcurrentHashMap</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="/2022/05/24/RequestLimit/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="记录一下Spring框架中的频率次数拦截限制">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/05/24/RequestLimit/" target="_self">
记录一下Spring框架中的频率次数拦截限制
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/05/24/RequestLimit/" target="_self">
定义注解1234567@Documented@Target(ElementType.METHOD) // 说明该注解只能放在方法上面@Retention(RetentionPolicy.RUNTIME)public @interface RequestLimit { long time() default 60000; // 限制时间 单位:毫秒 int count() de
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-24 09:36" pubdate>
2022-05-24
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Java/">Java</a>
<a href="/categories/Java/Spring/">Spring</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Spring/">Spring</a>
<a href="/tags/SpringMVC/">SpringMVC</a>
<a href="/tags/SpringBoot/">SpringBoot</a>
<a href="/tags/Interceptor/">Interceptor</a>
<a href="/tags/%E6%8B%A6%E6%88%AA%E5%99%A8/">拦截器</a>
<a href="/tags/%E9%A2%91%E7%8E%87%E9%99%90%E5%88%B6/">频率限制</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="/2022/05/13/HtmlGenerator/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="HtmlGenerator-HTML表格等生成器">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/05/13/HtmlGenerator/" target="_self">
HtmlGenerator-HTML表格等生成器
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/05/13/HtmlGenerator/" target="_self">
使用方法1234HTMLGenerator htmlGenerator = new HTMLGenerator(traceHeaderVOs);htmlGenerator.put("XXX", "表头名"); //XXX属性名...htmlGenerator.generateTable();
源码1234567891011121314151617181920
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-13 16:23" pubdate>
2022-05-13
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Java/">Java</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/HtmlGenerator/">HtmlGenerator</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="/2022/05/11/RxJavaWithRetrofit/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="RxJava、Retrofit结合使用进行网络请求">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/05/11/RxJavaWithRetrofit/" target="_self">
RxJava、Retrofit结合使用进行网络请求
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/05/11/RxJavaWithRetrofit/" target="_self">
引言上两篇文章分别提到了retrofit以及RxJava的使用以及好处,这篇文章开始介绍它们的结合使用
首先引入相关的包implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' //rxjava
implementation 'com.squareup.retrofit2:retrofit:2.9.0' //retr
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-11 14:44" pubdate>
2022-05-11
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Java/">Java</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/RxAndroid/">RxAndroid</a>
<a href="/tags/Java/">Java</a>
<a href="/tags/%E5%8E%9F%E5%88%9B/">原创</a>
<a href="/tags/Android/">Android</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="/2022/05/11/RxJava/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="RxJava的使用">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/05/11/RxJava/" target="_self">
RxJava的使用
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/05/11/RxJava/" target="_self">
RxJava介绍首先要说明的一点,RxAndroid和RxJava是差不多的东西,只不过RxAndroid 针对Android平台做了一点调整。那么RxJava是什么?在其github上是这样讲的:一个在 Java VM 上使用可观测的序列来组成异步的、基于事件的程序的库。这么讲可能还有点绕口,简单的讲实际上最重要的就是异步两字,RxJava可以简单的实现异步操作,并且不管逻辑多么复杂,它始终能够
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-11 14:33" pubdate>
2022-05-11
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Java/">Java</a>
<a href="/categories/Java/RxJava/">RxJava</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/RxJava/">RxJava</a>
<a href="/tags/RxAndroid/">RxAndroid</a>
<a href="/tags/Observer/">Observer</a>
<a href="/tags/Subscriber/">Subscriber</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="/2022/05/10/retrofit/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="retrofit的使用">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/05/10/retrofit/" target="_self">
retrofit的使用
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/05/10/retrofit/" target="_self">
Retrofit是squareup公司的开源力作,和同属squareup公司开源的OkHttp,一个负责网络调度,一个负责网络执行,为Android开发者提供了即方便又高效的网络访问框架。
不过,对于Retrofit这样设计精妙、代码简洁、使用方便的优秀开源项目,不能仅知道如何扩展和使用,或者仅研究它采用的技术或模式,“技”当然重要,但不能忽视了背后的“道”。
对于Retrofit,我们还应该看到
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-05-10 11:14" pubdate>
2022-05-10
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/Java/">Java</a>
<a href="/categories/Java/retrofit/">retrofit</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/retrofit/">retrofit</a>
<a href="/tags/OkHttp/">OkHttp</a>
<a href="/tags/squareup/">squareup</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="/2021/06/24/hello-world/" target="_self">
<img src="/image/0d5b857819f4b3bb068b9d7142c830bddca9f8427fd8d98dd8d93ffbf15e6374.jpg" srcset="/img/loading.gif" lazyload alt="Hello World">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2021/06/24/hello-world/" target="_self">
Hello World
</a>
</h1>
<p class="index-excerpt">
<a href="/2021/06/24/hello-world/" target="_self">
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.
Quick
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2021-06-24 09:30" pubdate>
2021-06-24
</time>
</div>
</div>
</article>
</div>
<nav aria-label="navigation">
<span class="pagination" id="pagination">
<span class="page-number current">1</span><a class="page-number" href="/page/2/#board">2</a><a class="extend next" rel="next" href="/page/2/#board"><i class="iconfont icon-arrowright"></i></a>
</span>
</nav>
</div>
</div>
</div>
</div>
</div>
<a id="scroll-top-button" 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>
</main>
<footer class="text-center mt-5 py-3">
<div class="footer-content">
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>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>Fluid</span></a>
</div>
<div class="statistics">
<!-- 不蒜子统计PV -->
<span id="busuanzi_container_site_pv" style="display: none">
总访问量
<span id="busuanzi_value_site_pv"></span>
次
</span>
<!-- 不蒜子统计UV -->
<span id="busuanzi_container_site_uv" style="display: none">
总访客数
<span id="busuanzi_value_site_uv"></span>
人
</span>
</div>
</footer>
<!-- SCRIPTS -->
<script src="https://fastly.jsdelivr.net/npm/[email protected]/nprogress.min.js" ></script>
<link rel="stylesheet" href="https://fastly.jsdelivr.net/npm/[email protected]/nprogress.min.css" />
<script>
NProgress.configure({"showSpinner":false,"trickleSpeed":100})
NProgress.start()
window.addEventListener('load', function() {
NProgress.done();
})
</script>
<script src="https://fastly.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" ></script>
<script src="https://fastly.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" ></script>
<script src="/js/events.js" ></script>
<script src="/js/plugins.js" ></script>
<!-- Plugins -->
<script src="/js/img-lazyload.js" ></script>
<script defer src="https://fastly.jsdelivr.net/npm/[email protected]/dist/clipboard.min.js" ></script>
<script src="/js/local-search.js" ></script>
<script defer src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" ></script>
<script src="https://fastly.jsdelivr.net/npm/[email protected]/lib/typed.min.js" ></script>
<script>
(function (window, document) {
var typing = Fluid.plugins.typing;
var title = document.getElementById('subtitle').title;
typing(title)
})(window, document);
</script>
<!-- 主题的启动项 保持在最底部 -->
<script src="/js/boot.js" ></script>
</body>
</html>