摘要: nano /boot/firmware/config.txt 最后一行写,最低16MB gpu_mem=16 保存之后,reboot 阅读全文
posted @ 2025-02-05 10:13 c/ 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1. vi port-speed.sh 2. 写入以下内容 #!/bin/sh dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range -n lshw -c network -businfo ip a |awk '/state 阅读全文
posted @ 2025-02-05 10:11 c/ 阅读(1) 评论(0) 推荐(0) 编辑
摘要: vim /etc/sysctl.conf 在文件最后加入一行: vm.min_free_kbytes = 2097152 (命令意义:设置最小剩余内存,单位KB,这里设置2G) 使配置文件生效 sysctl -p 阅读全文
posted @ 2025-02-05 10:02 c/ 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 换源 bash <(curl -sSL https://linuxmirrors.cn/main.sh) get-docker bash <(curl -sSL https://linuxmirrors.cn/docker.sh) pip换源 pip3 config set global.index 阅读全文
posted @ 2025-02-05 09:56 c/ 阅读(3) 评论(0) 推荐(0) 编辑
摘要: nano /boot/firmware/config.txt #添加 dtparam=cooling_fan=on dtparam=fan_temp0=36000,fan_temp0_hyst=2000,fan_temp0_speed=90 dtparam=fan_temp1=40000,fan_t 阅读全文
posted @ 2025-02-05 09:54 c/ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1. 打开记事本 2. 粘贴如下代码 CreateObject("InternetExplorer.Application").Visible=true 3. 另存为 .vbs 文件 4. 双击运行 阅读全文
posted @ 2024-09-09 16:05 c/ 阅读(38) 评论(0) 推荐(0) 编辑
摘要: cmd运行以下命令 reg add "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client" /v "AuthenticationLevelOverride" /t "REG_DWORD" /d 0 /f 恢复的方法 win+r运行: 阅读全文
posted @ 2024-01-31 16:43 c/ 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 安装好虚拟机之后,有机打开虚拟机目录 找到 (.vmx)文件,右键记事本打开,粘贴如下代码 cpuid.1.edx= 00010111100010111111101111111111 cpuid.80000000.0.ebx="0111:0101:0110:1110:0110:0101:0100:0 阅读全文
posted @ 2023-07-15 22:15 c/ 阅读(1222) 评论(0) 推荐(0) 编辑
摘要: 一、电路连接 二、烧录测试程序 #include <Wire.h> #include <BH1750.h> BH1750 lightMeter; void setup(){ Serial.begin(9600); // Initialize the I2C bus (BH1750 library d 阅读全文
posted @ 2023-03-29 19:29 c/ 阅读(942) 评论(0) 推荐(0) 编辑
摘要: loop{ if WinExist("ahk_class VoipTrayWnd"){ send, {space} send, {enter} loop{ If !WinExist("ahk_class VoipTrayWnd"){ Break } } } sleep, 500 } 阅读全文
posted @ 2023-03-12 09:20 c/ 阅读(65) 评论(0) 推荐(0) 编辑