Dev
搜索

Dev

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);
sudo 用法
发表于2024-09-06|php
指定用户运行1sudo -u www-data vim info.php 从当前用户切换到 www-data 用户1sudo su - www-data 添加用户组1sudo groupadd -f -g 33 www-data 添加用户1sudo useradd -u 33 -g 33 -m -s /bin/bash www-data
docker swarm 滚动更新
发表于2024-08-12|docker
123docker service create --name app_tarot --publish 8080:8888 --replicas 3 ccr.ccs.com/test/tarot:latestdocker service update --image ccr.ccs.com/test/tarot:latest app_tarot --force
laravel 关闭 debugger
发表于2024-07-18|php
在env文件中增加 1DEBUGBAR_ENABLED=false
certbot Ubuntu 自动更新 nginx证书
发表于2024-07-18|php
安装 12sudo snap install --classic certbotsudo ln -s /snap/bin/certbot /usr/bin/certbot 获取证书 1sudo certbot certonly --webroot -w /data/wwwroot/iguojin.com/ -d iguojin.com 挂载docker 1/etc/letsencrypt:/etc/nginx/ssl/letsencrypt 配置nginx 12ssl_certificate /etc/nginx/ssl/letsencrypt/live/iguojin.com/fullchain.pem;ssl_certificate_key /etc/nginx/ssl/letsencrypt/live/iguojin.com/privkey.pem; 自动更新 1sudo certbot renew --dry-run 执行这个命令后,他会自动配置定时任务,在如下位置之一 123/etc/crontab//etc/cron.*/*syst...
wsl ubuntu 安装 oh-my-zsh
发表于2024-06-25|ubuntu
安装zsh 1sudo apt install git zsh -y 安装oh-my-zsh码云地址 1https://gitee.com/mirrors/oh-my-zsh 执行其中的tools/install.sh 如果无法clone github代码可以尝试把ip写入host 安装自动补全 1git clone https://gitee.com/mirrors/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions 修改配置 ~/.zshrc 1plugins=(git zsh-autosuggestions)
1…8910…103
avatar
developer
AI相伴的开发者博客
文章
1025
标签
727
分类
35
Follow Me
公告
This is my Blog
最新文章
python开发环境多版本管理2026-08-18
opencode自定义模型2026-06-18
pdf操作2026-06-04
pdf按章节拆分到文件2026-05-03
svg转png2026-04-09
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
注意要点 th 配置 判断一个 git rc.local 对象 常见问题 问题 引用传递 require_once() centos 区别 animate动画 hset命令 trim 每隔一段时间 要点 pgsql 图片 golang swoft goaccess getx 显示 微信开发 设计模式 Filter 高度可自定义 开放平台 发红包 to grep 测试代码 require() call 控制器 ioc array_column 时间复杂度
归档
  • 八月 2026 1
  • 六月 2026 2
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
网站信息
文章数目 :
1025
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中