http what 39

在wsl中运行'./Allrun.sh'时报错:$'\r': command not found

在Windows下编写好sh文件后,在Linux下或者wsl中运行会报错: line 2: $'\r': command not found 这是因为Windows系统的文件换行使用的是 \r\n ,而Unix系统是\n 问题解决: dos2unix Allrun.sh dos2unix是将Wind ......
39 时报 command Allrun found

关于Lua中的HTTP状态码以及Log等常量对照表

一. HTTP Status 1xx ngx.HTTP_CONTINUE (100) (first added in the v0.9.20 release) ngx.HTTP_SWITCHING_PROTOCOLS (101) (first added in the v0.9.20 release ......
常量 对照表 状态 HTTP Lua

Ubuntu更新源文件报错:E: 仓库 “http://ppa.launchpad.net/chris-lea/node.js/ubuntu bionic Release” 没有 Release 文件。

E: 仓库 “http://ppa.launchpad.net/chris-lea/node.js/ubuntu bionic Release” 没有 Release 文件。 一条命令解决 sudo add-apt-repository --remove ppa:chris-lea/node.js ......
Release 源文件 仓库 chris-lea launchpad

I don't chase i attract

I don't chase i attract This transcript was generated automatically. Its accuracy may vary. Here I go again, analyzing another corny quote. Another on ......
attract chase don 39

刷机 pixel3 xl 报错,remote: 'Could not open super partition'解决。

问题一:Partition should be flashed in fastbootd FAILED (remote: Partition should be flashed in fastbootd) 解决: 升级到fastboot version 34.0.5-10900879版本后发现可以使 ......
partition pixel3 remote pixel Could

记录一次 maven 子模块相互依赖导致的父模块无法动态升级的问题 'parent.relativePath' points at wrong local POM

项目里面使用的commons公共模块,每次更改后之前都不会升级其版本号,导致当commons改动后,其他服务在不知道的情况下,会出现文件缺失。由于之前commons下面有12个公共子模块,所以之前一直没有升级commons模块。为了方便,于是决定每次更改commons模块后让所有的子项目都跟着升级。 ......
模块 relativePath 动态 parent points

"Cannot read property 'length' of undefined"报错处理

数据绑定在刚开始只是和内存建立联系,并没有真正的和后台的数据挂上钩,所以一开始的res.data只是一个空值,必须在之前加个if判断,确保有值以后再开始计算length。 if(res.data){ this.num = res.data.length; } 这样就不会在控制台显示报错了。 ......
quot undefined property Cannot length

./SNeP_111: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./SNeP_111)

001、软件报错如下: 002、系统 (base) [root@pc1 software]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 003、查看glibc版本 (base) [root@pc1 software]# ......
SNeP 111 required version GLIBC

HTTP Error 500.19 - Internal Server Error Error Code 0x80070003

最近因为core项目报错解决不了重新装了系统、重新下了VS后原来的项目打开会报这个错误,明明之前好好的,不知道怎么回事就这样了,找了这个路径确实不存在 解决方法:每个项目下面都有一个.vs的文件夹,将这个文件夹删了重新运行就可以了。 注:.vs文件夹是个隐藏文件夹,另外不用担心删了会出错,运行项目时 ......
Error 0x80070003 x80070003 80070003 Internal

Makefile - What is a Makefile and how does it work?

If you want to run or update a task when certain files are updated, the make utility can come in handy. The make utility requires a file, Makefile (or ......
Makefile What does work and

The 'China Solution' in Nigeria

Nigeria, The northern region of Nigeria, particularly the Sahel region, is experiencing severe desertification due to factors such as deforestation, o ......
Solution Nigeria China 39 The

【pwn】[FSCTF 2023]What am I thinking? --pwntools工具的利用

这道题没给附件,直接就是nc 这个题目的意思是,我们随机输入一个数,然后发给我们一段base64加密后的密文,真正num就在里面,我们现在写个pwntools脚本提取一下这段base64密文,解密一下,看看是什么东西 exp: io=remote("node4.anna.nssctf.cn",280 ......
thinking pwntools 工具 FSCTF 2023

nginx 配置 http3 (quic 协议基于UDP)

文档说明: 只记录关键的地方; 发文时间: 2023-11-19 意义: 体验 http3 要求: nginx 版本大于等于 1.25 关键点 1、允许 443 端口接收 UDP 数据包 2、nginx config 配置选项位于 server 域 3、 在所有的 server 域中,只需要有一个 ......
nginx http3 http quic UDP

罗德里格旋转公式(Rodrigues' rotation formula)

https://zhuanlan.zhihu.com/p/115276808 ......
公式 Rodrigues rotation formula 39

No libraries found for 'tk.mybatis.mapper.common.Mapper'

1,无法导入tk.mybatis.mapper.common.Mapper 2.Mapper报错No libraries found for 'tk.mybatis.mapper.common.Mapper' 解决方法如下(添加通用mybatis这个依赖) 1.在pom.xml中添加tk.mybat ......
libraries mybatis Mapper common mapper

T399742 Ting'er loves traveling 题解

Link T399742 Ting'er loves traveling Question 给出一个图,使得 \(1\) 到 \(N\) 的路径上的最大值最小 Solution 看到最大值最小想到二分,二分最大值 \(top\) 然后去 check 验证能不能从 \(1\) 走到 \(N\) Cod ......
题解 traveling T399742 399742 loves

前端页面部署之后刷新页面之后出现HTTP 错误 404.0 - Not Found错误问题解决

前端页面部署能正常访问,但是一旦刷新页面就报如下错误:404.0 - Not Found 解决办法:下载IIS URL重写模版,并安装。下面为安装地址: URL Rewrite : The Official Microsoft IIS Site 安装之后IIS中出现如下IIS重写模块: 点击进去添加 ......
错误 页面 前端 问题 404.0

mysql数据库ERROR 1193 (HY000): Unknown system variable 'validate_password_policy'问题处理

一、概况 平时我们安装完数据库,需要进行对应的密码或者密码策略修改,此时需要mysql的密码验证插件。MySQL可能没有这个插件,就需要进行相应的处理。 二、问题描述 mysql> set global validate_password_policy=0;ERROR 1193 (HY000): U ......

Can't locate Devel/Size.pm in @INC (you may need to install the Devel::Size module)

001、perl 模块报错如下:Can't locate Devel/Size.pm in @INC (you may need to install the Devel::Size module) 002、解决方法: 安装该模块 (base) [b20223040323@admin1 003_an ......
Devel Size install locate module

T399751 Liangle's Rose Problem(亮亮的玫瑰问题)题解

Link T399751 Liangle's Rose Problem(亮亮的玫瑰问题) Question 给出一个数组 \(a\) ,有 \(Q\) 次询问,每次询问 \([L,R]\) 种随便挑选几个连续的 \(a_i\) 使得,他们几个的或的值最大 Solution 考虑贪心,如果把负数视为 ......
题解 玫瑰 T399751 Liangle Problem

No libraries found for 'javax.persistence.GeneratedValue'

maven添加 <dependency> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> <version>1.0.2</version> </dependency> ......

什么是 HTTP 响应字段里的 Referrer Policy

如下图所示,我在 HTTP 请求的响应头部里看到 Referrer Policy 字段为 strict-origin-when-cross-origin, 这个字段的含义如下。 HTTP 头部中的 Referrer Policy 字段用于定义浏览器在跨站请求时应如何处理 HTTP Referer 头 ......
字段 Referrer Policy HTTP

HTTP 响应字段 strict-origin-when-cross-origin 的含义介绍

Referrer Policy 是一个 HTTP 响应头部字段,用于控制浏览器在发送跳转请求时,将当前页面的 URL 信息如何包含在 Referer 首部字段中。Referrer Policy 的值可以设置为不同的策略,其中 "strict-origin-when-cross-origin" 是一种 ......

Core 6.0 webapi ‘报错InvalidOperationException:无法解析“ Microsoft.AspNetCore.Http.IHttpContextAccessor”类型的服务’

因接口版本升级 并使用core 6.0 却发现HttpContext.Current.Request 用不了 所以在网上找了半天 说是使用Microsoft.AspNetCore.Http.IHttpContextAccessor private IHttpContextAccessor _http ......

HTTP 响应字段 Transfer-Encoding 赋值成 chunked 的作用介绍

Transfer-Encoding: chunked 是 HTTP/1.1 协议中定义的一种数据传输方式。在 HTTP/1.1 之前,HTTP 协议的响应数据通常是一次性发送的,也就是说,服务器必须把所有的响应数据准备好后,一次性发送给客户端。这种方式的缺点是,如果响应数据很大,或者数据的产生需要花 ......

Xcode building for iOS Simulator, but linking in an object file built for iOS, for architecture 'arm64'

https://stackoverflow.com/questions/63607158/xcode-building-for-ios-simulator-but-linking-in-an-object-file-built-for-ios-f 改项目配置 EXCLUDED_ARCHS[sdk=i ......
for architecture Simulator iOS building

39.类属性

类对象与实例对象不同,可以理解为实例对象是由类对象复制而来,每个实例对象之间具有数据独立性。而类对象在程序运行过程中,只有一个。 既然是对象,那么就可以拥有自己的属性,在类中定属性时,属性名有self前缀的是实例属性,而在类中直接定义的属性即为类属性。 # 定义一个饮水机类class WaterDi ......
属性 39

pip生成与安装项目依赖包---提示:No such file or directory: 'requirement.txt'

错误的原因:安装项目依赖包的文件命令: pip install -r requirement.txt 问题:ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirement.txt' ......
requirement directory 项目 file 39

UVA 11178 Morley's Theorem 题解

计算几何 Link UVA 11178 Morley's Theorem Question Morley 定理是这样的,作三角形 ABC 每个内角的三等分线,相交成三角形 DEF,则 DEF 是等边三角形 给出 \(A,B,C\) 坐标,求 \(D,E,F\) 坐标 Solution 其实是一道计算 ......
题解 Theorem Morley 11178 UVA

出现UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 2: invalid start byt解决办法

直接在代码第一行写下这段代码 # -*- coding: utf-8 -*- 为什么这个有注释符号还是可以起作用? 在 Python 中,`# -*- coding: utf-8 -*-` 这行代码并不是注释,而是一个特殊的声明,称为“编码声明”(encoding declaration)。它告诉 ......