环境搭建 题目环境:https://github.com/crumbledwall/CTFChallenges/tree/main/D3CTF2021/8-bit_pub 需要更改下邮件配置 接着docker启动即可 题目复现 访问题目,注册登陆后发现存在着admin的功能并且访问不了,目的很明确, ...
分类:
其他好文 时间:
2021-03-29 11:36:14
阅读次数:
0
Description:Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to t ...
分类:
其他好文 时间:
2021-03-18 14:37:13
阅读次数:
0
题目链接:http://poj.org/problem?id=2255 递归经典习题。具体见代码: #include <iostream> #include <cstring> using namespace std; char a[111], b[111]; void dfs(int L1, in ...
分类:
其他好文 时间:
2021-03-18 14:30:29
阅读次数:
0
在新的springboot项目中,如果在mybatis中使用了ehcache后,再第二次使用ehcache,会提示错误 Another CacheManager with same name 'default' already exists in the same VM. Please provid ...
分类:
编程语言 时间:
2021-03-18 13:59:58
阅读次数:
0
下载Jenkins Control Plugin 地址 Intellij中设置Jenkins 其中Crumb Data请求方式为:http://URL/crumbIssuer/api/json?tree=crumb.返回中即包含指定数据,如: { "_class": "org.jenkinsci.p ...
分类:
其他好文 时间:
2021-03-16 14:02:35
阅读次数:
0
zsh + oh my zsh 使用 切换bash 切换bash chsh -s /bin/bash 切换zsh chsh -s /bin/zsh 安装 oh my zsh ! 插件地址 https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins 主 ...
分类:
其他好文 时间:
2021-03-16 13:54:23
阅读次数:
0
效果图: 实现代码:js:view的类型原来1个js给拆分成了4个: view, controller, renderer, model 1、view:AbstractView的子类,这是工厂类:类需要解析 arch字段并设置其它3个类 2、Renderer :渲染器,来自 AbstractRend ...
分类:
其他好文 时间:
2021-03-16 13:41:17
阅读次数:
0
static/js/xxxx.js 这里定义按钮odoo.define('add.tree.view.buttons', function (require) { "use strict"; var core = require('web.core'); var ListController = r ...
分类:
其他好文 时间:
2021-03-16 13:30:43
阅读次数:
0
红黑树 相关概念 1 rb_tree 是一种高度平衡的搜索二叉树,其元素排列的规则有利于 search 和 insert,并同时保持适度的平衡。 2 rb_tree 提供遍历操作以及 iterator。元素放入后有一定的排列规则,按正常规则(++ iter)迭代器遍历时为输出为排序状态(sorted ...
分类:
其他好文 时间:
2021-03-16 13:19:30
阅读次数:
0
#111. 二叉树的最小深度 https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/ 关键在于知道f(root)=min(f(left),f(right))+1这个表达式 class Solution { public: int ...
分类:
其他好文 时间:
2021-03-16 12:04:09
阅读次数:
0