1 下载tar包,这里使用wget从官网下载(注:下载地址随时可能有变动,wget命令默认下载目录为当前所在文件夹) wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22-linux-glibc2.12-x86_64.tar. ...
分类:
数据库 时间:
2019-01-05 16:39:29
阅读次数:
270
1、错误描述 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start comp ...
分类:
编程语言 时间:
2019-01-04 18:42:40
阅读次数:
167
Description 给一棵树,每条边有权.求一条简单路径,权值和等于K,且边的数量最小.N include include include include define Fi first define Se second define MK make_pair define inf 0x7f7f ...
分类:
其他好文 时间:
2019-01-03 12:53:29
阅读次数:
186
目录 使用的第三方库 添加的引用 适用场景 举例说明 小结 阐述 litJson作为优秀的第三方库,是解析Json很好的工具。 使用的第三方库 添加using指令集 适用情景 解析Json字符串 解析本地Json文件 解析Json接口Api,解析带签名的Json接口 举例子说明 解析Json接口Ap ...
分类:
Web程序 时间:
2019-01-02 19:21:19
阅读次数:
204
//1.取被复制的文件夹的名字;//2.写出新的文件夹的名字;//3.调用此函数,将旧、新文件夹名字作为参数传递;//4.如需复制文件夹内的文件,第三个参数传1,否则传0; public function xCopy($source, $destination, $child = 1){//用法: ... ...
分类:
Web程序 时间:
2019-01-02 12:25:56
阅读次数:
192
什么是继承 继承是一种创建新类的方式,是一种什么是什么的关系,继承的功能之一就是解决代码重用的问题,继承是一种创建新类的方式,在python 中,新建的一个类可以继承一个或者多个父类,父类由可以成为基类或者超类,新建的类称为派生类或子类。 继承的分类 继承可以分为 单继承和多继承,Python 2 ...
分类:
编程语言 时间:
2019-01-01 18:54:49
阅读次数:
261
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only ...
分类:
其他好文 时间:
2018-12-31 10:25:06
阅读次数:
143
1 #include 2 using namespace std; 3 4 typedef struct node 5 { 6 char data; 7 struct node *lchild; 8 struct node *rchild; 9 }BiTreeNode,*BiTree; 10 11 ... ...
分类:
其他好文 时间:
2018-12-31 00:32:29
阅读次数:
170
以下所描述的这些可覆写的函数,能够应用于节点: GDScript func _enter_tree(): # When the node enters the _Scene Tree_, it becomes active # and this function is called. Childre ...
分类:
其他好文 时间:
2018-12-30 19:00:35
阅读次数:
211
一、线程状态与生命周期 二、阻塞状态 如果一个线程执行了sleep(睡眠)、suspend(挂起)等方法,失去所占用资源之后,该线程就从运行状态进入阻塞状态。在睡眠时间已到或获得设备资源后可以重新进入就绪状态。可以分为三种: 等待阻塞:运行状态中的线程执行 wait() 方法,使线程进入到等待阻塞状 ...
分类:
编程语言 时间:
2018-12-30 02:42:03
阅读次数:
188