会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
346
下一页
2024年10月17日
细胞大小,真核细胞直径平均: 3~30μm;
摘要: 细胞大小 1毫米=1000微米, 1微米=1000纳米, 1毫米=1000000纳米。 单位有毫米(mm)、微米(μm)、纳米(nm) 。 细胞的大小是细胞的重要特征,各类细胞的大小是有一定规律的。一般来说,原核细胞直径平均: 1~10μm; 真核细胞直径平均: 3~30μm; 某些不同来源的细胞大
阅读全文
posted @ 2024-10-17 23:29 emanlee
阅读(2945)
评论(0)
推荐(0)
2024年10月16日
mysql的时间在vue中显示相差8个小时 (Vue+Django+MySQL 时区 自动转换时间)
摘要: mysql的时间在vue中显示相差8个小时 Vue 10:00:00 Django (USE_TZ = True, Django会自动根据所设的时区对时间进行转换; 改为False即可) MySQL 2:00:00 原因: 中间某个环节的时区不对. 我这里是mysql的时区不对. 解决办法: 全局修
阅读全文
posted @ 2024-10-16 20:46 emanlee
阅读(142)
评论(0)
推荐(0)
2024年10月15日
python datetime.datetime.now() 北京时间
摘要: python datetime.datetime.now() 北京时间 要获取北京时间(中国标准时间,UTC+8),可以使用datetime模块中的datetime和timedelta类。以下是一个简单的函数,用于获取北京时间:from datetime import datetime, timed
阅读全文
posted @ 2024-10-15 23:13 emanlee
阅读(1511)
评论(0)
推荐(0)
python获取mysql表的数据,保存到pandas DataFrame
摘要: import pymysql import pandas as pd def con_sql(sql): # 创建连接 db = pymysql.connect( host='0.0.0.0', user='aaa', password='bbb', database='ccc', charset=
阅读全文
posted @ 2024-10-15 20:27 emanlee
阅读(401)
评论(0)
推荐(0)
2024年10月14日
df和du显示的磁盘空间使用情况不一致
摘要: du-Disk Usagedf-Disk Free [root@VM-8-12-centos /]# df -hFilesystem Size Used Avail Use% Mounted ondevtmpfs 989M 0 989M 0% /devtmpfs 1000M 24K 1000M 1%
阅读全文
posted @ 2024-10-14 23:29 emanlee
阅读(166)
评论(0)
推荐(0)
uwsig 随系统启动 (centos)
摘要: uwsig 随系统启动 (centos) uwsig 随系统启动 (centos)要在CentOS系统中让uWSGI随系统启动,你可以创建一个系统服务单元文件。以下是一个基本的uWSGI服务文件示例:首先,找到你的uWSGI配置文件(通常是.ini文件)的位置。创建一个新的服务单元文件,例如 /us
阅读全文
posted @ 2024-10-14 23:25 emanlee
阅读(103)
评论(0)
推荐(0)
pip install uwsgi==2.0.23
摘要: pip install uwsgi==2.0.23Looking in indexes: http://mirrors.tencentyun.com/pypi/simpleCollecting uwsgi==2.0.23 Downloading http://mirrors.tencentyun.c
阅读全文
posted @ 2024-10-14 20:36 emanlee
阅读(84)
评论(0)
推荐(0)
centos 让 mysql 随系统启动
摘要: [root@VM-8-12-centos ~]# systemctl enable mysqlFailed to execute operation: No such file or directory systemctl start mysqldJob for mysqld.service fai
阅读全文
posted @ 2024-10-14 20:22 emanlee
阅读(135)
评论(0)
推荐(0)
2024年10月10日
ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see docs/migrations.rst for details
摘要: 2024/10/10 21:25:44 PM - ERROR - Internal Server Error: /abc Traceback (most recent call last): File "/root/abc/backend/venv/lib/python3.8/site-packag
阅读全文
posted @ 2024-10-10 22:53 emanlee
阅读(483)
评论(0)
推荐(0)
nohup nohup: ignoring input
摘要: import time while True: time.sleep(3) print("pass ") [root@VM-8-12-centos Recorder]# [root@VM-8-12-centos Recorder]# nohup python test.py > tes.txt 2>
阅读全文
posted @ 2024-10-10 21:09 emanlee
阅读(286)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
346
下一页