spring DefaultListableBeanFactory 实现了基本的IOC容器 一 查看spring BeanFactory接口源码。 1 String FACTORY_BEAN_PREFIX = "&"; //定义工厂bean的名字前缀为“&”; 2 Object getBean(St ...
分类:
其他好文 时间:
2020-04-25 23:10:18
阅读次数:
59
while (live){ # nature # -animal # Divinity # -love # Target # Find the essence # Use the brain # Use the eyes # Use hands # Use hearing # Use touch # ...
分类:
其他好文 时间:
2020-04-25 22:03:01
阅读次数:
68
写在前边 这只是解题套路的汇总文,相关的知识点后续填坑(下次一定) 所有环境在BUUCTF上可复现 1.Exec 访问看到这样页面。想到命令注入,输入 127.0.0.1; 无报错回显,说明无WAF,直接用截断符号配合普通命令 127.0.0.1;cat flag.txt 2.BackupFile ...
分类:
Web程序 时间:
2020-04-25 17:24:22
阅读次数:
135
from selenium import webdriver from selenium.webdriver.chrome.options import Options # => 引入Chrome的配置 import time # 配置 ch_options = Options() ch_optio ...
分类:
其他好文 时间:
2020-04-25 17:13:43
阅读次数:
118
# Set the minimum version of CMake that can be used # To find the cmake version run # $ cmake --version cmake_minimum_required(VERSION 3.5) # Set the ...
分类:
其他好文 时间:
2020-04-25 13:10:15
阅读次数:
81
# Set the minimum version of CMake that can be used # To find the cmake version run # $ cmake --version cmake_minimum_required(VERSION 3.5) # Set the ...
分类:
其他好文 时间:
2020-04-25 12:37:02
阅读次数:
55
查看执行计划 db.find(query).explain() “cursor”:“BasicCursor” --说明没有索引 “nscannedObjects”:1000 --理论上要扫描的行数 “cursor”: “BasicCursor sn_1” --用到了btree索引 2. 查看索引 d ...
分类:
数据库 时间:
2020-04-25 11:04:04
阅读次数:
69
并查集模版(Java) 初始化,找集合老大,合并集合 public class UnionFind { public int[] parent; public int n,m,sum; //开始时每个集合只有自己,所以集合老大也是自己 public void Init() { for(int i = ...
分类:
编程语言 时间:
2020-04-25 01:15:27
阅读次数:
81
运行gradle 的assembleDebug或者assembleRelease 如果出现 { CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is ...
分类:
移动开发 时间:
2020-04-25 00:47:00
阅读次数:
135
(1)大多数算法都定义在头文件algorithm中。标准库还在头文件numeric中定义了一组数值泛型算法。 1 int ia[] = { 27, 23, 45, 56 }; 2 int val = 56; 3 int* result = find(begin(ia), end(ia), val); ...
分类:
编程语言 时间:
2020-04-24 18:43:38
阅读次数:
73