morning four the in
升级 .net 6后 The view 'Index' was not found. The following locations were searched
升级.net6之后Razor页面出现找不到view的情况,原因是.net6默认移除了一些依赖包,如下完美解决web工程添加包Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilationstartup.cs里面加上Compilation引用builder.Serv ......
pycharm中运行js文件出现UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 205: illegal multibyte sequence报错?
在做有道翻译时发现python文件中调用js文件并读取,出现了UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 205: illegal multibyte sequence报错。其实修改很简单,我们只需要将subp ......
The fontspec package Font selection for XeTeX and LuaLATEX
The fontspec package Font selection for XeTeX and LuaLATEX By file name XeTeX and LuaTEX also allow fonts to be loaded by file name instead of font na ......
Rendering the Whole Wide World on the World Wide Web - Kevin Ring,2013 - Cesium&AGI
Kevin Ring,Analytical Graphics, Inc. December 2, 2013 1. Massive Terrain Rendering(大批量地形渲染) 2. Cesium Platform - Javascript,webgl,web workers,typed ar ......
JS中的for in和for of
在JavaScript中, for...in 和 for...of 都是用于迭代循环的结构: 1. for...in 循环: for...in 循环主要用于遍历对象的可枚举属性。这种循环不仅遍历对象自身的属性,还会遍历原型链上的可枚举属性。它的语法如下: for (variable in objec ......
报错解决:user.Case: (models.E020) The 'Case.check()' class method is currently overridden by
Django在启动时报错,如下: user.Case: (models.E020) The 'Case.check()' class method is currently overridden by <django.db.models.query_utils.DeferredAttribute o ......
文献阅读《AcsiNet: Attention-Based Deep Learning Network for CSI Prediction in FDD MIMO Systems》
这篇文献的作者是南华大学的林文斌老师,于2023年3月3日发表在IEEE WIRELESS COMMUNICATIONS LETTERS。 文章直接对上行 CSI 矩阵使用离散傅里叶逆变换进行压缩,然后将其输入一个基于注意力(attention-based)的深度学习网络,该网络可以专注于关键的 C ......
Jenkins之docker in docker用https登录harbor
以下是官网的基础环境 先创建network docker network create jenkins 运行容器jenkins-docker,网络别名为docker。 docker run \ --name jenkins-docker \ --rm \ --detach \ --privilege ......
CF1810G The Maximum Prefix
题面传送门 挺好一题,综合了几种方法。 首先看到题会想到一个dp:设 $f_{i,j,k}$ 表示到了第 $i$ 个位置,历史前缀最大值为 $j$ ,当前前缀和为 $k$ 的概率,乘上期望就是答案。但是这个状态非常寄因为状态本身就有 $O(n^3)$ 了而且不易优化。所以我们需要另辟蹊径。 不妨假设 ......
golang 编译问题:gorm.io/plugin/dbresolver@v1.2.1/dbresolver.go:139:18: cannot use map[string]gorm.Stmt{} (value of type map[string]gorm.Stmt) as type map[string]*gorm.Stmt in struct literal
golang 执行 sh build 来编译项目时,发现了有报错 pkg/mod/gorm.io/plugin/dbresolver@v1.2.1/dbresolver.go:139:18: cannot use map[string]gorm.Stmt{} (value of type map[s ......
Konga versions equal to or below v0.14.9 use the default TOKEN_SECRET
Vulnerability Description Kong is a clould-native, fast, scalable, distributed microservice abstraction layer (also known as API gateway, API middlewa ......
Codeforces 1810G - The Maximum Prefix(DP)
挺小清新的一道计数题。 首先先分析下这个“最大前缀和”,按照最朴素的思路就是扫一遍每个前缀,然后记录一下当前的 $sum$ 与前面的 $mx$,但是如果你一直陷在这个思路上你就似了,因为按照这个思路做,你 DP 状态里需要记录 $sum$ 和 $mx$ 两个维度,算上下标一维总共是 $n^3$,并且 ......
Linux apt-get vs apt All In One
Linux apt-get vs apt All In One apt-get apt demos --> (🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章! refs https: ......
升级Java17后Maven中使用bouncycastle加解密遇到JCE cannot authenticate the provider BC的解决办法
网上找了很多办法,逐一试过之后,发现有效的方式为修改打包方式: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version ......
An item with the same key has already been added.
开发环境:.Net Core 3.1,NPOI 2.6.0 前言:复制行数据时,提示错误如下: An item with the same key has already been added. Key: 0 at System.Collections.Generic.Dictionary`2.Tr ......
NOT IN之后的子查询为什么不能包含NULL值
NOT IN后面的子查询有记录为NULL,主查询查不到记录 select * from emp where id not in (1, 2, null); 未选定行 因为这个查询可以理解为 select * from emp where 3 <> 1 and 3 <> 2 and 3 <> null ......
Shell脚本--case in
当分支较多,并且判断条件比较简单时,使用 case in 语句就比较方便了。 其基本格式为: case expression in pattern1) statement1 ;; pattern2) statement2 ;; pattern3) statement3 ;; …… *) statem ......
Vscode提示"Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5...."
完整错误如下。点击错误信息会定位到tsconfig.json和tsconfig.node.json两个文件。 Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5. Spec ......
Unable to create an object of type 'NetcoremvcDbcontext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728
问题描述:我整个项目重新生成没有报错,但是用efcore迁移数据库命令:Add-Migration init就生成不了文件夹Migrations,并且报错:Unable to create an object of type 'NetcoremvcDbcontext'. For the differ ......
如何修复树莓派在更换了一个 SD 系统卡后,无法使用 SSH 登录问题 All In One
如何修复树莓派在更换了一个 SD 系统卡后,无法使用 SSH 登录问题 All In One
Raspberry Pi 无法 SSH 登录,报错 ❌
known hosts
......
How to improve the accuracy of Tesseract OCR
Preprocess the image: Preprocessing involves applying various techniques to the image to enhance its quality and make it easier for the OCR engine to ......
Train the Tesseract OCR engine[how to do]
Training the Tesseract OCR engine is a complex and time-consuming process that involves several steps. Here is an overview of the process: Prepare you ......
Linux iwlist command All In One
Linux iwlist command All In One wifi scan iwlist # scanning for wireless networks $ sudo iwlist wlan0 scan $ sudo iwlist wlan0 scan > wifi-scan.md $ c ......
How to fix use the cURL to connect to GitHub with a 443 HTTPS error All In One
How to fix use the cURL to connect to GitHub with a 443 HTTPS error All In One
curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接... ......
《Exploring in UE4》Unreal回放系统剖析(下)
本篇分为上下两篇,上篇内容请关注:《Exploring in UE4》Unreal回放系统剖析(上) 四、死亡回放/精彩镜头功能的实现 在FPS游戏里,一个角色被击杀之后,往往会以敌方的视角回放本角色被定位、瞄准、射击的过程,这就是我们常提到的死亡回放(DeathCameraReplay)。类似的, ......
EasyUI 数据网格行拖放(Drag and Drop Rows in DataGrid)
https://www.jeasyui.net/extension/193.html EasyUI 数据网格行拖放(Drag and Drop Rows in DataGrid) 用法 包含 'datagrid-dnd.js' 文件 <script type="text/javascript" sr ......
centos登陆报错:System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8).
问题:开机后ssh到服务器出现此报错,大概意思是系统正在启动中非授权用户不允许登录, 解决:不需要处理,等会儿系统彻底起来后重新登陆就没有了,对应文件在/run/nologin ......
Specified named range 'F' does not exist in the current workbook.
开发环境:.Net Core 3.1,NPOI 2.6.0 前言:最近使用生成excel发现出现以下错误。 耐心排查,看错误描述以为是自己当前的sheet页里面有问题,却忽略了其他sheet页,最后发现其中一个sheet页的问题,具体什么问题未排查出来,只是复制了一下有问题的sheet页并且删除原有 ......
如何使用 Xbox Series X 驾驶游戏练习车技 All In One
如何使用 Xbox Series X 模拟驾驶游戏练习车技 All In One
无需驾校,无需车辆,环保无污染,低成本,无时间、地点、天气等条件限制,方便,自由 ? ......