摘要: 方式一:编译源码方式安装 参考文档 libwebsockets (on ubuntu) - trying compile example "lws minimal ws server + permessage-deflate echo" - can't find libwebsocketsConfi 阅读全文
posted @ 2022-09-06 13:46 xYzDl 阅读(586) 评论(0) 推荐(0) 编辑
摘要: Debian 10 Buster 国内常用镜像源 如何更新系统安装源 一般我们修改 /etc/apt/sources.list 文件,将 Debian 的默认源地址改成新的地址即可,比如将 http://deb.debian.org 改成 https://mirrors.163.com,可使用以下这 阅读全文
posted @ 2022-09-06 00:36 xYzDl 阅读(3352) 评论(0) 推荐(0) 编辑
摘要: 参考文章 https://blog.csdn.net/whatday/article/details/109138652 临时禁用 sudo sh -c 'echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6' 临时启用 sudo sh -c 'ech 阅读全文
posted @ 2022-09-05 18:21 xYzDl 阅读(1515) 评论(0) 推荐(0) 编辑
摘要: 1. sudo apt-get install locales 2. sudo dpkg-reconfigure locales 勾选 zh_CN.UTF-8 3. sudo locale-gen 4. sudo apt-get install ttf-wqy-zenhei(安装字体) 5. sud 阅读全文
posted @ 2022-09-05 10:37 xYzDl 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 参考文档官网filebrowser config - File Browser 1.官网下载对应版本的安装包 linux-armv7-filebrowser.tar.gz 2.新建目录/app/filebrowser,然后解压安装包到该目录 3.cd到新目录,执行初始化filebrowser数据库命 阅读全文
posted @ 2022-09-05 10:13 xYzDl 阅读(920) 评论(0) 推荐(0) 编辑
摘要: Get-ChildItem .\ -Recurse | ForEach-Object -Process { if ($_ -is [System.IO.FileInfo] -and $_.Name.EndsWith('.cs')) { $_.Name | Out-File -Append .\out 阅读全文
posted @ 2022-07-28 15:50 xYzDl 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 全局打印统一的请求响应日志 using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System; using System.Coll 阅读全文
posted @ 2022-06-16 11:58 xYzDl 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 原因是迁移时部分依赖包(Microsoft.EntityFrameworkCore.Design)未显示指定,就默认引用了版本不兼容的包。 显式安装依赖Microsoft.EntityFrameworkCore.Design 5.x.x解决这个问题。 阅读全文
posted @ 2022-05-26 11:28 xYzDl 阅读(1261) 评论(0) 推荐(1) 编辑
摘要: Spring Boot打包后的Jar包中的资源可通过以下方法获取 public static String getTemplateContent(String templateName) { try { ClassPathResource resource = new ClassPathResour 阅读全文
posted @ 2022-05-18 11:33 xYzDl 阅读(1042) 评论(1) 推荐(0) 编辑
摘要: 需要将数组["丁","乙","甲","丙"],按甲、乙、丙、丁排序,但是C#的字符串排序规则没有该排序类型,所以预指定顺序,再匿名生成IComparer接口的实现类。 var classOrderList = new List<string>{"甲","乙","丙","丁"}; var compar 阅读全文
posted @ 2022-05-16 17:53 xYzDl 阅读(232) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示