adb 设置手机不息屏
手机不熄屏设置 $cmds = @() $cmds += "shell settings put global stay_on_while_plugged_in 3" $cmds += "shell settings put system screen_off_timeout 2147483647" $cmd…
|
546
|
|
33 字
|
2 分钟
vlan 设置
PVID 每个端口有一个,指定 PVID 的端口,会有一个 VID 对应的 unTagged 标签。作为该端口的默认 unTagged 值 unTagged标签: 默认会有一个与 PVID 相同的值。为普通数据包打上或去掉 vid 值,让端口外的设备的数据包保持兼容。 进来的数据,如果没有 vid 值,则打上对应于 PVID 的 vid 值。这样带…
|
295
|
|
641 字
|
3 分钟
查看 usb 设备 判断 ch341 驱动是否已经安装
windows 下 cpp 查看 #include <windows.h> #include <stdio.h> #include "WCHGetDrvInfo.H" #pragma comment(lib,"WCHGetDrvInfo") void main() { BOOL ret…
|
273
|
|
68 字
|
3 分钟
在 Hyper-V 中安装 Proxmox
安装 Proxmox 虚拟机 设置 虚拟机的嵌套虚拟化功能 Set-VMProcessor -ExposeVirtualizationExtensions $true -VMName proxmox-ve 设置虚拟机网卡的 mac 地址欺骗 虚拟机设置 | 网络适配器 | 高级功能 | MAC 地址 | 启用 MAC 地址欺骗 Get-VMNetw…
|
235
|
|
95 字
|
1 分钟内
华为交换机设置静态 nat
# https://support.huawei.com/enterprise/en/doc/EDOC1100064352/3d074fc6/nat-static-interface-view#nat_static telnet xxxxxxx # 注意,只有指定端口才能打开 system-view # 进入系统设置,前面会显示 [huawei],…
|
314
|
|
17 字
|
1 分钟内
vs 中使用 Emmet
E 代表HTML标签。 E#id 代表id属性。 E.class 代表class属性。 E[attr=foo] 代表某一个特定属性。 E{foo} 代表标签包含的内容是foo。 E>N 代表N是E的子元素。 E+N 代表N是E的同级元素。 E^N 代表N是E的上级元素。 html:5 => 将生成html5标准的包含body为空基本do…
|
217
|
|
33 字
|
2 分钟
systemd 一些命令
ln -s /home/frpc/frpc.service /etc/systemd/system/frpc.service # 将服务链接到 systemd 目录下, systemctl enable frpc 可能也会做这个动作,可以先试下 enable systemctl daemon-reload # 复制服务配置后,需要载入一下 syst…
|
422
|
|
72 字
|
3 分钟
windows 下 usb 设备转发工具
有空试一下 https://github.com/dorssel/usbipd-win
|
294
|
|
12 字
|
几秒读完
windows 关闭自动更新
pwsh -> sconfig -> 5 -> m # 可能用的到 wsl 下空间不足的解决办法 https://www.cnblogs.com/yjmyzz/p/wsl2-tutorial-1.html wsl2 中使用 usb 设备,或是跨机器(比如 hpyer-v)使用 usb 设备 https://github.com/d…
|
439
|
|
12 字
|
1 分钟内