# import configparser # # config = configparser.ConfigParser() #config = {} # config['DEFAULT'] = {'ServerAliveInterval':'45', # 'Compression':'yes', ... ...
分类:
其他好文 时间:
2018-04-21 14:22:30
阅读次数:
149
Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. Exampl ...
分类:
其他好文 时间:
2018-04-20 17:56:11
阅读次数:
140
1 阿里巴巴的druid数据源 <!-- 配置数据源 使用的是Druid数据源 -->-<bean destroy-method="close" init-method="init" class="com.alibaba.druid.pool.DruidDataSource" name="dataS ...
分类:
编程语言 时间:
2018-04-20 16:03:32
阅读次数:
208
Apache软件基金会 Apache软件基金会 顶级项目 ? ActiveMQ ? Ant ? Apache HTTP Server ? APR ? Beehive ? Camel ? Cassandra ? Cayenne ? Cocoon ? Commons ? Derby ? Director ...
分类:
Web程序 时间:
2018-04-20 10:56:26
阅读次数:
230
pip是一款非常方便的python包管理工具,本文主要介绍在windows 10下安装pip方法。 1. 下载pip 地址:https://pypi.python.org/pypi/pip#downloads 注意选择tar.gz压缩包,目前最新版本为9.0.1,这里选择的版本是:pip-9.0.1 ...
20165226 2017 2018 4 《Java程序设计》第8周学习总结 教材学习内容总结 第十二章 创建线程的方式有三种,分别是: 继承Thread类创建线程,程序中如果想要获取当前线程对象可以使用方法: ;如果想要返回线程的名称,则可以使用方法: ; 实现Runnable接口创建线程 使用C ...
分类:
编程语言 时间:
2018-04-19 21:56:49
阅读次数:
229
初始化参数:(init-param) 初始化参数写在web.xml文件中:(写在<servlet>标签内部) 一个Servlet在执行构造函数时,只是实例化了一个普通的对象,要想变成真正的Servlet,需要两样东西 :ServletConfig、ServletContext。 Web容器(Tomc ...
分类:
Web程序 时间:
2018-04-19 21:52:43
阅读次数:
238
关于find命令的用法: 1.首先熟知三个time: atime:文件被访问/读取时更新的时间 ctime:文件属性或权限被更改时更新的时间 mtime:文件内容被修改时更新的时间 关于这三个时间,mtime被更新时,ctime一定会被更新;这是因为mtime被更新时,元数据一定会发生变化,大小也会 ...
分类:
其他好文 时间:
2018-04-18 21:20:19
阅读次数:
151
man help 查看帮助 命令 -help 查看某个命令的帮助信息 find / -name “文件名” 查找文件所在的地址 (文件名前后可加*,表示文件名前后可有其他字符串) find / -size +10M | xargs ls -lh 将查询到的文件全部显示大小 xargs df 查看磁盘 ...
分类:
系统相关 时间:
2018-04-18 15:18:38
阅读次数:
224
题目 Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your functio ...
分类:
其他好文 时间:
2018-04-18 11:40:52
阅读次数:
164