Dev
搜索

Dev

opensuse使用记录 2023
发表于2023-07-21|ubuntu
2023-07-20开始使用开始使用opensuse15.5,希望用的久2023-07-20 默认安装后没有wifi,通过手机usb共享网络,更新后有了wifi 无法使用ntfs移动硬盘https://zhuanlan.zhihu.com/p/348778863 12sudo zypper in ntfsprogssudo ntfsfix /dev/sda1 安装kde connect后无法连接 1sudo zypper in kdeconnect-kde 需要在yast中设置防火墙,public中找到kdeconnect两个服务都添加到允许 展示安装过的软件1zypper se -i 卸载一个软件,结果整个界面没了
debian 使用记录
发表于2023-07-20|ubuntu
2023-07-20无法挂载ntfs移动硬盘apt安装似乎也不稳,经常出现 1W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for module amdgpu 体验失败
yii2 使用
发表于2023-07-12|php
核心验证器,字符串限制1[['phone'], 'string', 'length' => [11, 11], 'tooShort' => '请输入11位手机号码', 'tooLong' => '请输入11位手机号码'], 响应json数据 在web.php中配置components 123456789'response' => [ 'formatters' => [ \yii\web\Response::FORMAT_JSON => [ 'class' => \yii\web\JsonResponseFormatter::class, 'prettyPrint' => YII_DEBUG, 'encodeOption...
gorm gen 使用问题
发表于2023-07-10|golang
gen在生成关联时候,必须先有model,但是这时候model还没有生成,所以就必须要有一个先后调整的过程,没法一气呵成解决办法:生成模型和生成关联分为两步去做 gorm关联经常提升要使用外键定义时候给出关联定义 123tag = field.NewGormTag()tag.Set("references", "ID")tag.Set("foreignKey", "UserID") 其中foreignKey指的是当前表中和外部关联的字段,references指的是外部的表中的字段 添加关联 如果子模型本来不存在,用Append或者Replace加上去,则无法建立关联关系,必须手动把字段都写好,仅仅是少写了一点代码 关联写入时候,如果关联模型是空的,就写不进去
go-zero使用问题
发表于2023-07-01|golang
goctl-swagger 在post请求时候,总是把参数转为json,导致swagger失去意义 当返回错误时候,框架总是给出400错误
python3 报错解决方法
发表于2023-06-28|python
No module named ‘Crypto’ 1pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pycryptodome No module named ‘PIL’ 1pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pillow No module named ‘numpy’ 1pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy 使用上海交大源1pip install -r requirements.txt -i https://mirror.sjtu.edu.cn/pypi/web/simple --trusted-host mirror.sjtu.edu.cn 安装后没有piphttps://blog.csdn.net/weixin_44331765/article/details/121017727 123python -m ensurepip --up...
podman pod 使用
发表于2023-06-24|docker
创建pod1podman pod create -n dev -p 3306:3306 -p 8080:80 容器加入1podman run -d --name phpdev --pod dev phpdev:7.3
fedora 2023 使用记录
发表于2023-06-21|ubuntu
2023-06-21今日又重新安装了fedora38,因为看到所用的mt7921k驱动更新了很多次 使用ustc大学的镜像dnf镜像https://mirrors.ustc.edu.cn/help/fedora.html rpmfusion镜像https://mirrors.ustc.edu.cn/help/rpmfusion.html 问题默认输入法位置偏差很大 最大化隐藏标题栏kwin脚本 Hide Titles 2023-06-23 问题: sddm没没有办法自动开启小键盘了,配置了ssdm.conf依然不行 问题: wayland下,浏览器最大化,底部和右侧总是填不满 1在edge的标签页空白处点击右键,选择使用系统标题栏和边框,后面edge可以占满全屏 fcitx5 中文输入时候使用英文字符可以在输入法通知栏那里点击右键,改为半角标点和半角字符 dolphin优化,设置->配置dolphin 12常规: 排序方式,按字母排序启动: 常规功能,位置栏显示完整路径 2023-06-24外观记录 应用程序风格: Breeze微风 视觉风格: lavanda...
mysql容器无法输入中文
发表于2023-06-09|mysql
1docker exec -it container_name env LANG=C.UTF-8 /bin/bash https://blog.csdn.net/jt102605/article/details/86757634
npm symlink error
发表于2023-05-23|js
1npm config set bin-links false https://www.jianshu.com/p/b7a1e6cfb95a
1…111213…102
avatar
developer
AI相伴的开发者博客
文章
1018
标签
718
分类
34
Follow Me
公告
This is my Blog
最新文章
cmder使用记录2026-03-08
flutter getx使用记录2026-03-01
统计代码行数2026-02-27
php easywechat 6.x 微信支付 手动解密2026-02-25
php 反引号 执行shell脚本2026-02-25
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
公众号 格式化 权限 mysql_fetch_object thinkphp face++ mysql_fetch_row 云服务器 微信支付 is_singular td 转换 获取真实 Function [object Object] 去掉小程序边框线 date 备忘录 开放平台 Post Formats 队列 外泄的 soffice PHP unable current 豆腐 继续滑动一会 tp 备份 zip命令 dl animate动画 redis 文本搜索 算法 和 查看 parse_str 对象存储
归档
  • 三月 2026 2
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
  • 十一月 2025 2
  • 十月 2025 5
  • 九月 2025 5
  • 八月 2025 2
网站信息
文章数目 :
1018
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中