Dev
搜索

Dev

mysql 数据恢复 无bin_log 无备份
发表于2022-11-02|mysql
https://github.com/zbdba/db-recovery 12345678FROM golang:1.19 as builderENV GO111MODULE=onENV GOPROXY=https://goproxy.ioCOPY ./db-recovery /appWORKDIR /appRUN make
mysql8 小内存 100m左右运行
发表于2022-10-10|mysql
1234567[mysqld]performance_schema_max_table_instances=400 #设置效果不明显table_definition_cache=400performance_schema=off #效果明显table_open_cache=64innodb_buffer_pool_chunk_size=64M #效果不明显innodb_buffer_pool_size=64M #效果不明显
yii2 yii3 框架 无法执行composer 无法加载资源 asset
发表于2022-07-20|php
https://www.asset-packagist.cn/ 使用阿里云composer镜像 使用asset-packagist镜像 1234567"repositories": { { "type": "composer", "url": "https://asset-packagist.cn" }}
mac homebrew无法 安装php7.3
发表于2022-07-15|php
https://blog.51cto.com/u_13502462/5071269 1vim /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/php@7.3.rb 注释 disable 那一行 重新下载
nvm
发表于2022-07-07|js
https://github.com/nvm-sh/nvm https://blog.csdn.net/songisgood/article/details/121230371 https://blog.csdn.net/qq_22186119/article/details/123255420 安装123456789101. 码云下载git clone https://gitee.com/mirrors/nvm2. 修改`install.sh`第75行NVM_SOURCE_URL="https://gitee.com/mirrors/nvm.git"3. 执行安装./install.sh _git4. 根据使用的命令行把环境变量写入 下载镜像也可以写入环境变量 1NVM_NODEJS_ORG_MIRROR=https://registry.npmmirror.com/-/binary/node 1nvm install 16 设置默认版本1nvm alias default 10 1234567curl -o- https://raw.githubu...
git 设置用户名密码
发表于2022-06-30|others
12git config --global user.name “你的用户名”git config --global user.email “你的邮箱”
vue 不同路由 相同组件 页面刷新数据不更新
发表于2022-06-29|js
12345watch: { '$route'(to, from) { this.init() } },
安卓 键盘 弹出 vh 变化 解决方法
发表于2022-06-18|js
1234567891011121314<meta name="viewport" id="viewportMeta" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"><script type="text/javascript"> var initViewport = function(height){ var metaEl = document.querySelector("#viewportMeta"); var content = "width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,height=" + height; metaEl.setAttribute(&...
golang 编译 减小体积
发表于2022-06-16|golang
1go build -ldflags="-s -w"
k3s 使用
发表于2022-06-16|php
获取node token12cat /var/lib/rancher/k3s/server/node-token 获取api token123kubectl get secretskubectl describe secret default-token-2ppjfcurl --insecure https://192.168.163.121:6443/api --header "Authorization: bearer $token 集群信息1kubectl cluster-info 关闭全部1k3s-killall.sh 重启k3s1systemctl restart k3s 启动pod1sudo kubectl run nginx --image nginx --port 80 --expose=true 加上expose会再创建一个service,对外服务,查看服务时候可以看到他的ip和端口 删除pod1sudo kubectl delete pod nginx 查看服务1kubectl get svc 基本概念 工作负载工作负载类的资源有Pod...
1…151617…103
avatar
developer
AI相伴的开发者博客
文章
1023
标签
724
分类
35
Follow Me
公告
This is my Blog
最新文章
pdf操作2026-06-04
pdf按章节拆分到文件2026-05-03
svg转png2026-04-09
taro+tailwind开发记录2026-04-07
hono js 使用记录2026-03-31
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
本站2017年总结 地址 安装一个自己的类库 5.5 对象存储 删除失败 查看 tostring 笔试题 菜单 中间件 禁止 register_shutdown_function 启动 wsl datetime mysql alert 变量导入数组 webfont 常用 拓展名 证书 json Post Formats python 控制器参数注入和 查询企业税务信息 运营网站记录 IOS11.0.1 非典型 js __set 正向代理 处理大数组 缓存 session共享 播放声音 低成本 dl
归档
  • 六月 2026 1
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
  • 十一月 2025 2
网站信息
文章数目 :
1023
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中