完整更新命令1sudo apt update && sudo apt full-upgrade -y && sudo snap refresh && flatpak update -y
完整更新和清理1sudo apt update && sudo apt full-upgrade -y && sudo snap refresh && flatpak update -y && sudo apt autoremove --purge -y && sudo apt clean && sudo apt autoclean && flatpak uninstall --unused -y && sudo snap set system refresh.retain=2
查询某个程序使用那种安装123apt list --installed | grep notepadqqsnap list | grep notepa ...
Markdown 代码块语言对照表(博客版)
内容类型
示例场景
博客应使用的代码块标记
纯文本 / 链接 / API 地址 / 无格式内容
普通文本、说明文字
```plaintext
TXT 文本
txt 文件、日志输出
```text
Linux 命令
apt、systemctl、wget、curl
```bash
Shell 脚本
.sh 脚本
```shell
Zsh 脚本
oh-my-zsh、zsh 配置
```zsh
OpenWRT 配置
/etc/config/network
```conf
Linux 配置文件
sysctl、fstab、hosts
```conf
Nginx 配置文件
nginx.conf、反代配置
```nginx
Apache 配置文件
httpd.conf、vhost
```apache
Dockerfile
Docker 镜像构建
```dockerfile
Docker Compose
docker-compose.yml
```y ...
PHP配置参数1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002 ...
778f65f55fee061b12bd0ce12d1a932e42b038ef29dbf5c8c4c1a7a8522f58c738f4cd189c140d582123570e8928244441880f40fec49ccf795247c2e644982cb4b595c63badcc897931eee7ac9e6a586e2625ff97456ea59fa2b1281be129c73a6e3f599622d5a738d75bae6a092fbf8058015773c5ea08bd9c4026889818c0ac1a630334216e0f700c7d4949afab536df0a5f79060dd130d6f6e556604794a9d2ef6b598f2626821b4132f66ccef773dfce4f83c6d67cc67f8d502f2304e7355b7da6283866040913b4be070697d2a55713fd36dfa7739d8b0f4270b37fffe507d08d86c914e5410e2f61c87249d88dbe0f731aa9b ...
项目地址yt-dlp项目地址
1https://github.com/yt-dlp/yt-dlp
安装yt-dlp + 依赖创建虚拟环境1python3 -m venv yt-dlp-env
进入虚拟环境1source yt-dlp-env/bin/activate
提升权限1chmod +x ./yt-dlp
退出虚拟环境1deactivate
安装yt-dlp-ejs1pip install -U yt-dlp-ejs
设置pyt-dlp-ejs12mkdir -p ~/.config/yt-dlpvim ~/.config/yt-dlp/config
写入一下配置
12--js-runtimes node--remote-components ejs:github
yt-dlp命令合集yt-dlp查询命令1./yt-dlp -F --cookies cookies.txt
yt-dlp下载命令1./yt-dlp -f 137+140 --cookies cookies.txt
虚空1234567891011121314151617181920212223242526272829303132333435363738document.querySelectorAll('*').forEach(element => { if (getComputedStyle(element).backgroundColor === 'rgb(242, 252, 255)') { // 检查背景颜色是否为 #F2FCFF 的 rgb 表示 element.style.backgroundColor = 'black'; }});document.querySelectorAll('*').forEach(element => { if (getComputedStyle(element).backgroundColor === 'rgb(0, 0, 0)') { // 检查背景颜色是否为黑色 ...
39a327ba441d98c1ecfbbfa9aeb9ab2a718d134342145f9607606d07b2365e7ce144ea34bd108c897170491dcc4e7574a497663e452617a374d2fd8f3dfb2ddc5eecba91a22ab59ad81218a7b26ca15539cd3729016fd28831b03bb6b802d88990ee7d907531b9bbce40ba347767585ae324f49ac8ac31a46df52666c01e978b54c5c418ccbab56059a5a98849f0c7824fed891a5885cbaecbcdfa3eaaa7448a5bf8dc9b72f488b38e20a5b4b7714aa69ca010ca51bd5ee80ab816cb1177ee0391a3ea611b227b704f2e0928cd13219030e76435460122438635f54a7bd4b01b27164aca586969eb2db4d751da2d9732e4554de665e9 ...
22b2198e5d45add700e143d767bc5657cfde6df8a90c152bce42813f41ca440c0ad9dd253d2c97601fbeecde9e4145c7bf5f0a12376fd907aa9eee73f51fde40842d9dfefc9be737970683fef1c26a2bee4cde4c9e3d8dd56fb21f30dfe43a420229b31231991c9527bfe15702bb980c8d8c01109c0a760edb02f0d0fb64bf780bb4be6b09a6c961de8bef847da632b65590f0dec3f3a8eaaaea642a6cae41327cd16a28ac9b8deaefec24f2eec2ce90e459450b00645697cd16144d6168326511dae1fd8170131447c9ee75acf0cd505f9a2981cc62b68daf51775b3b298d4ccf6b29a69e71def2c6dcd98d6df9eb196604ce6e1324 ...
/*黄色系*/
.huang{background-color:yellow;}
.lightyellow{background-color:lightyellow;}
.lemonchiffon{background-color:lemonchiffon;}
.gold{background-color:gold;}
.khaki{background-color:khaki;}
/*紫色系*/
.plum{background-color:plum;}
.lavender{background-color:lavender;}
.violet{background-color:violet;}
.indigo{background-color:indigo;}
.thistle{background-color:thistle;}
.purple{background-color:purple;}
/*蓝色系*/
.lightblue{background-color:lightblue;}
.skyblue{background-color:skyblue;}
.darkb ...
修改
Debian 13
1vim /etc/sysctl.d/99-bbr.conf
Ubuntu 24
1vim /etc/sysctl.d/99-tcp-bbr-optimize.conf
执行123sudo modprobe tcp_bbrsudo sysctl --system
CentOS查看网卡命令1ip addr
检测命令:
显示bbr表示成功
1sysctl net.ipv4.tcp_congestion_control
粘贴命令
vim全选删除
1ggVGd
vim粘贴
1:set paste
vim恢复
1:set nopaste
简易版12345678910net.ipv4.neigh.default.base_reachable_time_ms = 600000net.ipv4.neigh.default.mcast_solicit = 20net.ipv4.neigh.default.retrans_time_ms = 250net.ipv4.conf.all.rp_filter=0net.ipv4.conf.enp0s6.r ...







