Windows 11 安装绕过登录微软账户
在 Windows 11 安装过程中,按下 Shift + F10 组合键打开命令提示符,输入start ms-cxh:localonly,即可直接创建本地账户,而且无需重启设备,无需先跳过联网步骤。
在 Windows 11 安装过程中,按下 Shift + F10 组合键打开命令提示符,输入start ms-cxh:localonly,即可直接创建本地账户,而且无需重启设备,无需先跳过联网步骤。
dumpbin 是微软 Visual Studio 工具集 自带的一个命令行工具,用于分析可执行文件(.exe、.dll、.obj、.lib)内部结构。
dumpbin 位于 Visual Studio 工具链中,一般路径如下:
C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\<version>\bin\Hostx64\x64\dumpbin.exe
要使用它,可以通过以下方式:
然后在命令行中直接输入:
dumpbin /?如果能看到帮助信息,说明环境已正确配置。
docker compose 配置文件可以很方便的配置和运行 docker 容器,手动更新容器的方法是在 yml 目录下运行以下命令:
docker compose pull && docker compose up -d
可以通过在 compose 文件中设置 watchtower 来定期自动拉取最新镜像并启动容器,同时可以配置删除旧镜像和容器。
通过 nginx 可以反代服务器指定文件,然后就可以在网页中查看文件内容。
核心就是通过 alias 关联文件路径。
配置文件如下:
location /test.log {
alias /home/script/igd/app.log;
default_type text/plain;
add_header Content-Type "text/plain; charset=utf-8";
charset utf-8;
# 确保不会缓存内容
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache";
add_header Expires "0";
}location 路径替换为需要的路径。alias 设置文件实际路径。
最近在使用 chatgpt 中发现 ios 端无法登录 app,网页端正常使用。提示信息为:
Something went wrong. You may be connected to a disallowed ISP If youare using VPN, try disabling it. Otherwise try a different Wi-Fi network or data connection。
经过查询发现是我的 vps 服务商只提供网页端 chatgpt 解锁,不支持 app 端。由于 chatgpt 服务也是通过 cloudflare 的 cdn 服务,所以通过将流量转发到 warp 来访问就可以解决问题。
首先需要在服务端安装官方的 warp 命令行工具:warp-cli。
官方教程:https://developers.cloudflare.com/warp-client/get-started/linux/
官方手动添加包仓库教程:https://pkg.cloudflareclient.com/#ubuntu