forked from renshou753/renshou753.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1144 lines (793 loc) · 40.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
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="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="朝露曇花,咫尺天涯,人道是黃河十曲,畢竟東流去。八千年玉老,一夜枯榮,問蒼天此生何必?昨夜風吹處,落英聽誰細數。九萬里蒼穹,御風弄影,誰人與共?千秋北斗,瑤宮寒苦,不若神仙眷侶,百年江湖。" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title>
Chenhao Li
</title>
<meta name="generator" content="hexo-theme-ayer">
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="/dist/main.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/css/remixicon.min.css">
<link rel="stylesheet" href="/css/custom.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/pace.min.js"></script>
<link rel="alternate" href="/atom.xml" title="Chenhao Li" type="application/atom+xml">
</head>
</html>
<body>
<div id="app">
<main class="content on">
<section class="cover">
<div class="cover-frame">
<div class="bg-box">
<img src="/images/moganshan.jpg" alt="image frame" />
</div>
<div class="cover-inner text-center text-white">
<h1><a href="/">Chenhao Li</a></h1>
<div id="subtitle-box">
<span id="subtitle"></span>
</div>
<div>
</div>
</div>
</div>
<div class="cover-learn-more">
<a href="javascript:void(0)" class="anchor"><i class="ri-arrow-down-line"></i></a>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/typed.min.js"></script>
<!-- Subtitle -->
<script>
try {
var typed = new Typed("#subtitle", {
strings: ['Don't forget to be awesome!', '愿你一生努力,一生被爱', '想要的都拥有,得不到的都释怀'],
startDelay: 0,
typeSpeed: 200,
loop: true,
backSpeed: 100,
showCursor: true
});
} catch (err) {
console.log(err)
}
</script>
<div id="main">
<section class="outer">
<div class="notice" style="margin-top:50px">
<i class="ri-heart-fill"></i>
<div class="notice-content" id="broad"></div>
</div>
<script type="text/javascript">
fetch('https://v1.hitokoto.cn')
.then(response => response.json())
.then(data => {
document.getElementById("broad").innerHTML = data.hitokoto;
})
.catch(console.error)
</script>
<style>
.notice {
padding: 20px;
border: 1px dashed #e6e6e6;
color: #969696;
position: relative;
display: inline-block;
width: 100%;
background: #fbfbfb50;
border-radius: 10px;
}
.notice i {
float: left;
color: #999;
font-size: 16px;
padding-right: 10px;
vertical-align: middle;
margin-top: -2px;
}
.notice-content {
display: initial;
vertical-align: middle;
}
</style>
<article class="articles">
<article
id="post-2021-2-5-Xpath笔记"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2021/02/05/2021-2-5-Xpath%E7%AC%94%E8%AE%B0/"
>Xpath学习笔记</a>
</h2>
</header>
<div class="article-meta">
<a href="/2021/02/05/2021-2-5-Xpath%E7%AC%94%E8%AE%B0/" class="article-date">
<time datetime="2021-02-05T03:14:59.000Z" itemprop="datePublished">2021-02-05</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/tech/">tech</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>XPATH -> XML path language</p>
<h3 id="Node"><a href="#Node" class="headerlink" title="Node"></a>Node</h3><p>In XPath, there are seven kinds of nodes: element, attribute, text, namespace, processing-instruction, comment, and document nodes.</p>
<p>XML documents are treated as trees of nodes. The topmost element of the tree is called the root element.</p>
<h3 id="Relationship-of-Nodes"><a href="#Relationship-of-Nodes" class="headerlink" title="Relationship of Nodes"></a>Relationship of Nodes</h3><ul>
<li>Parent</li>
</ul>
<p>Each element and attribute has one parent.</p>
<ul>
<li>Children</li>
</ul>
<p>Element nodes may have zero, one or more children.</p>
<ul>
<li>Siblings</li>
</ul>
<p>Nodes that have the same parent.</p>
<ul>
<li>Ancestors</li>
</ul>
<p>A node’s parent, parent’s parent, etc.</p>
<ul>
<li>Descendants</li>
</ul>
<p>A node’s children, children’s children, etc.</p>
<h3 id="Selecting-nodes"><a href="#Selecting-nodes" class="headerlink" title="Selecting nodes"></a>Selecting nodes</h3><p>XPath uses path expressions to select nodes in an XML document. The node is selected by following a path or steps. The most useful path expressions are listed below:</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">Expression Description</span><br><span class="line">nodename Selects all nodes with the name "nodename"</span><br><span class="line">/ Selects from the root node</span><br><span class="line">// Selects nodes in the document from the current node that match the selection no matter where they are</span><br><span class="line">. Selects the current node</span><br><span class="line">.. Selects the parent of the current node</span><br><span class="line">@ Selects attributes</span><br></pre></td></tr></table></figure>
<p>Examples</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">bookstore Selects all nodes with the name "bookstore"</span><br><span class="line">/bookstore Selects the root element bookstore</span><br><span class="line">bookstore/book Selects all book elements that are children of bookstore</span><br><span class="line">//book Selects all book elements no matter where they are in the document</span><br><span class="line">bookstore//book Selects all book elements that are descendant of the bookstore element, no matter where they are under the bookstore element</span><br><span class="line">//@lang Selects all attributes that are named lang</span><br></pre></td></tr></table></figure>
<h3 id="Xpath-Axes"><a href="#Xpath-Axes" class="headerlink" title="Xpath Axes"></a>Xpath Axes</h3><p><a href="https://www.w3schools.com/xml/xpath_syntax.asp" target="_blank" rel="noopener">https://www.w3schools.com/xml/xpath_syntax.asp</a></p>
<h3 id="Contains-Siblings"><a href="#Contains-Siblings" class="headerlink" title="Contains, Siblings"></a>Contains, Siblings</h3><p><a href="https://www.guru99.com/using-contains-sbiling-ancestor-to-find-element-in-selenium.html" target="_blank" rel="noopener">https://www.guru99.com/using-contains-sbiling-ancestor-to-find-element-in-selenium.html</a></p>
<h3 id="Simple-online-Xpath-test"><a href="#Simple-online-Xpath-test" class="headerlink" title="Simple online Xpath test"></a>Simple online Xpath test</h3><p><a href="http://www.xpathtester.com/xpath/76bb0bca-1896-43b7-8312-54f924a98a89" target="_blank" rel="noopener">http://www.xpathtester.com/xpath/76bb0bca-1896-43b7-8312-54f924a98a89</a></p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/xpath/" rel="tag">xpath</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2019-8-12-通过Github page建立博客-4-Markdown"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2019/08/12/2019-8-12-%E9%80%9A%E8%BF%87Github%20page%E5%BB%BA%E7%AB%8B%E5%8D%9A%E5%AE%A2-4-Markdown/"
>通过Github page建立博客-4-Markdown</a>
</h2>
</header>
<div class="article-meta">
<a href="/2019/08/12/2019-8-12-%E9%80%9A%E8%BF%87Github%20page%E5%BB%BA%E7%AB%8B%E5%8D%9A%E5%AE%A2-4-Markdown/" class="article-date">
<time datetime="2019-08-12T08:34:59.000Z" itemprop="datePublished">2019-08-12</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/tech/">tech</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>这个视频向大家大致讲解 markdown 的语法。</p>
<p><a href="https://youtu.be/SoKSwhMuHq8" target="_blank" rel="noopener" title="Everything Is AWESOME"><img src="/images/github_page/1.png" alt="Everything Is AWESOME"></a></p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/github-page%E9%9D%99%E6%80%81%E5%8D%9A%E5%AE%A2/" rel="tag">github_page静态博客</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2019-8-12-通过Github page建立博客-3-添加文章-jekyll结构"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2019/08/12/2019-8-12-%E9%80%9A%E8%BF%87Github%20page%E5%BB%BA%E7%AB%8B%E5%8D%9A%E5%AE%A2-3-%E6%B7%BB%E5%8A%A0%E6%96%87%E7%AB%A0-jekyll%E7%BB%93%E6%9E%84/"
>通过Github page建立博客-3-添加文章-jekyll结构</a>
</h2>
</header>
<div class="article-meta">
<a href="/2019/08/12/2019-8-12-%E9%80%9A%E8%BF%87Github%20page%E5%BB%BA%E7%AB%8B%E5%8D%9A%E5%AE%A2-3-%E6%B7%BB%E5%8A%A0%E6%96%87%E7%AB%A0-jekyll%E7%BB%93%E6%9E%84/" class="article-date">
<time datetime="2019-08-12T07:34:59.000Z" itemprop="datePublished">2019-08-12</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/tech/">tech</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>这个视频向大家讲解怎么给自己的 github page 添加文章,并简单介绍 jekyll 静态博客的结构。</p>
<p><a href="https://youtu.be/O1CjWoBWKmo" target="_blank" rel="noopener" title="Everything Is AWESOME"><img src="/images/github_page/1.png" alt="Everything Is AWESOME"></a></p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/github-page%E9%9D%99%E6%80%81%E5%8D%9A%E5%AE%A2/" rel="tag">github_page静态博客</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2019-8-12-通过Github page建立博客-2-建立域名"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2019/08/12/2019-8-12-%E9%80%9A%E8%BF%87Github%20page%E5%BB%BA%E7%AB%8B%E5%8D%9A%E5%AE%A2-2-%E5%BB%BA%E7%AB%8B%E5%9F%9F%E5%90%8D/"
>通过Github page建立博客-2-建立域名</a>
</h2>
</header>
<div class="article-meta">
<a href="/2019/08/12/2019-8-12-%E9%80%9A%E8%BF%87Github%20page%E5%BB%BA%E7%AB%8B%E5%8D%9A%E5%AE%A2-2-%E5%BB%BA%E7%AB%8B%E5%9F%9F%E5%90%8D/" class="article-date">
<time datetime="2019-08-12T06:34:59.000Z" itemprop="datePublished">2019-08-12</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/tech/">tech</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>这个视频向大家介绍怎么给自己的 github page 增加自定义的域名。</p>
<p><a href="https://youtu.be/Y-fmxhhoj8w" target="_blank" rel="noopener" title="Everything Is AWESOME"><img src="/images/github_page/1.png" alt="Everything Is AWESOME"></a></p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/github-page%E9%9D%99%E6%80%81%E5%8D%9A%E5%AE%A2/" rel="tag">github_page静态博客</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2018-11-11-通过Github page建立博客-1-Jekyll now模板"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2018/11/11/2018-11-11-%E9%80%9A%E8%BF%87Github%20page%E5%BB%BA%E7%AB%8B%E5%8D%9A%E5%AE%A2-1-Jekyll%20now%E6%A8%A1%E6%9D%BF/"
>通过Github page建立博客-1-Jekyll now模板</a>
</h2>
</header>
<div class="article-meta">
<a href="/2018/11/11/2018-11-11-%E9%80%9A%E8%BF%87Github%20page%E5%BB%BA%E7%AB%8B%E5%8D%9A%E5%AE%A2-1-Jekyll%20now%E6%A8%A1%E6%9D%BF/" class="article-date">
<time datetime="2018-11-11T06:34:59.000Z" itemprop="datePublished">2018-11-11</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/tech/">tech</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>很高兴今天跟大家介绍如何通过 Github page 建立免费的个人博客,无需去担心数据库和安全,无需安装应用或申请域名,10 分钟建立极简的个人博客。</p>
<p>Jekyll now 项目地址: <a href="https://github.com/barryclark/jekyll-now" target="_blank" rel="noopener">https://github.com/barryclark/jekyll-now</a></p>
<p>如何添加自己的文章:</p>
<p>去自己 xxx.github.io 这个项目下_post 文件夹里,添加文件即可。注意 github page 是以 markdown 去展示,为了好的展示效果建议可以去学习 markdown 语法。</p>
<p>视频在下面:</p>
<p><a href="https://youtu.be/RQAXzv0zZSA" target="_blank" rel="noopener" title="Everything Is AWESOME"><img src="/images/github_page/1.png" alt="Everything Is AWESOME"></a></p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/github-page%E9%9D%99%E6%80%81%E5%8D%9A%E5%AE%A2/" rel="tag">github_page静态博客</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2018-11-03-Louvre"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2018/11/03/2018-11-03-Louvre/"
>Louvre</a>
</h2>
</header>
<div class="article-meta">
<a href="/2018/11/03/2018-11-03-Louvre/" class="article-date">
<time datetime="2018-11-03T06:34:59.000Z" itemprop="datePublished">2018-11-03</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/personal/">personal</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>18 年 11 月 2 日第一次参观卢浮宫,带给自己的绝不仅仅是震撼,法国人民保护历史的观念可能早从拿破仑时代就有开始,短短几百年,卢浮宫已经收猎了来自法国本土,欧洲,埃及,希腊,近东等地的珍贵文物,这些文物没有因为战争而被毁坏,也没有因为中国文化大革命这般把自己的历史全盘抹去,讽刺的是中国三十年河东,三十年又河西,一会要全面反传统,一面又要文化传播弘扬主旋律,一味建什么孔子学院,试问一个民族如果连自己都不坚持或信任自己的体制或者文化,又谈怎么宣传,皇帝的新装在中国活生生上演。</p>
<p>这个时代活脱脱是一个闹剧,一切历史都可以被赢家粉饰。我在意识到卢浮宫到底是多么宏伟的一霎那泪水差点蹦出来,之前对法国人不甚了解,他们其实很会自嘲,也有很强的精神领域,浪漫或者艺术只是表面,他们有着对人类文明的捍卫观念,从某个角度上来说,他们的年轻人相比其他国家的年轻人更可能发现人为什么活着。毕竟在欧洲有太多机会接触到不同的文化和事物,不容易对世界有那种非黑即白的认知,世界太大,荣华富贵都是过往云烟,一味的物质其实真的只是浅薄和无知,当我看到卢浮宫有着世界文明那般程度的浓缩之后,一霎那我用一天的时间走完了世界几千年。也罢,对酒当歌,人生几何,作为一个人更需要明白你自己为什么活着,能不能做出一些贡献,有自己的精神场,才是我现期的要务了罢。</p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%97%A5%E8%AE%B0/" rel="tag">日记</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2017-12-27-断舍离"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2017/12/27/2017-12-27-%E6%96%AD%E8%88%8D%E7%A6%BB/"
>断舍离</a>
</h2>
</header>
<div class="article-meta">
<a href="/2017/12/27/2017-12-27-%E6%96%AD%E8%88%8D%E7%A6%BB/" class="article-date">
<time datetime="2017-12-27T06:34:59.000Z" itemprop="datePublished">2017-12-27</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/personal/">personal</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>生活在一个物质亢余的年代是辛苦的,所有人都拼命得到物质,人与人评价的标准无非是金钱,女人,地位,这些标准面目可憎,令人厌恶,每次我回到家姥姥都滔滔不绝地说我太瘦要多吃饭,穿的太少赶紧买衣服,我知道她本质上是为我好;可这些东西与她有什么关系?吃多少穿什么是我自己的事情,与她有什么关系?难道我不知道自己喜欢什么生活方式?中国人的家庭最令我讨厌的是总有人喜欢对他人生活指手画脚,这些点让我拼命的想逃离家庭的束缚。</p>
<p>现代社会难能可贵的是断舍离,抛弃一切不是必须的东西,享受极简主义的生活方式,落实到家庭生活中 80%都是些鸡毛蒜皮的琐事,而我们却被这些琐事占据了大量的精力心神,要享受纯粹的生活必须放弃亢余的物质,扔掉 80%不常用的衣服,物件。</p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%97%A5%E8%AE%B0/" rel="tag">日记</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2017-12-24-终身学习读书笔记"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2017/12/24/2017-12-24-%E7%BB%88%E8%BA%AB%E5%AD%A6%E4%B9%A0%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/"
>终身学习读书笔记</a>
</h2>
</header>
<div class="article-meta">
<a href="/2017/12/24/2017-12-24-%E7%BB%88%E8%BA%AB%E5%AD%A6%E4%B9%A0%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/" class="article-date">
<time datetime="2017-12-24T06:34:59.000Z" itemprop="datePublished">2017-12-24</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/personal/">personal</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<h2 id="教育模式"><a href="#教育模式" class="headerlink" title="教育模式"></a>教育模式</h2><p>教育制度分为三种,第一种所谓应试教育,运用考试的力量迫使学生学习,这种方式学生的参与性较低,但却是最公平的方式,无论是寒门还是贵子都要参与统一的考试,这种方式着重把学生培育成一件工具,或是一台机器,即培养所谓对社会有用的人,或有用的工具。</p>
<p>第二种为素质教育,这其实是着重培养中产阶级的教育方式,除学习之外会要求学生有很多的兴趣爱好,美国主要倡导的即这种方式,常青藤常常要求学生积极参与社会活动,体育运动,这些贵族运动其实无形之中把贫穷的学习拒之门外;比较与中国阶级流动的减缓停滞,美国形成了阶级的固化,如果从小没有相应的环境培养各类兴趣爱好很好进入好的大学。</p>
<p>素质教育的核心是成为一个更好的人,本质上成为更好的自己是为了被利用,而第三种,也是最高层的教育模式却对此不屑一顾,他们只需要利用管理他人,相比前两种模式第三种教育只注重培养学生做决策的能力,他们培养出的学生可以不会做 ppt 也可以不会 excel,他们只需要在正确的时机做出正确的决定。在这种教育模式下,教授会对学生比较宽松,他们会要求学生无论是好是坏,为自己所做出的决定负责。</p>
<h2 id="知行合一"><a href="#知行合一" class="headerlink" title="知行合一"></a>知行合一</h2><p>在互联网时代下,地位背景金钱等等都变得不再重要,唯一重要的东西是认知,有钱并不能保证你赚更多的钱,有高人一等的认知会在这个世纪胜出,一个行业的更迭可能只有十几年,旧的知识体系在新的时代下经受不住挑战,要胜出就要不断改进自己的认知结构,终身学习,先提升认识确定超人一等的目标,再用行动和执行力妥善跟上自己思想的步伐,言必至,行必果。</p>
<p>认知升级的途径:</p>
<p>1) 承认自己的无知,承认自己不知道 (万物皆有裂痕,那是光照进来的地方)<br>2) 采取行动,把知道变成行动<br>3) 永远和比你知道的多的人在一起</p>
<h2 id="一只眼死两只眼活"><a href="#一只眼死两只眼活" class="headerlink" title="一只眼死两只眼活"></a>一只眼死两只眼活</h2><p>培养两种以上的禀赋,在一个领域做到前 1%是非常困难的,可是在两个不同的领域做到前 10%就不是那么难,考虑到知识的更新换代,有两种不同的禀赋相长相承有更有助于职业的发展和个人的进步。</p>
<p>在查理芒格的穷查理宝典中更强调了这一点,查理甚至建议一百种左右的跨学科学习。</p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%97%A5%E8%AE%B0/" rel="tag">日记</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2017-11-09-reckless"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2017/11/19/2017-11-09-reckless/"
>reckless</a>
</h2>
</header>
<div class="article-meta">
<a href="/2017/11/19/2017-11-09-reckless/" class="article-date">
<time datetime="2017-11-19T06:34:59.000Z" itemprop="datePublished">2017-11-19</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/personal/">personal</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>最近在比较好的循环当中,工作解决了不少问题,心态也逐渐回归平静。i</p>
<p>是要在冒险与宁静中找一个平衡点的,要经常做一些比较新奇的事情,不需要考虑后果与影响,年轻就该是 reckless。</p>
<p>听见一个故事还是很感动,Chenhao 告诉我,她刚毕业不久后孤身去云南,本来只是一时兴起,可后来她临时决定徒步去西藏,这一路就是几个月,途中经历了不少麻烦,能搭到便车她会蹭一下,有时候也有来自全国各地的驴友,可大多时候就真的只是一个人而已,忍受无尽的孤单,也许有时候找不到借宿的地方,还会忍饥挨饿。</p>
<p>其实没有什么事情是做不了的,做事也不需要太计较利弊得失,人在大多数时候就是说的太多,做的太少,我在每一阶段做出的最有利于我自己的决策,可能在别人看来也不过是井底之蛙的举动而已,要超越,更多时候需要自己不懈的努力,附加卓越的经历,这些经历会让你看得更远,你要让你自己变得更有趣,更生动,成为一个更为真实的人,无论利弊得失,坦率的分享自己的过去,坦率的面对自己的弱点,坦率的面对自己做不喜欢让人触碰的东西,只有你自己认识到了自己的问题,才有机会去克服并改变。</p>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%97%A5%E8%AE%B0/" rel="tag">日记</a></li></ul>
</footer>
</div>
</article>
<article
id="post-2017-11-17-Review"
class="article article-type-post"
itemscope
itemprop="blogPost"
data-scroll-reveal
>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2017/11/17/2017-11-17-Review/"
>Review</a>
</h2>
</header>
<div class="article-meta">
<a href="/2017/11/17/2017-11-17-Review/" class="article-date">
<time datetime="2017-11-17T06:34:59.000Z" itemprop="datePublished">2017-11-17</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/personal/">personal</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>1 举出 3-5 件过去发生的不好的事,写下对自己的积极信息,可能对未来产生好的影响?</p>
<ul>
<li>体育不好,从小不太合群 — 生活独立,可以自己自由地去做喜欢的事情,看了不少书。</li>
<li>大学荒废了几年时间,没有形成核心竞争力 — 把想玩的玩了一遍,之后可以更专心的工作学习,这段时间对我来说更多是试错;经历了几段感情,人变得更为成熟。</li>
<li>高考差了几分,没考上同济 — 即使上了也是语言类,其实今后怎样更多还是看自己的决策智慧,是否敢于做出突破和改变。</li>
<li>自卑,小城市长大 — 首先要正视自己的过去和弱点,不能逃避,勇敢生活并做出改变,尝试解决问题 rather than 避重就轻</li>
</ul>
<p>2 检视一下最近做的事中哪些对当下有好处但对未来几乎没有价值甚至有害,你决定减少哪件事的频率,会采取哪些方法?</p>
<ul>
<li>玩手机游戏,再次陷入了沉迷的怪圈 — 卸载街篮</li>
</ul>
<p>3 列举 3-5 件做过最有成就感的事, 列举对自己或他人的影响。</p>
<ul>
<li>通过 AA L1</li>
<li>帮俄罗斯女生写了篇 R 的论文</li>
<li>通过 CPA 的几门考试,考入 MBA</li>
<li>学了几门编程语言,英语熟练交流</li>
<li>自己制作游戏机</li>
</ul>
<p>使我意识到了通过自己的努力 literally 我可以实现任何事,nothing is impossible, just do it.</p>
<p>4 列举 3-5 个未来五年打算实现的目标,如何实现它。</p>
<ul>
<li>成为一名编程高手,一个黑客。</li>
<li>在技术领域成为专家,实现兴趣与工作的结合</li>
<li>成为一个合格的管理者和沟通者</li>
<li>找到真爱,哈哈哈</li>
</ul>
<p>5 除了工作,写下 3-5 件打算每周去做的让自己放松下的事情。</p>
<ul>
<li>玩游戏(注意不能玩网游)</li>
<li>看书,每周至少五小时,可以是英文也可以是中文</li>
<li>做一件之前没做过的新鲜的事</li>
<li>youtube</li>
<li>有声书</li>
<li>锻炼</li>
</ul>
<p>6 写下一件打算长期保持的爱好,每周多少时间去做这件事。</p>
<ul>
<li>编程,5 小时以上</li>
</ul>
<!-- reward -->
</div>
<!-- copyright -->
<footer class="article-footer">
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%97%A5%E8%AE%B0/" rel="tag">日记</a></li></ul>
</footer>
</div>
</article>
</article>
<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/">下一页</a>
</nav>
</section>
</div>
<footer class="footer">
<div class="outer">
<ul>
<li>
Copyrights ©
2009-2021
<i class="ri-heart-fill heart_icon"></i> Chenhao Li
</li>
</ul>
<ul>
<li>
Powered by <a href="https://hexo.io" target="_blank">Hexo</a>
<span class="division">|</span>
Theme - <a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>
</li>
</ul>
<ul>
<li>
<span>
<span><i class="ri-user-3-fill"></i>Visitors:<span id="busuanzi_value_site_uv"></span></s>
<span class="division">|</span>
<span><i class="ri-eye-fill"></i>Views:<span id="busuanzi_value_page_pv"></span></span>
</span>
</li>
</ul>
<ul>
</ul>
<ul>
</ul>
<ul>
<li>
<!-- cnzz统计 -->
</li>
</ul>
</div>
</footer>
<div class="float_btns">
<div class="totop" id="totop">
<i class="ri-arrow-up-line"></i>
</div>
<div class="todark" id="todark">
<i class="ri-moon-line"></i>
</div>
</div>
</main>
<aside class="sidebar on">
<button class="navbar-toggle"></button>
<nav class="navbar">
<div class="logo">
<a href="/"><img src="/images/ayer-side.svg" alt="Chenhao Li"></a>
</div>
<ul class="nav nav-main">
<li class="nav-item">
<a class="nav-item-link" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="/archives">Archive</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="/categories">Category</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="/tags">Tag</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="https://awesometony520.lofter.com/" target="_blank" rel="noopener">Photo</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="/friends">Links</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="/about">About</a>
</li>
</ul>
</nav>
<nav class="navbar navbar-bottom">
<ul class="nav">
<li class="nav-item">
<a class="nav-item-link nav-item-search" title="Search">
<i class="ri-search-line"></i>
</a>
<a class="nav-item-link" target="_blank" href="/atom.xml" title="RSS Feed">
<i class="ri-rss-line"></i>
</a>
</li>
</ul>
</nav>
<div class="search-form-wrap">
<div class="local-search local-search-plugin">
<input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
<div id="local-search-result" class="local-search-result"></div>
</div>
</div>
</aside>
<script>
if (window.matchMedia("(max-width: 768px)").matches) {
document.querySelector('.content').classList.remove('on');
document.querySelector('.sidebar').classList.remove('on');
}
</script>
<div id="mask"></div>
<!-- #reward -->
<div id="reward">
<span class="close"><i class="ri-close-line"></i></span>
<p class="reward-p"><i class="ri-cup-line"></i>请我喝杯咖啡吧~</p>
<div class="reward-box">
<div class="reward-item">
<img class="reward-img" src="/images/alipay.jpg">
<span class="reward-type">支付宝</span>
</div>
<div class="reward-item">
<img class="reward-img" src="/images/wechat.jpg">
<span class="reward-type">微信</span>
</div>
</div>
</div>
<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/lazyload.min.js"></script>
<!-- Tocbot -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/jquery.modal.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/jquery.justifiedGallery.min.js"></script>
<script src="/dist/main.js"></script>
<!-- ImageViewer -->
<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<!-- Background of PhotoSwipe.
It's a separate element as animating opacity is faster than rgba(). -->
<div class="pswp__bg"></div>
<!-- Slides wrapper with overflow:hidden. -->
<div class="pswp__scroll-wrap">
<!-- Container that holds slides.
PhotoSwipe keeps only 3 of them in the DOM to save memory.
Don't modify these 3 pswp__item elements, data is added later on. -->
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
<div class="pswp__item"></div>
</div>
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
<div class="pswp__ui pswp__ui--hidden">
<div class="pswp__top-bar">
<!-- Controls are self-explanatory. Order can be changed. -->
<div class="pswp__counter"></div>
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
<button class="pswp__button pswp__button--share" style="display:none" title="Share"></button>
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
<!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
<!-- element will get class pswp__preloader--active when preloader is running -->
<div class="pswp__preloader">
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>
</div>
</div>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
<div class="pswp__share-tooltip"></div>
</div>
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
</button>
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
</button>
<div class="pswp__caption">
<div class="pswp__caption__center"></div>
</div>
</div>
</div>