树莓派配置显存
摘要: nano /boot/firmware/config.txt 最后一行写,最低16MB gpu_mem=16 保存之后,reboot
9
0
0
linux列出所有网卡和网卡速度
摘要: 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
1
0
0
linux防内存爆满死机
摘要: vim /etc/sysctl.conf 在文件最后加入一行: vm.min_free_kbytes = 2097152 (命令意义:设置最小剩余内存,单位KB,这里设置2G) 使配置文件生效 sysctl -p
6
0
0
linux常用脚本
摘要: 换源 bash <(curl -sSL https://linuxmirrors.cn/main.sh) get-docker bash <(curl -sSL https://linuxmirrors.cn/docker.sh) pip换源 pip3 config set global.index
3
0
0
树莓派5配置风扇转速
摘要: 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
40
0
0
Win10 & 11打开IE浏览器
摘要: 1. 打开记事本 2. 粘贴如下代码 CreateObject("InternetExplorer.Application").Visible=true 3. 另存为 .vbs 文件 4. 双击运行
47
0
0
忽略远程桌面连接上的证书警告
摘要: cmd运行以下命令 reg add "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client" /v "AuthenticationLevelOverride" /t "REG_DWORD" /d 0 /f 恢复的方法 win+r运行:
44
0
0
VMvare去虚拟化--CPU ID
摘要: 安装好虚拟机之后,有机打开虚拟机目录 找到 (.vmx)文件,右键记事本打开,粘贴如下代码 cpuid.1.edx= 00010111100010111111101111111111 cpuid.80000000.0.ebx="0111:0101:0110:1110:0110:0101:0100:0
1264
0
0
ESP32-WROOM-32 & BH1750-获取环境亮度并调节屏幕亮度
摘要: 一、电路连接 二、烧录测试程序 #include <Wire.h> #include <BH1750.h> BH1750 lightMeter; void setup(){ Serial.begin(9600); // Initialize the I2C bus (BH1750 library d
972
0
0
收到微信视频邀请时唤醒屏幕-AHK
摘要: loop{ if WinExist("ahk_class VoipTrayWnd"){ send, {space} send, {enter} loop{ If !WinExist("ahk_class VoipTrayWnd"){ Break } } } sleep, 500 }
66
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起