Skip to content

Commit

Permalink
解决图片显示两次的问题 Dunky-Z/blog-articles@013ae6c
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunky-Z committed Aug 31, 2024
1 parent 27fe0f0 commit 69d9d6c
Show file tree
Hide file tree
Showing 317 changed files with 4,287 additions and 8,878 deletions.
22 changes: 7 additions & 15 deletions categories/bug-踩坑记录/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
<p>因为误操作在 Ubuntu 20.04 上安装了 Ubuntu 18.04 的 GCC,导致系统软件无法运行,apt 也无法使用,所以只能手动安装 GCC。</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">apt: libx86_64-linux-gnu-libstdc++.so.6: version <span class="sb">`</span>GLIBCXX_3.4.29<span class="err">&#39;</span> not found <span class="o">(</span>required by libx86_64-linux-gnulibapt-private.so.0.0<span class="o">)</span>
</span></span></code></pre></div><p>既然libstdc++版本不一致,我们就去下载对应版本的GCC,访问https://packages.ubuntu.com/,在下方的搜索框中输入libstdc++6,选择对应的系统版本,然后下载对应的GCC。</p>
<p><img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/64ad9d26ea0d40d39a17330698dd805d.png" alt="" />
<p>
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/64ad9d26ea0d40d39a17330698dd805d.png">
<img src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/64ad9d26ea0d40d39a17330698dd805d.png" alt="" />
Expand All @@ -39,8 +38,7 @@
</p>
<p>点击搜索结果,点击系统的架构,一般为amd64,</p>
<p><img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/4965061df423ae7897faa87cce2a5fc6.png" alt="" />
<p>
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/4965061df423ae7897faa87cce2a5fc6.png">
<img src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/4965061df423ae7897faa87cce2a5fc6.png" alt="" />
Expand All @@ -49,8 +47,7 @@
</p>
<p>具体下载地址比较隐蔽,直接点击红框的链接没有反应,你可以右键另存为到本地,我习惯复制链接后用wget下载。</p>
<p><img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/b69d28c1b5515dd8898213332baa9b99.png" alt="" />
<p>
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/b69d28c1b5515dd8898213332baa9b99.png">
<img src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2024/03/02/b69d28c1b5515dd8898213332baa9b99.png" alt="" />
Expand Down Expand Up @@ -238,8 +235,7 @@
<guid>https://lifeislife.cn/posts/%E8%A7%A3%E5%86%B3linux%E7%BB%88%E7%AB%AF%E5%9B%9E%E8%BD%A6%E9%94%AE%E5%8F%98%E6%88%90%E5%AD%97%E7%AC%A6m/</guid>
<description>保留现场 解决方法 命令行执行 stty sane</description>
<content:encoded><![CDATA[<h2 id="保留现场">保留现场</h2>
<p><img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2022/09/12/14-49-58-a6e2e264bfab205e0838ad8e49adec81-20220912144956-12eead.png" alt="" />
<p>
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2022/09/12/14-49-58-a6e2e264bfab205e0838ad8e49adec81-20220912144956-12eead.png">
<img src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img//2022/09/12/14-49-58-a6e2e264bfab205e0838ad8e49adec81-20220912144956-12eead.png" alt="" />
Expand Down Expand Up @@ -308,8 +304,7 @@
<guid>https://lifeislife.cn/posts/%E8%A7%A3%E5%86%B3unable-to-load-picture-or-pdf-file/</guid>
<description>保留现场 Unable to load picture or PDF file &amp;#39;xxxxxx&amp;#39; &amp;lt;to be read again&amp;gt; xxxx 探究原因 图片链接错误,转换 PDF 过程中会先下载所有图片到AppData/Local/Temp/tex2pdf.</description>
<content:encoded><![CDATA[<h2 id="保留现场">保留现场</h2>
<p><img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/19-25-10-0001dfd98f5655f4cb7f8c57dbb72723-20220826192508-b7c23b.png" alt="" />
<p>
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/19-25-10-0001dfd98f5655f4cb7f8c57dbb72723-20220826192508-b7c23b.png">
<img src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/19-25-10-0001dfd98f5655f4cb7f8c57dbb72723-20220826192508-b7c23b.png" alt="" />
Expand Down Expand Up @@ -377,8 +372,7 @@
</span></span></code></pre></div><h2 id="探究原因">探究原因</h2>
<h3 id="理解-change-id">理解 change-id</h3>
<p>代码审核是要对一个完整的变更进行审核,比如一次 Bug 修复,有多次提交 Commit,每次的 Commit Id 都不同,那么如何将多个不同的 Commit ID 关联到同一个 Chanege-Id 呢?我们需要将 Change-Id 添加到 Commit 的 footer(最后一行)中,这样就可以将多个 Commit 关联到同一个 Change-Id 了。</p>
<p><img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/202207301909075.png" alt="" />
<p>
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/202207301909075.png">
<img src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/202207301909075.png" alt="" />
Expand Down Expand Up @@ -414,7 +408,6 @@ Change-Id 为避免与提交 Id 冲突,通常以大写字母 I 为前缀。此
<description>保留现场 Windows 环境下,使用 VSCode 的终端时,中文显示为乱码,如使用git status命令查看修改文件时,中文文件名就无法正常显示: 探究原因 因为终端被替</description>
<content:encoded><![CDATA[<h2 id="保留现场">保留现场</h2>
<p>Windows 环境下,使用 VSCode 的终端时,中文显示为乱码,如使用<code>git status</code>命令查看修改文件时,中文文件名就无法正常显示:
<img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/202207162158602.png" alt="" />
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/202207162158602.png">
Expand Down Expand Up @@ -614,8 +607,7 @@ Change-Id 为避免与提交 Id 冲突,通常以大写字母 I 为前缀。此
<guid>https://lifeislife.cn/posts/%E8%A7%A3%E5%86%B3linux%E5%90%AF%E5%8A%A8%E5%87%BA%E7%8E%B0fsck-exited-with-status-code-4/</guid>
<description>保留现场 探究原因 磁盘检测不能通过,可能是因为系统突然断电或其它未正常关闭系统导致。 解决方法 根据提示可以看到是dev/sda5这个扇区出现了异</description>
<content:encoded><![CDATA[<h2 id="保留现场">保留现场</h2>
<p><img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/202112041102634.png" alt="" />
<p>
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/202112041102634.png">
<img src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/202112041102634.png" alt="" />
Expand Down
4 changes: 1 addition & 3 deletions categories/csapp-lab/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
</span></span><span class="line"><span class="cl">│ ├── yi2.trace
</span></span><span class="line"><span class="cl">│ └── yi.trace
</span></span><span class="line"><span class="cl">└── trans.c
</span></span></code></pre></div><p><img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/20220711145159.png" alt="" />
</span></span></code></pre></div><p>
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/20220711145159.png">
<img src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/20220711145159.png" alt="" />
Expand Down Expand Up @@ -273,7 +272,6 @@
<p>CSAPP:Computer Systems A Programmer’s Perspective(深入理解计算机操作系统)。CSAPP(C:P166,O:P278)表示书本的中文版第 166 页,英文原版第 278 页。</p>
<h3 id="寄存器信息">寄存器信息</h3>
<p>了解寄存器的基本用途,看到一个汇编代码,可以大概了解这个寄存器是在栈中使用的,还是保存参数的,是调用者保存,还是被调用者保存。
<img loading="lazy" src="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/20210830160500.png" alt="" />
<div class="post-img-view">
<a data-fancybox="gallery" href="https://picbed-1311007548.cos.ap-shanghai.myqcloud.com/markdown_picbed/img/20210830160500.png">
Expand Down
Loading

0 comments on commit 69d9d6c

Please sign in to comment.