-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
988 lines (585 loc) · 38.3 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 6.3.0">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
<link rel="mask-icon" href="/images/logo.svg" color="#222">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha256-HtsXJanqjKTc8vVQjO4YMhiqFoXkfBsjBWcX91T1jr8=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">
<script class="next-config" data-name="main" type="application/json">{"hostname":"example.com","root":"/","images":"/images","scheme":"Muse","darkmode":false,"version":"8.18.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":{"enable":false,"style":null},"fold":{"enable":false,"height":500},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"}}</script><script src="/js/config.js"></script>
<meta property="og:type" content="website">
<meta property="og:title" content="Jiut's Home">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="Jiut's Home">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Jiut">
<meta name="twitter:card" content="summary">
<link rel="canonical" href="http://example.com/">
<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":true,"isPost":false,"lang":"zh-CN","comments":"","permalink":"","path":"index.html","title":""}</script>
<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>Jiut's Home</title>
<noscript>
<link rel="stylesheet" href="/css/noscript.css">
</noscript>
</head>
<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
<div class="headband"></div>
<main class="main">
<div class="column">
<header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="site-brand-container">
<div class="site-nav-toggle">
<div class="toggle" aria-label="切换导航栏" role="button">
</div>
</div>
<div class="site-meta">
<a href="/" class="brand" rel="start">
<i class="logo-line"></i>
<h1 class="site-title">Jiut's Home</h1>
<i class="logo-line"></i>
</a>
</div>
<div class="site-nav-right">
<div class="toggle popup-trigger" aria-label="搜索" role="button">
</div>
</div>
</div>
</header>
<aside class="sidebar">
<div class="sidebar-inner sidebar-overview-active">
<ul class="sidebar-nav">
<li class="sidebar-nav-toc">
文章目录
</li>
<li class="sidebar-nav-overview">
站点概览
</li>
</ul>
<div class="sidebar-panel-container">
<!--noindex-->
<div class="post-toc-wrap sidebar-panel">
</div>
<!--/noindex-->
<div class="site-overview-wrap sidebar-panel">
<div class="site-author animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
<p class="site-author-name" itemprop="name">Jiut</p>
<div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap animated">
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">30</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
</nav>
</div>
</div>
</div>
</div>
</aside>
</div>
<div class="main-inner index posts-expand">
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2024/07/02/git-branch-u/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/07/02/git-branch-u/" class="post-title-link" itemprop="url">git branch -u</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-07-02 13:19:54 / 修改时间:13:33:54" itemprop="dateCreated datePublished" datetime="2024-07-02T13:19:54+08:00">2024-07-02</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>在原神的 textmap 中 git pull 时出现</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">Your configuration specifies to merge with the ref 'refs/heads/main'</span><br><span class="line">from the remote, but no such ref was fetched.</span><br></pre></td></tr></table></figure>
<p>使用 git branch -u origin/main main 来将main设置为跟踪origin/main的本地分支</p>
<p>来源:文心一言</p>
<p>prompt:如何更改该提示中的configuration :Your configuration specifies to merge with the ref ‘refs/heads/main’ from the remote, but no such ref was fetched.</p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2024/02/19/gitignore%E6%96%87%E4%BB%B6%E9%85%8D%E7%BD%AE%E4%BA%86%EF%BC%8C%E4%BD%86%E6%98%AF%E4%BB%8D%E4%B8%8D%E8%83%BD%E5%BF%BD%E7%95%A5%E8%A6%81%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%96%87%E4%BB%B6/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/02/19/gitignore%E6%96%87%E4%BB%B6%E9%85%8D%E7%BD%AE%E4%BA%86%EF%BC%8C%E4%BD%86%E6%98%AF%E4%BB%8D%E4%B8%8D%E8%83%BD%E5%BF%BD%E7%95%A5%E8%A6%81%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%96%87%E4%BB%B6/" class="post-title-link" itemprop="url">gitignore文件配置了,但是仍不能忽略要上传的文件</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2024-02-19 15:33:19 / 修改时间:15:34:58" itemprop="dateCreated datePublished" datetime="2024-02-19T15:33:19+08:00">2024-02-19</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p> .gitignore只能忽略原来没有被跟踪的文件,因此跟踪过的文件是无法被忽略的。因此在网页上可以看到target等目录的存在。<br>解决方法就是先把本地缓存删除(改变成未track状态),然后再提交:</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">git rm -r --cached . </span><br><span class="line">git add .</span><br><span class="line">git commit -m "update .gitignore"</span><br></pre></td></tr></table></figure>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_40180411/article/details/106048672">gitignore文件配置了,但是仍不能忽略要上传的文件_.gitignore 添加了 .npmrc,但是还是要-CSDN博客</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2023/08/20/hexo-d%E6%97%B6kex-exchange-identification-Connection-closed-by-remote-host/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2023/08/20/hexo-d%E6%97%B6kex-exchange-identification-Connection-closed-by-remote-host/" class="post-title-link" itemprop="url">hexo d时kex_exchange_identification: Connection closed by remote host</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2023-08-20 19:21:51 / 修改时间:19:27:31" itemprop="dateCreated datePublished" datetime="2023-08-20T19:21:51+08:00">2023-08-20</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>现象:仅hexo d与ssh时会报错,git正常</p>
<p>错误信息:</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">kex_exchange_identification: Connection closed by remote host</span><br><span class="line">Connection closed by UNKNOWN port 65535</span><br><span class="line">fatal: Could not read from remote repository.</span><br></pre></td></tr></table></figure>
<p>在注释掉<code>.ssh/config</code>里的这些后,变成了port 22</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">Host github.com</span><br><span class="line"> User git</span><br><span class="line"> ProxyCommand connect -H 127.0.0.1:7890 %h %p</span><br></pre></td></tr></table></figure>
<p>解决方法:<a target="_blank" rel="noopener" href="https://blog.csdn.net/guguant/article/details/123514773">Error while hexo d: kex_exchange_identification: connection closed by remote host_普通读者的博客-CSDN博客</a></p>
<p>modify the file ~/.ssh/config</p>
<figure class="highlight plaintext"><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></pre></td><td class="code"><pre><span class="line">Host github.com</span><br><span class="line">Hostname ssh.github.com</span><br><span class="line">Port 443</span><br><span class="line">User git</span><br></pre></td></tr></table></figure>
<p>Reference</p>
<p><a target="_blank" rel="noopener" href="https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port">https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2023/08/19/%E7%A0%B4%E8%A7%A3HG5140A%E5%85%89%E7%8C%AB%E8%B6%85%E7%BA%A7%E5%AF%86%E7%A0%81/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2023/08/19/%E7%A0%B4%E8%A7%A3HG5140A%E5%85%89%E7%8C%AB%E8%B6%85%E7%BA%A7%E5%AF%86%E7%A0%81/" class="post-title-link" itemprop="url">破解HG5140A光猫超级密码</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2023-08-19 21:05:32 / 修改时间:21:07:12" itemprop="dateCreated datePublished" datetime="2023-08-19T21:05:32+08:00">2023-08-19</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p><a target="_blank" rel="noopener" href="https://www.chinadsl.net/thread-174384-1-1.html">烽火HG5140A破解超密并改联通宽带使用『 光猫FTTx技术交流区 』 - Powered by Discuz! (chinadsl.net)</a><br>1、开启telnet(别人提供的方法很少有加8080端口的,我实测为必须加8080端口才可开启):<br><a target="_blank" rel="noopener" href="http://192.168.1.1:8080/cgi-bin/telnetenable.cgi?telnetenable=1&key=14172A573174">http://192.168.1.1:8080/cgi-bin/ ... =1&key=14172A573174</a>(14172A573174为自己光猫MAC地址)<br>2、电脑:开始–运行–cmd,telnet 192.168.1.1登录光猫,或者直接用putty这个软件telnet,用户名:telecom 密码:nE7jA%5m(输入密码时是不显示的,也可先复制好,右键在窗口点一下即可粘贴)<br>3、进入工厂模式:load_cli factory<br>4、显示管理员密码:show admin_pwd</p>
<p><a target="_blank" rel="noopener" href="https://www.chinadsl.net/forum.php?mod=viewthread&tid=171861">烽火10G-ONU天翼网关4.0开telnet(HG5143F)『 光猫FTTx技术交流区 』 - Powered by Discuz! (chinadsl.net)</a><br>还有一个账号: telnetadmin 密码为:FH-nE7jA%5m065D60 其中065D60 为光猫背后设备标识后六位</p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2023/04/02/%E5%B0%86Azure%E5%A4%87%E4%BB%BD%E7%B1%BB%E5%9E%8B%E4%BB%8EGRS%E6%9B%B4%E6%94%B9%E4%B8%BALRS/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2023/04/02/%E5%B0%86Azure%E5%A4%87%E4%BB%BD%E7%B1%BB%E5%9E%8B%E4%BB%8EGRS%E6%9B%B4%E6%94%B9%E4%B8%BALRS/" class="post-title-link" itemprop="url">将Azure备份类型从GRS更改为LRS</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2023-04-02 11:51:12 / 修改时间:13:48:52" itemprop="dateCreated datePublished" datetime="2023-04-02T11:51:12+08:00">2023-04-02</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>在此处更改</p>
<img src="/2023/04/02/%E5%B0%86Azure%E5%A4%87%E4%BB%BD%E7%B1%BB%E5%9E%8B%E4%BB%8EGRS%E6%9B%B4%E6%94%B9%E4%B8%BALRS/1.png" class="">
<p>以及</p>
<p>无需保留以前备份的数据</p>
<p><a target="_blank" rel="noopener" href="https://learn.microsoft.com/zh-cn/azure/backup/backup-create-recovery-services-vault#must-preserve-previous-backed-up-data">创建和配置恢复服务保管库 - Azure Backup | Microsoft Learn</a></p>
<p>删除云中的受保护项</p>
<p><a target="_blank" rel="noopener" href="https://learn.microsoft.com/zh-cn/azure/backup/backup-azure-delete-vault?tabs=portal#delete-protected-items-in-the-cloud">删除 Microsoft Azure 恢复服务保管库 - Azure Backup | Microsoft Learn</a></p>
<p><strong>直接删除备份服务保管库</strong></p>
<h3 id="重新创建保管库"><a href="#重新创建保管库" class="headerlink" title="重新创建保管库"></a>重新创建保管库</h3><p><a target="_blank" rel="noopener" href="https://learn.microsoft.com/zh-cn/azure/backup/quick-backup-vm-portal">快速入门 - 使用 Azure 门户备份 VM - Azure Backup | Microsoft Learn</a></p>
<p>创建完成后,开始备份前,一定要在图中所示面板改变备份配置</p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2023/01/20/Yunzai%E7%AC%94%E8%AE%B0/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2023/01/20/Yunzai%E7%AC%94%E8%AE%B0/" class="post-title-link" itemprop="url">Yunzai笔记</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2023-01-20 14:02:15" itemprop="dateCreated datePublished" datetime="2023-01-20T14:02:15+08:00">2023-01-20</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2023-10-05 10:29:35" itemprop="dateModified" datetime="2023-10-05T10:29:35+08:00">2023-10-05</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="git-命令使用时,中文显示为数字"><a href="#git-命令使用时,中文显示为数字" class="headerlink" title="git 命令使用时,中文显示为数字"></a>git 命令使用时,中文显示为数字</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git config --global core.quotepath <span class="literal">false</span></span><br></pre></td></tr></table></figure>
<p>git pull 强制覆盖本地的代码方式,下面是正确的方法:</p>
<h2 id="git-强制pull"><a href="#git-强制pull" class="headerlink" title="git 强制pull"></a>git 强制pull</h2><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git fetch --all</span><br></pre></td></tr></table></figure>
<p>然后,你有两个选择:</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git reset --hard origin/master</span><br></pre></td></tr></table></figure>
<p>或者如果你在其他分支上:</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git reset --hard origin/<branch_name></span><br></pre></td></tr></table></figure>
<p>说明:</p>
<p>git fetch从远程下载最新的,而不尝试合并或rebase任何东西。</p>
<p>然后git reset将主分支重置为您刚刚获取的内容。 –hard选项更改工作树中的所有文件以匹配origin/master中的文件。</p>
<p>作者:吃货程序员<br>链接:<a target="_blank" rel="noopener" href="https://www.jianshu.com/p/5fa5eae638cf">https://www.jianshu.com/p/5fa5eae638cf</a></p>
<h2 id="git-推送并创建远程分支"><a href="#git-推送并创建远程分支" class="headerlink" title="git 推送并创建远程分支"></a>git 推送并创建远程分支</h2><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git push -u origin my_branch:remote_branch</span><br></pre></td></tr></table></figure>
<p><a target="_blank" rel="noopener" href="https://stackoverflow.com/questions/5738797/how-can-i-push-a-local-git-branch-to-a-remote-with-a-different-name-easily">version control - How can I push a local Git branch to a remote with a different name easily? - Stack Overflow</a></p>
<h2 id="使用sudo后curl-23-Failed-writing-body"><a href="#使用sudo后curl-23-Failed-writing-body" class="headerlink" title="使用sudo后curl: (23) Failed writing body"></a>使用sudo后curl: (23) Failed writing body</h2><p> <del>后面加上<code>| sudo apt-key add -</code></del></p>
<p>直接使用sudo su切换到root</p>
<h2 id="SSH终端鼠标点击滚动出现乱码字符"><a href="#SSH终端鼠标点击滚动出现乱码字符" class="headerlink" title="SSH终端鼠标点击滚动出现乱码字符"></a>SSH终端鼠标点击滚动出现乱码字符</h2><p><a target="_blank" rel="noopener" href="https://www.jianshu.com/p/f5f026c0c822">SSH终端鼠标点击滚动出现乱码字符 - 简书 (jianshu.com)</a></p>
<p>输入reset</p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2022/06/01/%E4%BD%BF%E7%94%A8mklink%E5%91%BD%E4%BB%A4%E7%A7%BB%E5%8A%A8%E6%96%87%E4%BB%B6%E5%A4%B9/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2022/06/01/%E4%BD%BF%E7%94%A8mklink%E5%91%BD%E4%BB%A4%E7%A7%BB%E5%8A%A8%E6%96%87%E4%BB%B6%E5%A4%B9/" class="post-title-link" itemprop="url">使用mklink命令移动文件夹</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2022-06-01 17:35:35 / 修改时间:17:41:24" itemprop="dateCreated datePublished" datetime="2022-06-01T17:35:35+08:00">2022-06-01</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>主要参考文章是这个:<a target="_blank" rel="noopener" href="https://blog.csdn.net/NotBack/article/details/73604292">关于mklink的/D /J 区别</a></p>
<p>我需要把Tencent Files这类大文件夹搬到e盘去来节约c盘的空间,由该文章得知/d参数在生成的链接被移动时不会更改e盘里的文件,符合静态存储的目标。</p>
<h2 id="mklink的用法"><a href="#mklink的用法" class="headerlink" title="mklink的用法"></a>mklink的用法</h2><p><code>mklink [/d /j /h] "需要创造链接的目标路径" "文件夹实际存放的位置"</code></p>
<p>其他参考:<a target="_blank" rel="noopener" href="https://liam.page/2018/12/10/mklink-in-Windows/">Windows 中的 mklink 命令</a> <a target="_blank" rel="noopener" href="https://www.cnblogs.com/youxin/p/3588722.html">Windows 7 mklink命令详解</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2022/06/01/%E7%94%A8vscode%E8%B0%83%E8%AF%95Python%E6%97%B6%E7%9A%84%E5%9D%91/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2022/06/01/%E7%94%A8vscode%E8%B0%83%E8%AF%95Python%E6%97%B6%E7%9A%84%E5%9D%91/" class="post-title-link" itemprop="url">用vscode调试Python时的坑</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2022-06-01 09:31:20 / 修改时间:09:42:02" itemprop="dateCreated datePublished" datetime="2022-06-01T09:31:20+08:00">2022-06-01</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>在vscode里用python打开文件时,直接按f5调试显示<code>FileNotFoundError [Errno 2] No such file or directory</code>。在文件夹中用powershell直接打开却可以。</p>
<p>使用</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> os</span><br><span class="line"><span class="built_in">print</span>(os.getcwd())</span><br></pre></td></tr></table></figure>
<p>查看工作目录时发现是打开文件夹的根目录(Mega39_Chinese_Lyrics_Mod)而不是文件所在的目录(rom)</p>
<img src="/2022/06/01/%E7%94%A8vscode%E8%B0%83%E8%AF%95Python%E6%97%B6%E7%9A%84%E5%9D%91/1.png" class="">
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2022/05/30/git%E8%BF%9C%E7%A8%8B%E5%BA%93%E7%9A%84%E6%93%8D%E4%BD%9C/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2022/05/30/git%E8%BF%9C%E7%A8%8B%E5%BA%93%E7%9A%84%E6%93%8D%E4%BD%9C/" class="post-title-link" itemprop="url">git远程库的操作</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2022-05-30 14:24:52 / 修改时间:14:33:09" itemprop="dateCreated datePublished" datetime="2022-05-30T14:24:52+08:00">2022-05-30</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>参考:<a target="_blank" rel="noopener" href="https://segmentfault.com/a/1190000039703878">Git创建本地分支并关联远程分支 - SegmentFault 思否</a></p>
<p>首先用 git init 初始化</p>
<p>创建分支并切换分支,同时对应到远程分支</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git checkout -b master origin/master</span><br></pre></td></tr></table></figure>
<p>为了之后先pull一次再push来同步一次,之后就能任意操作了。</p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
<link itemprop="mainEntityOfPage" href="http://example.com/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Jiut">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Jiut's Home">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="name" content="undefined | Jiut's Home">
<meta itemprop="description" content="">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/" class="post-title-link" itemprop="url">在windows中使用alt输入字符</a>
</h2>
<div class="post-meta-container">
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2022-05-06 12:07:21 / 修改时间:12:32:36" itemprop="dateCreated datePublished" datetime="2022-05-06T12:07:21+08:00">2022-05-06</time>
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>目标:打出「」</p>
<p>需要系统内置的字符映射表,在开始菜单或utools搜索。</p>
<p>选择包含所需字符的字体,中文就选宋体或其他中文字体。</p>
<img src="/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/2.png" class="">
<p>将字符集改为简体中文。</p>
<img src="/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/1.png" class="">
<p>然后寻找需要的字符,注意此处的排序是按照所选字符集来的,不一定按照Unicode的顺序。</p>
<p>找到在该编码下的值(括号内就是),转换为十进制。</p>
<img src="/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/3.png" class=""><img src="/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/4.png" class="">
<p>按住alt输入该值就能在除office外的任意界面输入所需符号。</p>
<h4 id="office中的符号输入"><a href="#office中的符号输入" class="headerlink" title="office中的符号输入"></a>office中的符号输入</h4><p>在office中插入符号按照提示即可。</p>
<img src="/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/5.png" class="">
<img src="/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/6.png" class="">
<img src="/2022/05/06/%E5%9C%A8windows%E4%B8%AD%E4%BD%BF%E7%94%A8alt%E8%BE%93%E5%85%A5%E5%AD%97%E7%AC%A6/7.png" class="">
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
</div>
<nav class="pagination">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" title="下一页" aria-label="下一页" href="/page/2/"><i class="fa fa-angle-right"></i></a>
</nav>
</div>
</main>
<footer class="footer">
<div class="footer-inner">
<div class="copyright">
©
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
<span class="author" itemprop="copyrightHolder">Jiut</span>
</div>
<div class="powered-by">由 <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/muse/" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
</div>
</div>
</footer>
<div class="toggle sidebar-toggle" role="button">
<span class="toggle-line"></span>
<span class="toggle-line"></span>
<span class="toggle-line"></span>
</div>
<div class="sidebar-dimmer"></div>
<div class="back-to-top" role="button" aria-label="返回顶部">
<i class="fa fa-arrow-up fa-lg"></i>
<span>0%</span>
</div>
<noscript>
<div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
<script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/schemes/muse.js"></script><script src="/js/next-boot.js"></script>
</body>
</html>