windows 启动 IE 浏览器的方法

找到 C 盘 C:\Program Files (x86)\Internet Explorer\iexplore.exe 创建快捷方式 在快捷方式的属性-目标里面 添加启动参数 # -Embedding 注意 # 前面有空格 "C:\Program Files (x86)\Internet Explorer\iexplore.exe" # -Embedding 启动这个快捷方式即可

golang 1.21 1.22兼容win7

1.21 编译的时候给 golang 打 patch , golang 1.21 撤销掉一个 commit 即可恢复对 win7 的支持 https://github.com/golang/go/commit/9e43850a3298a9b8b1162ba0033d4c53f8637571 如果需要对 win7 打 KB2533623 之前的版本做兼容,那就再撤回一个 commit https://github.com/golang/go/commit/a17d959debdb04cd550016a3501dd09d50cd62e7 1.22 需要撤销的是三个 commit https://github.com/golang/go/commit/693def151adff1af707d82d28f55dba81ceb08e1 https://github.com/golang/go/commit/7c1157f9544922e96945196b47b95664b1e39108 https://github.com/golang/go/commit/48042aa09c2f878c4faa576948b07fe625c4707a 如果

nginx 反向代理的一个细节

server { listen 80; server_name www.a.com; location /path/ { proxy_pass http://localhost:8080; } } #访问 http://www.a.com/path/index.html 实际访问的是 http://localhost:8080/path/index.html server { listen 80; server_name www.a.com; location /path/ { proxy_pass http://localhost:8080/; } } #访问 http://www.a.com/path/index.html 实际访问的是 http://localhost:8080/index.html #区别只在一个/