public class ViewHolder { // I added a generic return type to reduce the casting noise in client code @SuppressWarnings("unchecked") public static T g...
分类:
移动开发 时间:
2014-06-25 23:38:42
阅读次数:
319
appium client是对webdriver原生api的一些扩展和封装。它可以帮助我们更容易的写出用例,写出更好懂的用例。appium client是配合原生的webdriver来使用的,因此二者必须配合使用缺一不可。从本节开始,教程的内容将涵盖3个语言,ruby/python/java。安装a...
分类:
移动开发 时间:
2014-06-25 22:49:01
阅读次数:
320
ActiveMQ使用的是jetty服务器, 打开conf/jetty.xml文件,找到 将property name为authenticate的属性value="false" 改为"true",控制台的登录用户名密码保存在conf/jetty-realm.properties文...
分类:
其他好文 时间:
2014-06-25 22:36:09
阅读次数:
330
//client#include #include #pragma comment(lib, "WS2_32") // 链接到WS2_32.libusing namespace std;int main(){ SOCKET so; WSADATA ws; if (WSASta...
分类:
其他好文 时间:
2014-06-24 10:57:34
阅读次数:
176
一个菜鸟朋友,突然问了我这个问题...现在稍稍有点时间,就写了一个简单的例子给他,顺便贴上来
服务器端:
<?php
/**
* @author 邹颢 zouhao619@gmail.com
*/
class SocketServer{
private $_port='9000';
private $_address='127.0.0.1';
private $_client_soc...
分类:
Web程序 时间:
2014-06-22 19:54:29
阅读次数:
297
下载安装
下载地址
修改默认端口:
home\conf\nexus.properties
# Sonatype Nexus
# ==============
# This is the most basic configuration of Nexus.
# Jetty section
application-port=9080
applica...
分类:
其他好文 时间:
2014-06-22 19:28:44
阅读次数:
275
解决svn:This client is too old问题
1、下载官方的python文件
http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py
2、下载安装python,执行python文件时有用 ,下载地址:http://code.go...
分类:
其他好文 时间:
2014-06-22 18:36:10
阅读次数:
354
??大家好,今天微软最新发布一篇安全通报2974294,介绍了一个微软恶意软件防护引擎(Malware Protection Engine)中的一个拒绝服务漏洞,这个漏洞主要存在于微软的安全防护软件中,其中包括了Forefront Client Security, Forefront EndPoint Protection 2010, System Center 2012 EndPoint Pro...
分类:
其他好文 时间:
2014-06-22 16:50:28
阅读次数:
151
nginx作为web服务器,wordpress上传主题报错 413 Request Entity Too Large
解决:
vim /usr/local/nginx/conf/nginx.conf ’编辑nginx配置文件
client_max_body_size 20m; ‘在http段落里添加这一句后保存退出
/usr/local/nginx/sbin/nginx -s reload...
分类:
其他好文 时间:
2014-06-22 14:38:34
阅读次数:
203
web工程目录结构
pom/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.a...
分类:
编程语言 时间:
2014-06-22 08:53:25
阅读次数:
187