windows 11 Sandbox (沙盒) 软件界面显示乱码
https://github.com/xupefei/Locale-Emulator
|
79
|
|
6 字
|
几秒读完
docker cli 设置代理
## 创建配置文件 sudo mkdir -p /etc/systemd/system/docker.service.d sudo vim /etc/systemd/system/docker.service.d/http-proxy.conf ## 设置代理参数 [Service] Environment="HTTP_PROXY=htt…
|
84
|
|
18 字
|
1 分钟内
pwsh 使用 RunspacePool 进行并发操作
# 创建运行空间池 $runspacePool = [RunspaceFactory]::CreateRunspacePool(1, 100) # 创建运行空间池 最大 100 个 $runspacePool.Open() $fakeIdDcit = @{} $fakeIdDcit["9D370B71F76FC2"] = 1 $…
|
108
|
|
76 字
|
4 分钟
pwsh windows 检测代理IP
$ipTxt = @" 1.1.1.1 2.2.2.2 3.3.3.3 "@ # 将 ip 文本拆分为数组 [string[]]$ips = $ipTxt.Split([char[]]"`r`n") | % { $_.Trim() } | ? { $_.Length -gt 0 } 0..19 | % { #…
|
104
|
|
36 字
|
2 分钟
nginx proxy manager bad gateway
因为腾讯云服务器上访问 https://ip-ranges.amazonaws.com/ip-ranges.json 被阻塞, 2 个方案, 修改容器的 dns 修改容器内文件 sed -i 's/.then(internalIpRanges.fetch)//g' /app/index.js https://github.com/NginxProx…
|
50
|
|
63 字
|
1 分钟内
.net 编译时将警告视为错误
<PropertyGroup> <!-- 将警告视为错误 --> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <!-- 忽略添加高危 nuget 包时的警告(会变成错误,导致编译失败) --> <NuGetAudit>…
|
117
|
|
8 字
|
1 分钟内