需要wget下载多个文件链接时,可以采用如下方法:1. 将链接存入文件url.list中;2. wget -bc -i url.list -o [log_file] -P [target_dir]其中,-b backgournd,即后台下载;-c continues,继续下载尚未完成的任务,即如.....
分类:
其他好文 时间:
2014-07-06 23:31:25
阅读次数:
221
上一篇介绍了Volley的使用,主要接触了Request与RequestQueue这两个类,这篇就来了解一下这两个类的具体实现。Request类图:Request类: Request是一个抽象类,其中的主要属性:mMethod: 请求方法,目前支持GET, POST, PUT, DELETE, HE...
分类:
移动开发 时间:
2014-07-03 18:52:31
阅读次数:
357
1、错误描述
严重:Exception occurred during processing request:null
java.lang.reflect.InvocationTargetException.
Caused by:java.lang.OutOfMemoryError:Java heap space.
2、错误原因
3、解决办法...
分类:
其他好文 时间:
2014-07-03 18:03:46
阅读次数:
171
1、错误描述
严重:Exception occurred during processing request:Statement Callback;SQL[ ];OALL8处于不一致状态;
nested exception is java.sql.SQLException:OALL8处于不一致状态.
java.sql.SQLException:...
分类:
数据库 时间:
2014-07-03 17:59:34
阅读次数:
245
Enable OWIN Cross-origin Request...
简述用于windows客户端的一个异步http模块的实现
1.需要实现的feature
1.1 很容易地发起异步http请求,然后回调。
1.2 能够管理http并发数。
1.3 能够支持http超时:不依赖于curl中实现的连接超时及其它超时。
1.4 请求可以取消。
2.参与者和简要分析:
Manager:接收http请求,调用curl。
Request:封装htt...
分类:
其他好文 时间:
2014-07-03 17:33:32
阅读次数:
316
commons-io在struts框架中无法获取upload.parseRequest(request)上传的文件的主要原因是因为struts将request进行了封装,在文件上传时struts会将HttpServletRequest请求被转成了MultiPartRequestWrapper,所以如需使用request,则需要将struts封装好的的MultiPartRequestWrappe..
分类:
其他好文 时间:
2014-07-03 15:19:33
阅读次数:
148
登录时存:HttpCookiecookieUserPower=newHttpCookie("UserPower");cookieUserPower.Value=loginuser._UserPower.ToString();HttpContext.Current.Response.Cookies.Add(cookieUserPower);页面判断:if(Request.Cookies["UserID"]==null){ClientScript.RegisterClientScriptBlo..
分类:
其他好文 时间:
2014-07-03 15:10:26
阅读次数:
343
1.yum install lrzsz wget git2.安装gitosis:gitosis为Git用户权限管理系统,通过管理服务端的/home/git/.ssh/authorized_key文件来执行对用户权限的管理,是一个python模块包#yum install python python-...
分类:
其他好文 时间:
2014-07-03 12:41:36
阅读次数:
324
controller def uploadss @attachment = Attachment.new(:file => request.raw_post) @attachment.author = User.current @attachment.filename = params[:filen...
分类:
其他好文 时间:
2014-07-03 12:38:19
阅读次数:
169