Django+wechatpy+ChatGPT+Celery接入微信公众号、企业微信
Django+wechatpy+ChatGPT+Celery接入微信公众号、企业微信
安装模块
1 | 安装django |
新建项目
1 | 创建一个django项目 |
1 | # 安装django |
1 | # 创建一个django项目 |
需要nginx必看,不要托管静态文件目录
https://pywebio.readthedocs.io/zh_CN/latest/misc.html?highlight=nginx#nginx-websocket-config-example



https://github.com/Jamling/hexo-generator-index2
1 | npm install hexo-generator-index2 --save |
1 | # whether the hexo-generator-index2 include the offical hexo-generator-index, default is true |
https://portwooddigital.com/2021/10/10/failed-to-get-compatible/
纤维截面使用位移控制梁柱单元(dispBeamColumn),力控制位移单元有可能也能计算,但是反复加载后不收敛的概率大,出现如下报错
failed to get compatible element forces & deformations for element
分析参数
1 | ops.timeSeries('Linear',1) |
使用KrylovNewton算法,使用Newton很用不收敛,使用NormDispIncr控制收敛,使用能量控制易不收敛。
You have n dice and each die has k faces
numbered from 1 to k.
Given three integers n, k, and
target, return the number of possible ways (out of
the kn total ways) to roll the dice so
the sum of the face-up numbers equals target. Since
the answer may be too large, return it modulo
109 + 7.
Example 1:
1 | Input: n = 1, k = 6, target = 3 |