hong kong programming the

4am,name-of-the-rose-and-dayflower

4a.m., 玫瑰之名和兰花草 Created: 2023-06-05T18:59+08:00 Published: 2023-06-26T19:35+08:00 Categories: Fragment [toc] # 跳一段忠字舞 ![德育答辩](https://img2023.cnblogs. ......

Kong入门学习实践(5)API网关路由转发

最近在学习Kong网关,因此根据老习惯,我会将我的学习过程记录下来,一来体系化整理,二来作为笔记供将来翻看。由于我司会直接使用Kong企业版,学习过程中我会使用Kong开源版。 本篇,我们学习快速配置一个最常见的基本功能:API网关场景下的路由转发。 API网关路由需求 在API网关的需求场景中,我 ......
网关 路由 Kong API

Authentication to host '10.167.32.123' for user 'root' using method 'mysql_native_password' failed with message: Reading from the stream has failed

连接Mysql5.7以上的版本的数据库出现报错: C#连接远程连接mysql时,抛异常:Authentication to host '10.167.32.123' for user 'root' using method 'mysql_native_password' failed with me ......

文件系统考古 3:1994 - The SGI XFS Filesystem

在 1994 年,论文《[XFS 文件系统的可扩展性](http://www.scs.stanford.edu/nyu/02fa/sched/xfs.pdf)》发表了。自 1984 年以来,计算机的发展速度变得更快,存储容量也增加了。值得注意的是,在这个时期出现了更多配备多个 CPU 的计算机,并且 ......
Filesystem 文件 系统 1994 The

「解题报告」CF757G Can Bash Save the Day?

好好好。 求一个点到一个集合内点的距离和,这相当于在考虑若干条路径的长度,我们可以考虑使用点分治,建出点分树,这样每次查询时只需要对于这个点到根上的每个分治中心,找到所有经过这个中心的路径和即可。容易拆成每个点到分治中心的距离之和加上点数乘分治中心到查询点的距离,那么我们直接拿前缀和维护一下这个东西 ......
报告 757G Bash Save 757

JavaScript program to check if a given year is leap year Javascript判断是否是闰年

A year is leap year if following conditions are satisfied: Year is multiple of 400. Year is multiple of 4 and not multiple of 100. Approach: Get the v ......
闰年 year JavaScript Javascript program

IDEA : Cannot Save Setting ** must not contain source root **. The root already belongs to module **这类错误的解决方法

![](https://img2023.cnblogs.com/blog/3210904/202306/3210904-20230626092521794-1749976955.png) 今天突然碰到这个问题,具体原因是parant目录不能放src的code。 解决方法图片右侧的父project的S ......
root 错误 Setting contain already

CF321C Ciel the Commander 题解 点分治

题目链接:[http://codeforces.com/problemset/problem/321/C](http://codeforces.com/problemset/problem/321/C) 解题思路: 点分治模板题。 每次找到重心给他分配一个字符,分治往下走的时候分配的字符ASCII码 ......
题解 Commander 321C Ciel 321

does not appear to have any patterns in it. If you see the 'urlpatterns' variable with valid patterns in the file then the issue is probably caused by a circular import.

django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'first_app.urls' from 'D:\\project\\first_project\\first_app\\urls.py'>' do ......
patterns the urlpatterns circular probably

Invalid character found in the request target [/api/hsFile/download?filePath=E:\\%E4%B8%B4%E6%97%B6%E6%96%87%E4%BB%B6&fileName=aaaaa.xlsx]. The valid characters are defined in RFC 7230 and RFC 3986

java.lang.IllegalArgumentException: Invalid character found in the request target [/api/hsFile/download?filePath=E:\\%E4%B8%B4%E6%97%B6%E6%96%87%E4%BB ......
characters character RFC download filePath

CF1400E Clear the Multiset

CF1400E Clear the Multiset 一道经典简单的分治 由贪心可知,对于一段区间[L,R],一共有两种处理方式 1.一个一个减,次数为l-r+1 2.先区间减,直到最小的减没了,在考虑最小值隔开的两个区间。如果有多个最小值,其实也不影响,再往下分的时候一定会分开。区间答案就是 $m ......
Multiset 1400E Clear 1400 the

Course overview + the shell

虚拟机崩了,难受,不能即时玩……勉强试出来了几个Windows的指令,也还是蛮好玩的 但还是记一下linux的 date查看日期 echo打印,后可接$PATH打印所有路径 cd目录跳转 ..父目录 .子目录 ls显示文件 ls -l 显示文件的一些信息 mv 重命名 两个参数 cp 复制 两个参数 ......
overview Course shell the

Hack The Box-Starting Pointing-Redeemer

## 答案 1. 任务1:`6379` ![image](https://img2023.cnblogs.com/blog/1367845/202306/1367845-20230623221511350-1254846936.png) 2. 任务2:`redis` ![image](https:/ ......

QNX-9—QNX官网文档翻译—Programming Overview

注:翻译网址QNX Software Development Platform --> Programming --> Programmer's Guide --> Programming Overviewhttps://www.qnx.com/developers/docs/7.1/index.h ......
Programming QNX Overview 文档

-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system vari

系统是centos7.6 001、问题 -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system vari 002、解决方法 [root@PC1 cmake-3.27.0-rc3]# yum ......
OpenSSL the folder system Could

【redis已解决】Warning: no config file specified, using the default config. In order to specify a config

1.启动redis:双击redis-server.exe。 报错:Warning: no config file specified, using the default config. In order to specify a config file use F:\liuf\Redis3\red ......
config specified Warning default specify

Hack The Box-Starting Pointing-Dancing

## 答案 1. 任务1:`Server Message Block` ![image](https://img2023.cnblogs.com/blog/1367845/202306/1367845-20230622203421894-44586413.png) 2. 任务2:`445` ![im ......

Row size too large. The maximum row size for the used table type

> # 原文链接:https://blog.csdn.net/yyj108317/article/details/108756493 在一段自动创建mysql表的[sql语句](https://so.csdn.net/so/search?q=sql语句&spm=1001.2101.3001.7020 ......
size maximum large table used

「解题报告」CF1810G The Maximum Prefix

水篇题解。 最大值并不好考虑,我们尝试拆贡献,求最大值小于等于 $k$ 的概率,然后将概率差分一下即可得到恰好等于 $k$ 的概率,而最大值小于等于 $k$ 的概率是很容易通过一个 $O(n^2)$ DP 求出来的,但是这样我们还需要再枚举一个 $k$,复杂度 $O(n^3)$,难以接受。 那么我们 ......
Maximum 报告 Prefix 1810G 1810

解决:Volo.Abp.AbpInitializationException: An error occurred during ConfigureServices phase of the module Volo.Abp.Data.AbpDataModule, Volo.Abp.Data,

问题复现说明: 问题说明: 手动搭建AbpVnext框架,就搭了Web层,配置好WebModule和Program,运行就一直报:An error occurred during ConfigureServices phase of the module Volo.Abp.Data.AbpDataM ......

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:

001、问题 [liujiaxin01@PC1 ~]$ docker search omicsclass permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.s ......
permission connect denied Docker daemon

Hack The Box-Starting Point-Meow

## 环境准备 1. 注册 Hack The Box Lab账号 2. 安装Kali虚拟机 ## 入门 1. 连接到VPN 1.1 选择第一个, OpenVPN 1.2 点击“下载”按钮, 1.3 下载完成后,将文件复制到你的Kali中(位置你随意),这里我直接放在了桌面 ![image](http ......
Box-Starting Point-Meow Starting Point Hack

Hack The Box-Starting Point-Fawn

## 答案 1. 任务1: `File Transfer Protocol` ![image](https://img2023.cnblogs.com/blog/1367845/202306/1367845-20230622004311684-831580175.png) 2. 任务2:`21` ! ......
Box-Starting Point-Fawn Starting Point Hack

The final

The end T1 构造题 n/k为偶数很好构造,每组直接前面拿n/k/2个,后面拿n/k/2个 n/k为奇数需要想一想,首先可以把1~n分成n/k段,每段选一个放到一组里,按照以上方法处理n/k-3段,使每组各数之和相等。再来看前三段,可以把第三段提出来,用前1,2段构造一个等差数列。如何构造? ......
final The

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - 证书链是由不受信任的颁发机构颁发的。)

昨天搞了个测试接口,用postman请求测试,Https的协议,然后请求发出去,既没有报错,也没有返回数据库的数据,code倒是0,不是 100,那程序也没有报错,这就奇怪了,我就先监测数据库,发现请求并没有过来,我傻眼了,一些简单的代码还能出错吗?然后开后端调试,就发现了上面的这个提示,在请求的时 ......

What are the differences between in vivo and in vitro testing of drugs for toxicology Studies?

Toxicology is the science of studying the harmful effects of chemical, physical, biological, and other exogenous factors on biological systems. It can... ......

The content of element type “web-app“ must match 解决方法

# 报错原因 ‍ 问题描述 : 在创建 SpringMVC 时 , 选用 idea 的 webapp 模板来创建 , xml 配置文件中进行配置时发现提示警告 警告如下: ‍ ​![image](https://img2023.cnblogs.com/blog/2942345/202306/2942 ......
content element web-app 方法 match

GWAS:表型的标准化(the normalization of phenotype)

GWAS表型的标准化方法一般有Quantile normalization、Inverse rank normalization、Z-score normalization等。 各自区别如下: ## 一、Quantile normalization 该方法将每个样本中表型值进行排序,然后将其规范化到 ......
表型 normalization phenotype 标准 GWAS

CF1810G The Maximum Prefix

经典套路。 ## 题意 你将随机生成一个长度为 $k$ 的数组 $a$,其中 $a_i$ 有 $p_i$ 概率为 $1$,否则为 $-1$。定义其前缀和数组 $s_i = \sum\limits_{j = 1}^{i}a_j, i \in [0, k]$。如果前缀和数组的最大值为 $t(t \in ......
Maximum Prefix 1810G 1810 The

画出 sklearn 中支持向量机分类函数 SVC 的分类结果图(Draw the classification result graph of the svm classification function SVC in sklearn library)

在最近的学习中,看到代码中展示了如何画出支持向量机分类结果的决策面、最大间隙面和支持向量,即确定用支持向量机分类函数 SVC 进行分类后得到分类超平面和间隙面函数以及支持向量坐标的方法,分享给大家~ 1. 训练 svm 分类器 SVC 代码 1 from sklearn import svm 2 i ......
classification sklearn 向量 函数 SVC