third 032f agc one
图解各种流行的网络协议 All In One
图解各种流行的网络协议 All In One Network protocols are standard methods of transferring data between two computers in a network. HTTP (HyperText Transfer Protoc ......
AGC049D Convex Sequence 题解
题意 若非负数列 \(A\) 中任意 \(i(2 \leq i \leq N-1)\) ,都有 \(2A_i \leq A_{i-1} + A_{i+1}\),则称 \(A\) 为凸数列。 问长为 \(N\) ,且数列中所有项的和为 \(M\) 的凸数列有多少个,答案对 \(10^9+7\) 取模。 ......
MongoDB playground All In One
MongoDB playground All In One
MongoDB REPL
Node.js
aggregate
......
How to get Postman API request code All In One
How to get Postman API request code All In One
Postman can convert an API request into a code snippet, and you can choose the programming language or ... ......
AT_agc019_b 题解
洛谷链接&Atcoder 链接。 题目简述 给定一个字符串 \(A\),可以选择区间 \([i,j]\) 翻转一次,求能得到多少本质不同的字符串。(\(A\) 的长度不超过 \(2 \times 10^5\))。 思路 首先解释本质不同的含义,即不完全相等的两个字符串(可能 \(A\) 是 \(B\ ......
[AGC007B] Construct Sequences
[AGC007B] Construct Sequences [AGC007B] Construct Sequences 先满足 \(a\) 单增,\(b\) 单减,构造一个 \(a = \{ N, 2N, \dots, nN \}\),\(b = \{ nN, \dots, 2N, 1N \}\), ......
Snapshot appears to have been created more than one day into the future!
Snapshot appears to have been created more than one day into the future! Raspberry PI 4b上安装freebsd13.2 aarch系统后,使用ssh链接,输入portsnap fetch extract命令,提示: ......
Web3.js All In One
Web3.js All In One Web3 Web3.js A JavaScript library for building on Ethereum Comprehensive. Everything you need to start interacting with the Ethereu ......
[AGC012E] Camel and Oases
Camel and Oases 不难发现对于某个 V,一个点扩展出去的一段区间内所有点的区间相同。 故对于 v,\(\lfloor \frac{v}{2}\rfloor\),\(\lfloor\frac{\lfloor \frac{v}{2}\rfloor}{2}\rfloor\)...1,预处理 ......
How to add a string that contains whitespace to array in shell script All In One
How to add a string that contains whitespace to array in shell script All In One
......
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 ......
Congratulations to Google on its 25th birthday All In One
Congratulations to Google on its 25th birthday All In One
祝贺 Google 25 周岁生日 All In One
......
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 / 纵横比
......
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
......
AGC049D Convex Sequence 题解
题意 若非负数列 \(A\) 中任意 \(i(2 \leq i \leq N-1)\) ,都有 \(2A_i \leq A_{i-1} + A_{i+1}\),则称 \(A\) 为凸数列。 问长为 \(N\) ,且数列中所有项的和为 \(M\) 的凸数列有多少个,答案对 \(10^9+7\) 取模。 ......
[论文阅读] Anomaly detection via reverse distillation from one-class embedding
Anomaly detection via reverse distillation from one-class embedding Introduction 在知识蒸馏(KD)中,知识是在教师-学生(T-S)对中传递的。在无监督异常检测的背景下,由于学生在训练过程中只接触到正常样本,所以当查询是 ......
[AGC024E] Sequence Growing Hard
Sequence Growing Hard 不难发现设合法的条件为第 k 位后,需满足 \(k\in[1,n)\)\(A_{i,k+1}\leq A_{i+1,k}\) 或 k=n。 对于连续相等的一段,在任意位置放得到的 A_{i+1} 相同需去重。 以上两种方式体现为,在末尾放 x,放一段不降序 ......
Linux shell script if condition control flow methods All In One
Linux shell script if condition control flow methods All In One
if...then...fi / if...then...else..fi / if...then...elif...then...fi
......
Tesla Bot All In One
Tesla Bot All In One
特斯拉机器人
创建一个通用、双足、自主人形机器人,能够执行不安全、重复或无聊的任务。
......
Linux $PS1 and zsh All In One
Linux $PS1 and zsh All In One
macOS 自定义命令行提示符
......
MongoDB and mongoose All In One
MongoDB and mongoose All In One
Node.js
......
All-in-One(二):硬件直通
# 简介 硬件直通简单来说就是让虚拟机直接使用物理机的硬件资源,例如网卡、显卡等。 # 配置 ## 手动启用 IOMMU 打开 PVE 的 shell 执行以下命令: ```shell # 编辑grub文件 nano /etc/default/grub # 修改GRUB_CMDLINE_LINUX_ ......
All-in-One(三):Openwrt
# 简介 **OpenWrt **是适用于嵌入式设备的一个 Linux 发行版。相对原厂固件而言,OpenWr t不是一个单一、静态的固件,而是提供了一个可添加软件包的可写的文件系统。这使用户可以自由的选择应用程序和配置,而不必受设备提供商的限制,并且可以使用一些适合某方面应用的软件包来定制你的设备 ......
All-in-One(一):PVE
# 简介 **Proxmox Virtual Environment**(简称:**Proxmox VE**、**PVE**),是一个开源的服务器虚拟化环境 Linux 发行版。Proxmox VE 基于 Debian,使用基于 Ubuntu 的定制内核,包含安装程序、网页控制台和命令行工具,并且向 ......
All-in-One(五):Ipv6暴露公网
# 简介 **网际协议第6版**(英语:**I**nternet **P**rotocol **v**ersion **6**,缩写:**IPv6**)是网际协议的最新版本,用作互联网的协议。用它来取代 IPv4 主要是为了解决IPv4地址枯竭问题,同时它也在其他方面对于 IPv4 有许多改进。 # ......
How to install a command once for all login users in Linux All In One
How to install a command once for all login users in Linux All In One
/etc/profile & /etc/profile.d/
......
[AGC030D] Inversion Sum
Problem StatementYou are given an integer sequence of length $N$: $A_1,A_2,...,A_N$. Let us perform $Q$ operations in order. The $i$-th operation is d ......
How to use a shell script to check whether a command had been installed in the Linux server All In One
How to use a shell script to check whether a command had been installed in the Linux server All In One
shell script error [: :需要整数表达式 / [: -eq:需要一元表达... ......