会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
灵火
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2024年3月21日
查看 linux 版本
摘要: cat /proc/version uname -a cat /etc/os-release lsb_release -a
阅读全文
posted @ 2024-03-21 23:34 灵火
阅读(6)
评论(0)
推荐(0)
编辑
python 部署 flask 应用 - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
摘要: 安装 gunicorn 库, pip3 install gunicorn 然后输入以下命令(比如你的入口文件为 main.py,后面app为名称,可以随便取): gunicorn -w 4 -b 0.0.0.0:8000 main:app
阅读全文
posted @ 2024-03-21 23:04 灵火
阅读(399)
评论(0)
推荐(0)
编辑
2024年3月19日
使用 Flutter
摘要: 官网:https://docs.flutter.dev/ 国内镜像网:https://flutter.cn/ Dart文档:https://dart.dev/language 开始使用 安装好 Visual Studio Code (VSCode) 安装扩展:Flutter https://mark
阅读全文
posted @ 2024-03-19 16:36 灵火
阅读(19)
评论(0)
推荐(0)
编辑
Sitecore ListManager Contact Lists vs Segment Lists
摘要: Sitecore List Manager 主要是用于管理用户订阅和取消订阅的,当用户订阅之后,相关的用户信息就会保存在对应的 List。 而 Sitecore 的 List 类型分为两类:Contact List 和 Segment List。 有关文档:https://sitecorehacke
阅读全文
posted @ 2024-03-19 16:22 灵火
阅读(2)
评论(0)
推荐(0)
编辑
pnpm 设置代理
摘要: 1. 在环境变量里添加变量: HTTP_PROXY: http://127.0.0.1:7890 HTTPS_PROXY: https://127.0.0.1:7890 也可以通过命令来取消或设置环境变量里的代理: 一般只设置 proxy, 而不用设只 https_proxy 的代理就够用了。 关闭
阅读全文
posted @ 2024-03-19 10:04 灵火
阅读(1238)
评论(0)
推荐(0)
编辑
Tauri 使用
摘要: 首先确保安装了 Cargo: https://www.rust-lang.org/tools/install 官网:https://tauri.app/v1/guides/getting-started/setup 安装: cargo install create-tauri-app --locke
阅读全文
posted @ 2024-03-19 09:53 灵火
阅读(19)
评论(0)
推荐(0)
编辑
2024年3月18日
不通过 Host 将 Serilog 转换成 ILogger
摘要: 安装 Serilog public static class LoggerExtension { public static ILogger<T> CreateLogger<T>() { var logPath = "log.txt"; const string outputTemplate = "
阅读全文
posted @ 2024-03-18 23:23 灵火
阅读(16)
评论(0)
推荐(0)
编辑
css 主题配置
摘要: 可以通过在 body 根节点设置任意一个属性名字 data-them="dark" 来匹配主题; :root{ --gener-color: #000000; --gener-bg-color: #ffffff; } [data-theme] .header{ --gener-color: #fff
阅读全文
posted @ 2024-03-18 17:05 灵火
阅读(4)
评论(0)
推荐(0)
编辑
Rust 入门
摘要: 官网:https://www.rust-lang.org/ Api 文档:https://doc.rust-lang.org/std/index.html 安装: https://www.rust-lang.org/tools/install 下载对应的32或64版本,下载完成之后双击打开,然后直接
阅读全文
posted @ 2024-03-18 17:02 灵火
阅读(3)
评论(0)
推荐(0)
编辑
Sitecore ListManagaer Operation
摘要: private void ListManagerOperate() { // 获取服务 IClientApiService clientApiService = ServiceLocator.ServiceProvider.GetRequiredService<IClientApiService>(
阅读全文
posted @ 2024-03-18 16:48 灵火
阅读(1)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
···
9
下一页
公告