摘要: sudo mkdir -p /etc/systemd/system/docker.service.d sudo touch /etc/systemd/system/docker.service.d/proxy.conf [Service] Environment="HTTP_PROXY=http:/ 阅读全文
posted @ 2024-12-24 14:41 皮豪 阅读(5) 评论(0) 推荐(0) 编辑
摘要: bufio.ReadWriter bufio.Writer 看文档,这个Writer. God Damn Lazy! https://pkg.go.dev/bufio#Writer Damn !!!! 阅读全文
posted @ 2024-12-01 23:04 皮豪 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 写入 ~/.config/fontconfig/fonts.conf ,确定你安装了其中的字体 <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <!-- 默认字体设置 --> <match tar 阅读全文
posted @ 2024-11-19 12:51 皮豪 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 可能是少了这个依赖 librime-lua sudo yum install librime-lua 阅读全文
posted @ 2024-11-11 00:20 皮豪 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 如果你习惯使用git pull ,同时又希望默认使用选项--rebase,你可以执行这条语句git config --global pull.rebase true 来更改pull.rebase 的默认配置 阅读全文
posted @ 2024-10-26 15:11 皮豪 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 命令: pyinstaller --onefile --collect-submodules openvino --collect-binaries openvino --collect-data openvino server.py server.spec (自动生成) # -*- mode: p 阅读全文
posted @ 2024-04-25 18:34 皮豪 阅读(104) 评论(0) 推荐(0) 编辑
摘要: tsconfig.json 重点在于 "jsx": "preserve", "jsxImportSource": "vue", { "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, "module": 阅读全文
posted @ 2024-02-28 22:31 皮豪 阅读(47) 评论(0) 推荐(0) 编辑
摘要: vite.config.ts const pathResolve = (pathStr: string) => { return path.resolve(__dirname, pathStr); }; // https://vitejs.dev/config/ export default def 阅读全文
posted @ 2024-02-28 22:01 皮豪 阅读(301) 评论(0) 推荐(0) 编辑
摘要: http://everet.org/thinking-of-emacs.html?utm_source=tuicool 阅读全文
posted @ 2024-01-03 08:55 皮豪 阅读(11) 评论(0) 推荐(0) 编辑
摘要: window.addEventListener('online', function() { console.log('浏览器已连接网络'); }); window.addEventListener('offline', function() { console.log('浏览器已断开网络'); } 阅读全文
posted @ 2023-12-12 20:35 皮豪 阅读(20) 评论(0) 推荐(0) 编辑