electron使用用npm无法安装的坑
摘要:1、connect ECONNREFUSED ip地址443错误 npm install -g electron 使用上面的命令安装后出现“RequestError: connect ECONNREFUSED 223.75.236.241:443”错误 原因外网被墙了,需要指定electron的下载
阅读全文
mac为终端Terminal设置代理访问
摘要:这里我的 ss port : 1086, http port: 1087 以下配置基于当前端口 更换所有终端应用的代理 如果没有设置代理的话,连 github 这个地址都上不去。 临时设置 export http_proxy=http://proxyAddress:port 复制代码 永久设置 把代
阅读全文
Content-Disposition文件名乱码转码问题
摘要:public String getFileName(String urlStr){ String fileName = null; try { URL url = new URL(urlStr); URLConnection uc = url.openConnection(); fileName =
阅读全文