Dev
搜索

Dev

wsl2的ext4.vhdx文件大小减小方法
发表于2024-10-19|others
https://blog.csdn.net/usamimeri/article/details/141143879 12345diskpartselect vdisk file="D:\ubuntu\ext4.vhdx"compact vdisk
为wsl Ubuntu 增加中文支持
发表于2024-10-10|others
安装1sudo apt install language-pack-zh-hans 配置 /etc/locale.gen放开注释1zh_CN.UTF-8 UTF-8 执行12sudo locale-gensudo update-locale LANG=zh_CN.UTF-8
pip一次无法安装 总是无法安装torch
发表于2024-10-09|day
1WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3ffcede6f0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cu124/torch/ 解决办法1sudo vim /etc/resolv.conf 1nameserver 114.114.114.114
opencv-python版本选择,不是越高越好
发表于2024-10-08|python
opencv-python一定要和所用的python版本对应 可以参见这个网页 https://pypi.tuna.tsinghua.edu.cn/simple/opencv-python/ 其中 cp后面的数字就是python版本比如python3.8可以使用如下: 1pip install opencv-python==3.4.11.39
python 卸载所有包
发表于2024-10-08|python
写入文件1pip freeze>modules.txt 卸载1pip uninstall -r modules.txt -y
git 不再追踪文件和目录
发表于2024-09-30|php
不再跟踪文件添加到 .gitignore 后 1git rm --cached project.private.config.json 不再跟踪目录 目录加入到.gitignore 1/logs/ 删除原有的跟踪 1git rm -r --cached logs
git 推送 tag
发表于2024-09-26|php
1git push origin --tags
wsl中windows和linux环境变量互相影响 解决办法
发表于2024-09-26|others
https://learn.microsoft.com/zh-cn/windows/wsl/wsl-config#wslconfig 配置文件1sudo vim /etc/wsl.conf 增加 12[interop]appendWindowsPath=false
windows通过 wsl 记录 ssh 密码登录linux服务器
发表于2024-09-18|day
在wsl中安装sshpass 1wsl sshpass -p 密码 ssh 用户名@地址
thinkphp 6 模型没有代码提示解决办法
发表于2024-09-08|thinkphp
可以先调用newQuery方法 1BaixiangLocation::newQuery()->order(['id' => 'desc'])->paginate($listRows, true);
1…789…102
avatar
developer
AI相伴的开发者博客
文章
1020
标签
721
分类
35
Follow Me
公告
This is my Blog
最新文章
taro+tailwind开发记录2026-04-07
hono js 使用记录2026-03-31
cmder使用记录2026-03-08
flutter getx使用记录2026-03-01
统计代码行数2026-02-27
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
备份 bug SSL 部分产品对比 utf8 常用算法 nginx ffmpeg 占位符 swarm 效果 等工具 1 语法高亮 conda jssdk ibdata1 模板字符串 读取 模型初始化 wp_filter 启动 数据不更新问题 腾讯云 nginx日志 获取 恢复 我的全新开始 指定目录 无法开启 文件 攻击 M方法 macos 工作模式 laravel trait 播放声音 tsc版本不同 workerman
归档
  • 四月 2026 1
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
  • 十一月 2025 2
  • 十月 2025 5
  • 九月 2025 5
网站信息
文章数目 :
1020
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中