代表多边形名称字符串的长度
2025年4月4日星期五
无法从 https://www.powershellgallery.com/ 安装软件
https://www.powershellgallery.com/packages/PSFzf/2.6.7
如何安装 PowerShellGet 和 PSResourceGet
PS C:\aka\my_git\> Install-Module PowerShellGet -Force -AllowClobber
警告: Unable to resolve package source 'https://www.powershellgallery.com/api/v2'.
PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'PowerShellGet'. Try Get-PSRepository to see all ava
ilable registered module repositories.
2025年3月22日星期六
webdav的ssl配置
1、webdav 服务器配置:
cert: ./tls_self/my-service.crt
key: ./tls_self/my-service.key
2、joplin PC客户端同步设置:
C:\Users\username\my-service.crt
3、小米15
只需要安装 ca.crt 即可
4、ios 18
- 通过“文件”程序安装证书
- 在“设置-通用-VPN“中安装描述文件(可能需要重启,才能安装成功)
- 在”关于本机“中,启用受信任的证书
- 经测试,超过10年有效期的证书,能安装
2025年3月14日星期五
使用C#分析dfs0文件
- 使用dotnet命令创建项目 dotnet new console -n microsoft.botsay -f net6.0
- 添加依赖包 dotnet add package DHI.DFS --version 23.0.3
- 测试程序 dotnet run
- 编译程序 dotnet build
- dotnet publish
- https://www.nuget.org/profiles/dhigroup
2025年2月6日星期四
pytorch
1、pytorch
2、pytorch_lightning
3、log
使用python -m venv生成的虚拟环境,文件目录出错
windows中,
通过 python -m venv生成的虚拟环境,
在dos窗口中,通过activate.bat激活虚拟环境,
执行虚拟环境scripts目录中的python.exe,
实际执行的却是C:\Users\username\AppData\Local\Programs\Python\中的python
这可能是pytorch的DataLoader,当num_workers大于0时,出错的原因。
2025年2月5日星期三
wsl ext4.vhdx ERROR_FILE_NOT_FOUND
https://github.com/microsoft/WSL/issues/10032
>wsl --unregister ubuntu
followed by
>wsl --install
fixes the problem for ubuntu atleast