会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
卫龙吖
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2023年12月22日
vue3 + vite + ts 配置 @ 别名
摘要: 第一步 npm install @types/node -D 第二步 这是原 vite.config.ts文件 import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' // https://vitejs.dev
阅读全文
posted @ 2023-12-22 16:32 卫龙吖
阅读(429)
评论(0)
推荐(0)
2023年12月19日
python 之 LDAP 用户统一认证登录
摘要: pip install ldap3 # 环境安装 from ldap3 import Server, Connection,SUBTREE ldap_host = 'xx.xx.x.x' #ldap服务器地址 ldap_port = 389 #默认389 ldap_admin_user = 'xx'
阅读全文
posted @ 2023-12-19 15:09 卫龙吖
阅读(695)
评论(0)
推荐(0)
2023年11月16日
windows 和 Linux 下 git status 结果不一致
摘要: 解决该问题 运行一下命令即可 git config core.autocrlf true 解释 git config core.autocrlf true 这个命令是在任何支持的操作系统上都可以运行的,包括 Windows 和 Linux。这个命令是用来设置 Git 的全局配置,也就是说,如果你在命
阅读全文
posted @ 2023-11-16 17:30 卫龙吖
阅读(319)
评论(0)
推荐(0)
2023年9月22日
无法找到模块“element-plus/dist/locale/zh-cn.mjs”的声明文件
摘要: 把 zhCn 的引入 改成 下面这个就可以了 import zhCn from "element-plus/es/locale/lang/zh-cn"; 贼拉拉管用,快去试试吧 ~
阅读全文
posted @ 2023-09-22 15:57 卫龙吖
阅读(579)
评论(0)
推荐(0)
2023年5月23日
docker: 'buildx' is not a docker command
摘要: 解决方法 sudo apt install docker-buildx-plugin
阅读全文
posted @ 2023-05-23 20:35 卫龙吖
阅读(594)
评论(0)
推荐(0)
2023年5月15日
mysql 数据库 定时 备份到阿里云盘
摘要: 仓库地址: gitee:db_backup_script: mysql 数据库 定时/实时 备份数据库到阿里云盘,备份成功后消息可通知到钉钉群、企业微信群、wxpusher (gitee.com github:gwt805/db_backup_script: mysql 数据库 定时/实时 备份数据
阅读全文
posted @ 2023-05-15 22:56 卫龙吖
阅读(98)
评论(0)
推荐(0)
2023年5月11日
win11 还原 win10的右击
摘要: 以管理员身份 打开 powershell, 然后输入如下代码 .\reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve 然后打开任务管理器,找到 w
阅读全文
posted @ 2023-05-11 21:20 卫龙吖
阅读(53)
评论(0)
推荐(0)
2023年4月26日
django token 认证 简单记录
摘要: class User(AbstractUser): username = models.CharField( max_length=20, unique=True, primary_key=True, verbose_name="用户名" ) email = models.EmailField(ma
阅读全文
posted @ 2023-04-26 18:54 卫龙吖
阅读(12)
评论(0)
推荐(0)
2023年1月26日
django 定时任务 apscheduler 踩坑
摘要: 本想每天定点的去查询一些数据然后用钉钉机器人发出来,前两三天还好好的,后面就执行 ERROR了 看了下错误问题,就跟连不上数据库一样,参考别人的解决方法 scheduler.add_job(every_day_ding_send_report_form, "cron", id='ding_day_r
阅读全文
posted @ 2023-01-26 13:10 卫龙吖
阅读(178)
评论(0)
推荐(0)
2023年1月15日
python Django api 返回图片
摘要: re_path(r"report_img/(.*)$",views.ReportImage.as_view()) def return_img(request): img_dir = os.path.join(BASE_DIR,"day_report_form") img = img_dir + "
阅读全文
posted @ 2023-01-15 16:04 卫龙吖
阅读(92)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页