spells types two of

Begin of Upload

wp 上传的文件后缀有要求 这个看出来是简单的客户端检测,直接用bp抓包改后缀即可 先将原来的.php改成.png上传再到bp改后缀名 放包直接蚁剑连接 根目录找到flag 正文 题目很简单,主要想分享一下过程中遇到的坑 要加http 就是连接蚁剑的时候网址需要加http不然会显示添加数据失败 添加 ......
Upload Begin of

Solution of 洛谷-P1896

并不会有更好的阅读体验 \(\text{Sol}\) 我们先看一眼数据范围: \(1 \le N \le 9\) 没关系,DFS 会出手。 好吧,正经的说,如果暴搜的话复杂度会涨到 \(\text O(2^{n^2})\),\(\text T\) 到飞起。 此时我们发现有个东西叫状压 \(\text ......
Solution 1896 of

[ARC124C] LCM of GCDs 题解

题面 给定 \(N\) 个正整数对 \((a_i, b_i)\) 和两个初始为空的集合 \(S, T\),你可以选择将每个数对的两个元素划分到两个不同的集合中。求 \[\max\operatorname{lcm}(\gcd\limits_{x \in S}x, \gcd\limits_{y \in ......
题解 124C GCDs ARC 124

连接正负极Connection of positive and negative poles

不要把物理公式看作数学公式,请也尊重自然的经验法则。 Don't see the physical formulas as mathematical formulas, please also respect the experience rules of nature. 连接正负极 Connect ......
正负 Connection negative positive poles

CS61A: Structure and Interpretation of Computer Programs 笔记

Functions Environment Diagrams:左侧为 Frames,右侧为 Objects。 Name 类似变量名,它们存储在 Frame 中,指向各种各样的 Objects,比如值或函数。一个 Name 同时只能指向一个 Object,但可以改变自身指向,不受“类型”影响(Name ......

ajax调用后台controller方法时报415 (Unsupported Media Type)错误

spring mvc 下,ajax调用后台controller方法时报415 (Unsupported Media Type)错误 错误:ajax的post方法调用后台controller方法时报错:415 (Unsupported Media Type)。下面是错误时的代码 前端:var url ......
Unsupported controller 后台 时报 错误

Docker|--E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

错误 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them ......
gnupg installed operation required Docker

Go - Live reload of configurations

main.go: package main import ( "encoding/json" "fmt" "log" "os" "time" "github.com/fsnotify/fsnotify" ) type config struct { Name string `json:"name"` ......
configurations reload Live Go of

nginx访问报错“maximum number of descriptors supported by select() is 1024 while connecting to upstream”问题的处理

1、问题背景 项目:一个人力的系统,主要用于考勤打卡 环境:windows server nginx版本:1.22 问题说明:当早上访问人数增加的时候,就会出现nginx的异常 nginx的后台报错日志: maximum number of descriptors supported by sele ......

[892] Change the background color of a table in a Word document

ref: python-docx Changing Table Cell Background Color. To change the background color of a table in a Word document using Python, you can use the pyth ......
background document Change color table

Shrine( Flask SSTI of config )

来自: [WesternCTF2018]shrine 打开是一段源码,这里贴一下: import flask import os app = flask.Flask(__name__) app.config['FLAG'] = os.environ.pop('FLAG') #注册了一个名字为FLAG ......
Shrine config Flask SSTI of

How to get the original size of an image using JavaScript All In One

How to get the original size of an image using JavaScript All In One 如何使用 JavaScript 获取一个图片像的原始大小 naturalWidth & naturalHeight aspect ratio / 纵横比 ......
JavaScript original image using size

爱数anybackup——控制台建立对应的ofs卷、重删卷、自备份卷、元数据卷

以admin登录系统,点击【存储】>【节点管理】>【配置】>【卷管理】 选择对应的【卷类型】 点击【+新建】 输入【卷名称】,选择【挂载路径】,输入【容量】,然后点击创建即可 ......
控制台 备份 anybackup 数据 ofs

Technocup 2022 - Elimination Round 2 Two Arrays

给定两个数组 \(a_1, a_2, \cdots, a_n\) 和 \(b_1, b_2, \cdots, b_n\) 。 定义 \(a\) 的一次操作: 选择任意一个非负整数 \(k(0 \leq k \leq n)\) 。 选择任意 \(k\) 个独立的下标 \(i_1 \leq i_2 \l ......
Elimination Technocup Arrays Round 2022

Knights of the Round Table

prologue 相信很多人都感觉这个题不就是求一下这个二分图的最大独立集嘛,有什么难的,(劈里啪啦、库里跨啦、叮里哐啷)好,不对,好好好,题解! analysis 这个题目实际上并不是一个完整的最大独立集问题,因为在这个题里面,是可以有相互仇恨的骑士的,只要不让他们二人坐成同桌就行。 那么我们就不 ......
Knights Round Table the of

How to fix TypeScript error: expression of type can't be used to index type All In One

How to fix TypeScript error: expression of type can't be used to index type All In One type guard ......
type TypeScript expression error index

Redis类型(Type)与编码(Encoding)

Redis是一款开源的高性能key-value数据库,广泛应用于各种场景。在Redis中, 数据类型(Type)和编码(Encoding) 是非常重要的概念。本篇博客将详细介绍Redis支持的数据类型以及相应的编码方式和底层实现原理。 ......
Encoding 编码 类型 Redis Type

CF1879D Sum of XOR Functions

异或和按位处理的典型例题。 要求所有子区间异或和乘区间长度的总和,朴素的方法是 \(O(n^2)\) 地枚举区间,显然无法通过。 因为涉及异或和,而异或运算不进位,故自然地想到把 \(a_i\) 写成二进制形式,单独研究每一位的贡献,最后再合并。这是处理此类问题的一般思路。 1. 二进制拆分 比方说 ......
Functions 1879D 1879 Sum XOR

[888] How to get the directory of the current Python file

To get the directory of the current Python file, you can use the os.path module in combination with the __file__ attribute. Here's how you can do it: ......
directory the current Python file

requests 响应头部转json时报错TypeError: Object of type CaseInsensitiveDict is not JSON serializable

前言 requests 响应头部在转json时,想格式化输出,结果报错TypeError: Object of type CaseInsensitiveDict is not JSON serializable 报错详情 示例代码 import requests import json # 上海悠悠 ......

ORA-04030: out of process memory when trying to allocate 27760032 bytes (qmxuParseXobWi,qmxsaxAllocMemInternal)

1.alter日志 2023-09-24T19:59:02.474578+08:00LOGMINER: Begin mining logfile for session -2147289087 thread 1 sequence 2185, +DATA/DB/ONLINELOG/redo05a.lo ......

Uncaught TypeError: Cannot read properties of undefined (reading 'form')问题的解决

问题描述 使用vue3执行数据添加操作时,发现了这个错误,使用测试按钮拿文本框数据,一直报错拿不到: 问题解决 原来是vue2在执行这个操作时: 里面放this.form; 而vue3在执行这个操作时, 里面放的却是:form ......

the solution of Mining Your Own Business

the description of problem (我看的是 PDF 里面的原题所以这里描述会和题目不一样,但是大意一致) 给定一个未必连通的无向图,问最少在几个点设置出口,可以保证任意一个点坍塌后,工人们仍然可以从出口逃生,同时问设置最少出口的方案数量。 thoughts & solution ......
solution Business Mining Your the

1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column

博客园 首页 新随笔 联系 管理 订阅 随笔- 111 文章- 1 评论- 3 阅读- 17万 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'i ......

ES报错:[parent] Data too large, data for [<http_request>] would be larger than limit of XXXX

ES报错:[parent] Data too large, data for [<http_request>] would be larger than limit of XXXX 当es这个错误的时候 :[parent] Data too large, data for [<http_reques ......
http_request request parent larger large

two-sat模板

P4782 【模板】2-SAT 问题 就是给关系进行连边,然后判断是否存在矛盾 输出方案的时候,就是在拓扑图上沿着反边走,但实际上tarjan求强连通分量已经排好序了 编号小的scc就是在拓扑序中排在后面的强连通分量 #include<cstdio> #include<algorithm> #inc ......
模板 two-sat two sat

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column

MySQL有any_value(field)函数,他主要的作用就是抑制ONLY_FULL_GROUP_BY值被拒绝 官方有介绍,地址:https://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html#function_any-v ......

[LeetCode] 1353. Maximum Number of Events That Can Be Attended 最多可以参加的会议数目

You are given an array of events where events[i] = [startDayi, endDayi]. Every event i starts at startDayi and ends at endDayi. You can attend an even ......
数目 LeetCode Attended Maximum 会议

Python 的 POC(Proof of Concept,概念验证)

Python 的 POC(Proof of Concept,概念验证) requests 当涉及到编写 Python 的 POC(Proof of Concept,概念验证)时,你可以按照以下步骤进行: 确认目标:明确你要验证的漏洞或要探测的系统。 寻找漏洞或系统的相关信息:查找关于该漏洞或系统的文 ......
概念 Concept Python Proof POC

## Could not find a working installation of Boost.

001、问题 002、解决方法 (base) [root@pc1 MaSuRCA-3.3.1]# yum -y install boost boost-devel (base) [root@pc1 MaSuRCA-3.3.1]# yum -y install gcc-c++.x86_64 gperf ......
installation working Could Boost find