首页 > 其他
超详细 DNS 协议解析
为了保证网址的正常访问,域名解析协议(DNS)其实在背后做出了很多努力,本文将透彻讲解 DNS 协议的原理,了解我们每天都在接触的网址到底是怎么工作的。 ...
分类:其他   时间:2021-02-13 08:35:46    收藏:0  评论:0  赞:0  阅读:19
电磁学8.磁场中的运动电荷
电子伏 假设有两个导体,都是等势体,导体A的电势为 \(V_A\) ,导体B的电势为 \(V_B\) ,\(V_A>V_B\) 。两个导体处于正空中,在导体A表面释放一个正电荷 \(+q\) ,在电场作用下电荷向B移动,电场分布异常复杂,但最终会到达B。 问题是:如果以初始速度为0释放,到达B时速度 ...
分类:其他   时间:2021-02-13 08:34:14    收藏:0  评论:0  赞:0  阅读:22
【2021Feb】可持久化数据结构泛做
【HEOI2013】Alo 老套路题了 维护一个双向链表,从 \(1\) 到 \(n\) 枚举当前值作为第二大的值,那么可控区间就是$[pre_,nxt_]$ 所以两边取一边即可 求异或最大值需要可持久化 \(trie\) 树,这个是 \(trivial\) 的 【Bzoj3321】Obserbin ...
分类:其他   时间:2021-02-13 08:34:03    收藏:0  评论:0  赞:0  阅读:20
Matplotlib设置中文
方法一:fontproperties 适用于Windows & Linux & Mac 主要用于给xlabel,ylabel,title设置中文 from matplotlib import pyplot as plt from matplotlib.font_manager import Font ...
分类:其他   时间:2021-02-13 08:33:39    收藏:0  评论:0  赞:0  阅读:26
剑指 Offer 58 - II. 左旋转字符串
题意 把字符串前面的若干个字符转移到字符串的尾部,要求只用一个函数实现 思路 利用线性代数中的矩阵求逆的思想:\((AB)^{-1} = B^{-1}A^{-1}\) 定义一个函数reverse(s, l, r),将字符串s的[l, r]区间内的元素逆置,比如abc变为cba,这个reverse() ...
分类:其他   时间:2021-02-13 08:32:47    收藏:0  评论:0  赞:0  阅读:22
把60转换成16进制
class VariableTest2 { public static void main(String[] args) { String str1=Integer.toBinaryString(60); String str2=Integer.toHexString(60); System.out ...
分类:其他   时间:2021-02-13 08:32:37    收藏:0  评论:0  赞:0  阅读:33
Apollo versus Pan(CF1466E)(位运算)
题意: 给定长度为 \(n\) 的序列 \(x\)。 求 \(\sum^{n}_{i=1} \sum^{n}_{j=1} \sum^{n}_{k=1} (x_{i}\ \& \ x_{j})\times (x_{j}\ |\ x_{k})\text{}\) 想法: 首先进行化简: . \(\sum^ ...
分类:其他   时间:2021-02-13 08:32:27    收藏:0  评论:0  赞:0  阅读:18
Docker 下Elasticsearch 的安装 和ik分词器
(1)docker镜像下载 docker pull elasticsearch:5.6.8 (2)安装es容器 docker run -di --name=changgou_elasticsearch -p 9200:9200 -p 9300:9300 elasticsearch:5.6.8 920 ...
分类:其他   时间:2021-02-13 08:31:52    收藏:0  评论:0  赞:0  阅读:24
Vue练习
###目录结构 ├── build // 构建相关 ├── config // 配置相关 ├── src // 源代码 │ ├── api // 所有请求 │ ├── assets // 主题 字体等静态资源 │ ├── components // 全局公用组件 │ ├── directive // ...
分类:其他   时间:2021-02-13 08:31:39    收藏:0  评论:0  赞:0  阅读:20
AWVS简单扫描
定义 网站即服务器漏洞扫描软件 特点 比Burp Suite综合性高 比APP Scan轻量 使用前提 确认目标没有特别的防护(对方右安全狗的时候,会拦截扫描器的动作) 且目标的通信网络相对较好,不会出现卡顿的现象 内功心法:技术深厚的人,能把小漏洞扩成大漏洞 ...
分类:其他   时间:2021-02-13 08:31:26    收藏:0  评论:0  赞:0  阅读:22
2020 BIT冬训-贪心 K - USB vs. PS/2 CodeForces - 762B
Problem Description Due to the increase in the number of students of Berland State University it was decided to equip a new computer room. You were gi ...
分类:其他   时间:2021-02-13 08:31:04    收藏:0  评论:0  赞:0  阅读:23
instanceof和类型转换
instanceof 判断对象类型是不是父子关系 public class Person { } public class Student extends Person { } public class Teacher extends Person { } public class Applicat ...
分类:其他   时间:2021-02-13 08:30:37    收藏:0  评论:0  赞:0  阅读:26
Vue2.x Methods of use v-for
Introduction: It's a paper to reorganize the knowledge of List Rendering in Vue official guide. So a lot of content is from the Vue Official guide. Th ...
分类:其他   时间:2021-02-13 08:29:37    收藏:0  评论:0  赞:0  阅读:25
markdown语法学习
markdown语法学习 标题 #空格 二级标题 ##空格 三级标题至六级标题#依次增加 字体 Hello World 粗体:在字体两边加** Hello World 斜体:在字体两边加* Hello World 粗体加斜体:在字体两边加*** Hello World 删除线:在字体两边加~~ 引用 ...
分类:其他   时间:2021-02-13 08:29:19    收藏:0  评论:0  赞:0  阅读:27
style\parser.cpp
src\mbgl\style\parser.cpp Parser::parseLayer(const std::string& id, const JSValue& value, std::unique_ptr<Layer>& layer) src\mbgl\style\conversion\lay ...
分类:其他   时间:2021-02-13 08:29:09    收藏:0  评论:0  赞:0  阅读:29
SSM配置文件
database.properties jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/ssmbuild?useSSL=true&useUnicode=true&characterEncoding=utf- ...
分类:其他   时间:2021-02-13 08:28:56    收藏:0  评论:0  赞:0  阅读:21
递归求获胜者分数(范围)
1.PHP实现 //范围上尝试的模型//给定一个整型数组arr,代表数值不同的纸牌排成一条线, //玩家A和玩家B依次拿走每张纸牌,规定玩家A先拿,玩家B后拿 //但是每个玩家每次只能拿走最左或最右的纸牌,玩家A和玩家B //都绝顶聪明。请返回最后获胜者的分数。 //先手,拿到最大的牌 functi ...
分类:其他   时间:2021-02-13 08:28:43    收藏:0  评论:0  赞:0  阅读:35
vue 递归组件的两种方法
app.vue <template> <div> <list :data="data"></list> <hr/> <render :data="data"></render> </div> </template> <script> import list from "./list.vue"; im ...
分类:其他   时间:2021-02-12 08:18:03    收藏:0  评论:0  赞:0  阅读:85
StatefulSet删除
1.分类 级联删除: 删除StatefulSet时同时删除pod 非级联删除: 删除StatefulSet时不删除pod 2.级联删除 [root@k8s-master01 ~]# kubectl get pod NAME READY STATUS RESTARTS AGE nginx-6cdd5d ...
分类:其他   时间:2021-02-12 08:17:50    收藏:0  评论:0  赞:0  阅读:41
LG P7324 [WC2021] 表达式求值
Description 定义二元操作符 $<$:对于两个长度都为 $n$ 的数组 $A,B$(下标从 $1$ 到 $n$),$A<B$ 的结果也是一个长度为 $n$ 的数组,记为 $C$。则有 $C[i] = \min(A[i], B[i])(1 \le i \le n)$。 定义二元操作符 $>$ ...
分类:其他   时间:2021-02-12 08:17:41    收藏:0  评论:0  赞:0  阅读:47
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!