会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
朝朝暮暮
[置顶]
Flask学习笔记
摘要: ### Flask学习笔记 官方教程:https://flask.palletsprojects.com/en/2.3.x/ W3CSchool: https://www.w3cschool.cn/flask_1/ 知乎资料:https://www.zhihu.com/people/im-greyl
阅读全文
posted @ 2022-06-03 00:51 朝朝暮Mu
阅读(88)
评论(0)
推荐(0)
编辑
[置顶]
Pandas学习笔记
摘要: 1.groupby的用法 参考:https://zhuanlan.zhihu.com/p/101284491 2.Pandas中的map(), apply()和applymap()的应用 参考:https://blog.csdn.net/maymay_/article/details/8022905
阅读全文
posted @ 2022-03-23 11:36 朝朝暮Mu
阅读(59)
评论(0)
推荐(0)
编辑
[置顶]
微信小程序笔记_02
摘要: 在微信小程序中使用Echarts组件 github源码地址:https://github.com/ecomfe/echarts-for-weixin gitcode源码地址:https://gitcode.net/mirrors/ecomfe/echarts-for-weixin?utm_sourc
阅读全文
posted @ 2022-03-21 11:07 朝朝暮Mu
阅读(25)
评论(0)
推荐(0)
编辑
自定义json序列化器
摘要: import json from datetime import date, datetime class DateEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, datetime): return obj.
阅读全文
posted @ 2025-02-26 10:05 朝朝暮Mu
阅读(2)
评论(0)
推荐(0)
编辑
SSH相关
摘要: 配置云服务器登陆信息,可快速登陆,不用每次手动输入IP地址和密码 Host server1 HostName xxx.xxx.xxx.xxx User root IdentityFile ~/.ssh/id_rsa Host server2 HostName xxx.xxx.xxx.xxx User
阅读全文
posted @ 2025-02-23 22:23 朝朝暮Mu
阅读(3)
评论(0)
推荐(0)
编辑
ES聚合查询
摘要: Elasticsearch 聚合分析(Aggregations) Elasticsearch 聚合(Aggregations) 是一种强大的数据分析功能,类似于 SQL 的 GROUP BY,可以用于 统计、分组、计算平均值、最大值、最小值、直方图分析 等。 🔹 1. 聚合查询的基本结构 GET
阅读全文
posted @ 2025-02-20 22:58 朝朝暮Mu
阅读(6)
评论(0)
推荐(0)
编辑
MacOS安装Minio
摘要: 1. 安装 1.1 通过homebrew安装 推荐使用 homebrew工具进行安装,简单又快捷 brew install minio 通过以上工具安装后,运行文件默认路径为:/opt/homebrew/bin 可以通过brew --prefix快速定位到安装目录 1.2 通过Docker安装 拉取
阅读全文
posted @ 2025-02-17 16:23 朝朝暮Mu
阅读(38)
评论(0)
推荐(0)
编辑
集成qxb
摘要: def index(): key=b"key" iv=b"iv" # 创建 AES 加密实例 cipher = AES.new(key, AES.MODE_CBC, iv) tenant = "tenant" account = "account" # 前端获取的子账号唯一标识,不可写死,不可为中文
阅读全文
posted @ 2025-02-13 21:45 朝朝暮Mu
阅读(1)
评论(0)
推荐(0)
编辑
Jupyter Notebook 创建新的kernel
摘要: 在 macOS 上创建新的 Jupyter Notebook 内核(Kernel)并进行配置,一般需要使用 conda 或 virtualenv 创建一个新的 Python 环境,然后注册为 Jupyter 内核。以下是详细步骤: 1. 安装 Jupyter Notebook(如果尚未安装) 如果你
阅读全文
posted @ 2025-02-12 21:25 朝朝暮Mu
阅读(32)
评论(0)
推荐(0)
编辑
使用Alembic进行数据迁移
摘要: 在 大型 FastAPI 项目 中,数据库迁移(Database Migration)功能通常使用 Alembic 进行管理,并且存放在 migrations/ 目录下。 1. 数据库迁移的目录结构 在 FastAPI 项目中,数据库迁移的目录结构如下: my_fastapi_project/ │─
阅读全文
posted @ 2025-02-02 17:50 朝朝暮Mu
阅读(48)
评论(0)
推荐(0)
编辑
Python操作邮件
摘要: 在 Python 中,你可以使用 smtplib 发送电子邮件,并使用 email 模块来构建邮件内容。下面是一个完整的示例,展示如何使用 SMTP 服务器发送电子邮件。 发送 Email 的步骤 1. 连接 SMTP 服务器(如 Gmail、Outlook、QQ 邮箱等)。 2. 构建邮件
阅读全文
posted @ 2025-01-30 09:46 朝朝暮Mu
阅读(18)
评论(0)
推荐(0)
编辑
python操作Redis
摘要: 1. 使用Homebrew安装Redis To install Redis using Homebrew on macOS, follow these steps: 1.Update Homebrew Before installing anything, it’s good practice to
阅读全文
posted @ 2025-01-30 09:45 朝朝暮Mu
阅读(4)
评论(0)
推荐(0)
编辑
Python操作RabbitMQ
摘要: 一、基本使用 使用Homebrew安装RabbitMQ # 更新 homebrew brew update # 安装 brew install rabbitmq # 查看安装位置 brew info rabbitmq # 启动 brew services start rabbitmq # 启动配置
阅读全文
posted @ 2025-01-30 09:43 朝朝暮Mu
阅读(11)
评论(0)
推荐(0)
编辑
下一页
导航
博客园
首页
联系
订阅
管理
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
公告
昵称:
朝朝暮Mu
园龄:
5年1个月
粉丝:
2
关注:
1
+加关注
统计
随笔 - 343
文章 - 1
评论 - 3
阅读 -
28999
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
API(1)
CPA(1)
css(2)
Flask(7)
git(2)
javascript(4)
laravel(1)
mysql(1)
php(12)
PPT(1)
PyQT(2)
python相关(45)
Vue(3)
财会(1)
量化投资(2)
其他(6)
司法考试(3)
网站编辑(1)
小程序(4)
更多
随笔档案
2025年2月(7)
2025年1月(3)
2024年12月(2)
2024年11月(1)
2024年10月(5)
2024年9月(4)
2024年8月(8)
2024年7月(13)
2024年6月(1)
2024年5月(5)
2024年4月(2)
2024年3月(3)
2024年2月(5)
2024年1月(4)
2023年12月(7)
2023年11月(4)
2023年10月(3)
2023年9月(6)
2023年8月(14)
2023年7月(7)
2023年6月(5)
2023年5月(12)
2023年4月(24)
2023年3月(14)
2023年2月(16)
2023年1月(11)
2022年12月(11)
2022年11月(12)
2022年10月(6)
2022年9月(2)
2022年8月(10)
2022年7月(22)
2022年6月(33)
2022年5月(30)
2022年4月(8)
2022年3月(17)
2021年3月(3)
2020年1月(1)
更多
阅读排行榜
1. python WindPy 学习笔记(2476)
2. mplfinance常用方法(1225)
3. vue3 引入外部js方式(1219)
4. python-pptx 学习笔记 placeholder、Text(1002)
5. 使用wind API查询某股票股价(956)
评论排行榜
1. 低代码表单开发(2)
2. 使用kratos框架集成jwt认证(1)
最新评论
1. Re:低代码表单开发
@赵志伟的星儿 找到了没?...
--whatx
2. Re:使用kratos框架集成jwt认证
为什么最后我类型断言那一步,返回的claims是nil呢
--Maka_Baka
3. Re:低代码表单开发
仓库找不到了, 楼主
--赵志伟的星儿
点击右上角即可分享