health

Habit Description
1 Regular Physical Activity: Engage in 150 min/week of moderate aerobic exercise or 75 min/week of vigorous exercise, plus strength training twice weekly.
2 Balanced Diet: Consume fruits, vegetables, whole grains, lean proteins, and healthy fats; limit processed foods, sugar, and salt.
3 Regular Health Screenings: Monitor blood pressure, cholesterol, and blood sugar; follow age-appropriate check-up schedules.
4 Prostate Health: Be aware of prostate issues; consider screening from age 50 or earlier if at risk.
5 Avoid Tobacco, Limit Alcohol: Quit smoking; limit alcohol to two drinks/day.
习惯 描述
1 定期体育锻炼:每周进行 150 分钟的中等强度有氧运动或 75 分钟/周的剧烈运动,外加每周两次的力量训练。
2 均衡饮食:食用水果、蔬菜、全谷物、瘦肉蛋白和健康脂肪;限制加工食品、糖和盐。
3 定期健康检查:监测血压、胆固醇和血糖;遵循适合年龄的体检时间表。
4 前列腺健康:注意前列腺问题;如果有风险,考虑从 50 岁或更早开始进行筛查。
5 避免吸烟,限制饮酒:戒烟;将酒精限制在每天两杯。

查看电脑的电池状态

没有特殊软件的情况下,使用powershell命令生成电池使用情况报告

在 PowerShell(管理员模式)输入 powercfg /batteryreport,系统会生成一个 HTML 报告,包含电池设计容量、当前满电容量、充放电历史等信息

1
2
powercfg /batteryreport

运行后生成一个html文件 batteryreport.html

使用浏览器打开这个html文件

kingbase

kingbase使用问题

乱码问题

创建gb18030的数据库,可以解决。

更换驱动

不支持10

错误

1
pgjdbc: autodetected server-encoding to be ISO-8859-1, if the message is not readable, please check database logs and/or host, port, dbname, user, password, pg_hba.conf

错误

1
See nested exception: org.postgresql.util.PSQLException: ERROR: 关系 "qrtz_triggers" 不存在

查询数据库编码

1
SELECT pg_encoding_to_char(encoding) FROM pg_database WHERE datname = 'your_database_name';

对模式xx权限不够

1
Caused by: org.postgresql.util.PSQLException: ERROR: 对模式 cems 权限不够

使用github和hexo构建个人博客门户

看了别人写的使用github和hexo构建个人博客门户的说明后,发现有些跟现在2024的情况有些不同,并且有些没有介绍到的情况,导致架设过程中遇到的些问题也一起记录一下。

之前看到很多博客是github.io结尾的,今天想了一下,肯定是github提供了这种博客服务,于是就去搜了一下。果然是这样。

Read More