会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
珞檀
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2022年12月1日
Debian 11 安装 redis 5.0
摘要: 安装命令 sudo apt install redis-server 安装后检查 Redis 服务状态 sudo systemctl status redis-server Redis 的主要配置文件位于 /etc/redis/redis.conf 注释掉 Bind 127.0.01::1 来允许所
阅读全文
posted @ 2022-12-01 14:46 顾小凡
阅读(164)
评论(0)
推荐(0)
2022年11月30日
debian 安装 RabbitMQ
摘要: 首先安装 Erlang 环境 apt-get install erlang 检查安装是否成功 erl 搜索apt下是否有 rabbitmq-server apt-cache search rabbitmq-server 安装 apt-get install rabbitmq-server 查看运行状
阅读全文
posted @ 2022-11-30 22:18 顾小凡
阅读(185)
评论(0)
推荐(0)
2022年11月18日
TaskCompletionSource 类型
摘要: 原文地址 : https://www.pluralsight.com/guides/task-taskcompletion-source-csharp 定义: 可以将任何异步操作转换为Task 用例: Asp.Net Core 7 中的 IHost 接口的扩展方法 WaitForShutdownAs
阅读全文
posted @ 2022-11-18 17:27 顾小凡
阅读(118)
评论(0)
推荐(0)
ServiceDescriptor 类
摘要: 位于 Microsoft.Extensions.DependencyInjection.Abstractions.dll 官方定义: 描述一种服务,包括该服务的类型,实现和生存周期 // 生命周期 public ServiceLifetime Lifetime { get; } // 服务类型 pu
阅读全文
posted @ 2022-11-18 17:05 顾小凡
阅读(142)
评论(0)
推荐(0)
2022年7月2日
nginx 刷新404
摘要: location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; }
阅读全文
posted @ 2022-07-02 17:04 顾小凡
阅读(21)
评论(0)
推荐(0)
2022年5月25日
EF Core 创建一对一关系
摘要: 1 public class Sys_Menu : IEntity 2 { 3 4 /// <summary> 5 /// Id 6 /// </summary> 7 [Key] 8 public int Id { get; set; } 9 10 /// <summary> 11 /// Path
阅读全文
posted @ 2022-05-25 16:37 顾小凡
阅读(150)
评论(0)
推荐(0)
2021年11月2日
uni-app 获取可用屏幕宽度,高度
摘要: let systemInfo = uni.getSystemInfoSync() // px转换到rpx的比例 let pxToRpxScale = 750 / systemInfo.windowWidth; // 状态栏的高度 let ktxStatusHeight = systemInfo.st
阅读全文
posted @ 2021-11-02 09:58 顾小凡
阅读(2592)
评论(0)
推荐(0)
2021年5月31日
微信公众号登录(微信浏览器直接拉起微信授权登录)
摘要: const appid = "wxcf05d4b9dd7faaaa" const redirect_uri = encodeURI("http://www.aaaa.com/wechat?Isweixin=true") window.location.href = "https://open.wei
阅读全文
posted @ 2021-05-31 10:07 顾小凡
阅读(430)
评论(0)
推荐(0)
微信扫码登录
摘要: 1.引入微信js http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js 2.添加dom <div class="code"> <div id="login_container"></div> </div> 3.初始化 var obj
阅读全文
posted @ 2021-05-31 10:04 顾小凡
阅读(386)
评论(0)
推荐(0)
.net 5 添加依赖项框架
摘要: 在项目的csproj文件中加入以下代码 替换想要加入的框架 <PropertyGroup> <TargetFramework>net5.0</TargetFramework> <ApplicationIcon /> <OutputType>Library</OutputType> <StartupO
阅读全文
posted @ 2021-05-31 00:11 顾小凡
阅读(481)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告