Linux的SELinux安全性控制除作用于文件系统外还作用于端口,这使得那些作为服务启动的进程只能在规定的几个端口上监听。为叙述方便我们称之为受控端口。nginx监听端口要查看当前有哪些受控端口可执行:# semanage port -l | grep '^http_port_t'http_por...
分类:
其他 时间:
2016-01-07 16:20:10
收藏:
0 评论:
0 赞:
0 阅读:
343
分类:
其他 时间:
2016-01-07 16:20:00
收藏:
0 评论:
0 赞:
0 阅读:
142
配置文件格式如下:引入了读取Excel格式xlsx格式的第三方库xlrd(xlrd-0.9.3.tar.gz)具体Python代码如下:# -*- coding: utf-8 -*-# ---------------------------------------------------------...
分类:
其他 时间:
2016-01-07 16:19:30
收藏:
0 评论:
0 赞:
0 阅读:
229
0) 创建类,编写方法类1) 在方法点击鼠标右键,在运行测试(T)和调试测试(D)之间会有一个 选项.有则进入2,没有则看1.01.0) 菜单栏 工具-->自定义-->命令-->上下文菜单-->编辑器上下文菜单|代码窗口-->里面找到创建单元测试(C)并拉到运行测试和调试测试之间1.1) 关闭重启v...
分类:
其他 时间:
2016-01-07 16:19:20
收藏:
0 评论:
0 赞:
0 阅读:
196
I see this only in Chrome.The full error message reads:"org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other el...
分类:
其他 时间:
2016-01-07 16:18:40
收藏:
0 评论:
0 赞:
0 阅读:
1486
1 public static List getContentByList(String wholeString,Integer cutcount){ 2 3 List list = new ArrayList(); 4 5 i...
分类:
其他 时间:
2016-01-07 16:17:40
收藏:
0 评论:
0 赞:
0 阅读:
151
bigint从 -2^63 (-9223372036854775808) 到 2^63-1 (9223372036854775807) 的整型数据(所有数字)。存储大小为 8 个字节。int从 -2^31 (-2,147,483,648) 到 2^31 - 1 (2,147,483,647) 的整型...
分类:
其他 时间:
2016-01-07 16:17:01
收藏:
0 评论:
0 赞:
0 阅读:
262
I.Pinball,1973 1.Every once in a while,things that happened just the day before would seem as far off as the year before, or things from the previous....
分类:
其他 时间:
2016-01-07 16:16:50
收藏:
0 评论:
0 赞:
0 阅读:
159
一张矩形的图片,怎样得到圆形的头像效果?
分类:
其他 时间:
2016-01-07 16:16:00
收藏:
0 评论:
0 赞:
0 阅读:
81
#include#includechar str[10]; //记录要分析的字符串int x=0; //记录第一个字符void E(); void X(); void T(); void Y(); void F(); in...
分类:
其他 时间:
2016-01-07 16:15:40
收藏:
0 评论:
0 赞:
0 阅读:
148
FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for block pool Block pool BP-336454126-127.0.0.1-1419216478581 (storage i...
分类:
其他 时间:
2016-01-07 16:15:10
收藏:
0 评论:
0 赞:
0 阅读:
218
1、装饰器原理def f1(arg): print '验证' arg()def func(): print '12'#1、将被调用函数封装到另外一个函数func = f1(func)#2、对原函数重新赋值func()现在有这样一种需求,原来的基础设施组提供的API接口函数需要都添加...
分类:
其他 时间:
2016-01-07 16:15:00
收藏:
0 评论:
0 赞:
0 阅读:
137
MD5加密:/** * MD5加密验证 * @param time 时间戳字符串 * @param domainName 请求数据表明 * @return */ def md5Key(String time,String domainName){ ...
分类:
其他 时间:
2016-01-07 16:14:40
收藏:
0 评论:
0 赞:
0 阅读:
194
需要下载引用ICSharpCode.SharpZipLib.dll这个文件using ICSharpCode.SharpZipLib.Zip;using System.IO;///////////////////////////////////调用//////////////////////////...
分类:
其他 时间:
2016-01-07 16:14:20
收藏:
0 评论:
0 赞:
0 阅读:
238
Alsoknown as (7,4) code,7 trainsmitted bits for 4 source code.TRANSMITThe transmitted procedure can be reprecented as follows.$t=G^Ts$where G is:impor...
分类:
其他 时间:
2016-01-07 16:14:10
收藏:
0 评论:
0 赞:
0 阅读:
364
#region 文件覆盖 /// /// 文件覆盖 /// /// public void FileCopy(string destPath) { string path ...
分类:
其他 时间:
2016-01-07 16:13:50
收藏:
0 评论:
0 赞:
0 阅读:
98
一,引入支持Struts2支持注解开发jar包:struts2-convention-plugin-2.1.8.1.jar(支持Struts2框架注解开发的jar包)二,Struts2使用注解开发需要遵循一些规范: 1,Action要必须继承ActionSupport父类; 2,Action所在的包...
分类:
其他 时间:
2016-01-07 16:13:20
收藏:
0 评论:
0 赞:
0 阅读:
204
常常会用到切片技术java代码 1 @Transactional(readOnly=false) 2 public void saveCommonMsg(CommonMsg commonMsg) { 3 4 //删除碎片 5 List list= commo...
分类:
其他 时间:
2016-01-07 16:12:10
收藏:
0 评论:
0 赞:
0 阅读:
200
和POI某道题是一样的... http://www.cnblogs.com/JSZX11556/p/4686674.html只需要二维差分一下就行了. 时间复杂度O(MAXN + N^1.5)------------------------------------------------------...
分类:
其他 时间:
2016-01-07 16:10:20
收藏:
0 评论:
0 赞:
0 阅读:
174
AlwaysOn技术的简要说明:SQL Server2012所支持的AlwaysOn技术集中了故障转移群集、数据库镜像和日志传送三者的优点,但又不相同。故障转移群集的单位是SQL实例,数据库镜像和日志传送的单位是单个用户数据库,而AlwaysOn支持的单位是可用性组,每个组中可以包括一个或者是多个用...
分类:
其他 时间:
2016-01-07 16:08:50
收藏:
0 评论:
0 赞:
0 阅读:
353