Dev
搜索

Dev

jquery html使用
发表于2023-11-07|jq
获取radio值1$('input:radio:checked').val(); input禁用1$('input[name="company[company_name]"]').prop("readonly", ''); select禁用1$('select[name="user[meta][age_group]"]').prop("disabled", false); disabled无法提交问题12345678910$("#app-edit-profile").find('form').submit(function(){ checkDisable()})function checkDisable() { $("select[disabled]").each(function() { $...
bluestack5 root
发表于2023-10-20|others
修改配置文件中的enable_root_access为1,重启 通过adb connect IP:port adb shell su root
声音 AI 训练
发表于2023-09-08|others
下载视频1you-get 声音分离需要从github下载模型 每次默认只有10分钟 12345conda install -c conda-forge ffmpeg libsndfilepip install -i https://pypi.tuna.tsinghua.edu.cn/simple spleeterpython -m spleeter separate -p spleeter:2stems .\ldh.mp4 -o output 声音切片123audio-sliceraudio-slicer-gui
阿里云 云效问题
发表于2023-07-29|others
他的编译机器,似乎公用的,导致用 s 写入配置,会被别人看到
golang
发表于2023-07-25|golang
json 必须传入一个指针类型,但是声明的指针类型不行 1234567// 错误var res *Resultjson.Unmarshal(b,res)// 正确var res *Resultjson.Unmarshal(b,&res) slice slice传递时候,实际上都是值传递,只不过创建新的slice时候,系统没有全部复制一份,而是把原来的数据给了一个新的引用,这才导致了,只要容量不变化,新slice的操作都会转移到老slice上,slice结构如下 12345type slice struct { array unsafe.Pointer // 指向数组内存地址的指针 len int // 已有元素长度 cap int // 切片总容量} 如果彻底不想改变老slice,可以逐个值放进去 1
腾讯 gpu 服务器
发表于2023-07-22|python
自带的python去掉镜像1pip config set global.index-url "" 安装cuda直接安装cuda使用runfile
软件安装
发表于2023-07-22|day
golang 下载源码包到某个目录 环境变量 123456`/etc/profile`export GOROOT=~/res/go # golang源码位置export GOPATH=~/res/golang # golang将来安装第三方包位置export GOBIN=$GOPATH/binexport PATH=$PATH:$GOROOT/bin:$GOBIN 配置代理 12go env -w GO111MODULE=ongo env -w GOPROXY=https://goproxy.cn,direct podman 配置文件 1/etc/containers/registries.conf sjtu镜像 123456789unqualified-search-registries = ["docker.io"][[registry]]prefix = "docker.io"insecure = falseblocked = falselocation = "docker.io"[[registry...
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...
1…121314…104
avatar
developer
AI相伴的开发者博客
文章
1035
标签
742
分类
36
公告
This is my Blog
最新文章
wslc空间清理2026-11-16
Cmder 跟随 Windows 明暗主题2026-10-28
Intel(R) System Usage Report禁用2026-10-18
压力测试2026-10-16
税务学习记录2026-10-13
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
常用 处理大数组 客户端 乌龟 不准 一键安装 laya 时间格式化的方式 微信支付 对象唯一id 移动端上传 解析字符串 过滤目录和子目录下 开启报错 恋爱 自建vpn WSL2 对话的 恢复 dl 函数 go 大量bug记录 补充 apache2.4 禁止 借助云服务 数据类型 mysql_fetch_array Tue Sep 18 2018 08:00:00 GMT+0800 (China Standard Time) 性能差异 max current_user_can wsl gs mysql 不装逼 女人 正确方法 docker
归档
  • 十一月 2026 1
  • 十月 2026 9
  • 八月 2026 1
  • 六月 2026 2
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
网站信息
文章数目 :
1035
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.2|主题 Butterfly 5.7.0
搜索
数据加载中