markdown 图片加标注

HTTP下载方式
<center id="http">
    <img style="border-radius: 0.3125em;
    box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);"
    width="200px" height="200px" src="https://i.loli.net/2021/07/26/QVMgJblTeGuY6fO.png">
    <br>
    <div style="color:orange; border-bottom: 1px solid #d9d9d9;
    display: inline-block;
    color: #999;
    padding: 2px;">HTTP下载方式</div>
</center>
Markdown 排列图片

HTTP下载方式

BT下载方式
<center id="http">
    <img style="border-radius: 0.3125em;
    box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);"
    width="200px" height="200px" src="https://i.loli.net/2021/07/26/QVMgJblTeGuY6fO.png">
    <br>
    <div style="color:orange; border-bottom: 1px solid #d9d9d9;
    display: inline-block;
    color: #999;
    padding: 2px;">HTTP下载方式</div>
</center>

<center id="BT">
	<img style="border-radius: 0.3125em;
	box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);"
	width="200px" height="200px" src="https://i.loli.net/2021/07/26/nD9GQ5mOpVv1ESR.png">
	<br>
	<div style="color:orange; border-bottom: 1px solid #d9d9d9;
	display: inline-block;
	color: #999;
	padding: 2px;">BT下载方式</div>
</center>
Markdown 图片横排

HTTP下载方式

BT下载方式
<div style="display: flex;justify-content: space-around;">
    <center id="http">
        <img style="border-radius: 0.3125em;
        box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);"
        width="200px" height="200px" src="https://i.loli.net/2021/07/26/QVMgJblTeGuY6fO.png">
        <br>
        <div style="color:orange; border-bottom: 1px solid #d9d9d9;
        display: inline-block;
        color: #999;
        padding: 2px;">HTTP下载方式</div>
    </center>
	<center id="bt">
        <img style="border-radius: 0.3125em;
        box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);"
        width="200px" height="200px" src="https://i.loli.net/2021/07/26/nD9GQ5mOpVv1ESR.png">
        <br>
        <div style="color:orange; border-bottom: 1px solid #d9d9d9;
        display: inline-block;
        color: #999;
        padding: 2px;">BT下载方式</div>
    </center>
</div>
gcc 源文件编译
# 下载,解压
tar -xf gcc-11.1.0.tar.xz
cd gcc-11.1.0.tar
# 安装必要编译工具
sudo apt install build-essential
# 安装依赖库
sudo apt install libgmp-dev
# 生成makefile文件
./configure
# 编译安装
make -j 10
sudo make install
从PPA安装
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt install gcc-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11
wsl2 默认root登录
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\{a7b6183f-cc3e-4388-a97a-502a98efca90}]
"DefaultUid"=dword:00000000

设置 DefaultUid 为0

wsl2 限制CPU和内存大小

创建 %UserProfile%\.wslconfig 添加如下内容

[wsl2]
memory=4GB # Limits VM memory in WSL 2 to 4 GB
processors=4 # Makes the WSL 2 VM use two virtual processors