conan ---- C++ Package Management Tool
教程
Cheat Sheet
Dap Mode Notes
鼠标支持 dap-mouse
注意:
- dap-mouse 与 lsp-mode 和 lsp-treemacs 关联
- 使用 lsp-bridge-mode 启用 dap-mouse 无效
启用方法:
| |
延迟时间:
| |
launch.json
- configuration 属性
- ${workspaceFolder}
- 项目根目录
- {$file}
- 当前打开的 editor 显示文件
- {$env:variable_name}
环境变量
flask-restx notes
教程
namespace
- 作用:对 Resource 分组
- 参考:API — Flask-RESTX documentation–Namspace class
调用
1api.namespace(...)
Model
参考:
parameters 字段
Parameters: default – The default value for the field, if no value is specified. attribute – If the public facing value differs from the internal value, use this to retrieve a different attribute from the response than the publicly named value. title (str) – The field title (for documentation purpose) description (str) – The field description (for documentation purpose) required (bool) – Is the field required ? readonly (bool) – Is the field read only ? (for documentation purpose) example – An optional data example (for documentation purpose) mask (callable) – An optional mask function to be applied to output
profile ---- python time consuming Python 运行时间分析工具
工具
- graphviz
- snakeviz
- gprof2dot
profiler
- cProfile
- profile
使用
snakeviz
| |
结果
- 网站
gprof2dot
| |
结果
- 函数调用图片
代码速度
requests ---- python requests library
教程
- requests官方教程
- curl 转换工具: Convert curl commands to code
发送 post json 请求 Request
| |