package cn.itcast.bigdata.hdfs; import java.net.URI; import java.util.Iterator; import java.util.Map.Entry; import org.apache.hadoop.conf.Configuratio... ...
分类:
编程语言 时间:
2017-03-29 22:58:37
阅读次数:
270
日志格式:#Version:1.0#Fields:datetimetime-takenx-c_usernamebytesc-ips-ipsc-statuscs-methodcs-uri-stemcs-urix-c_sessionid#Software:WebLogic#Start-Date:2017-03-2700:01:132017-03-2700:01:130.043-3210.33.215.21810.12.216.147:30573200POST/appsvr/apv/blazeThreeS..
分类:
其他好文 时间:
2017-03-29 21:33:15
阅读次数:
282
参考:http://www.ietf.org/rfc/rfc2616.txt(http协议)https://en.wikipedia.org/wiki/Endianness(大端法和小端法)http://www.cnblogs.com/gaojing/archive/2012/02/04/2413626.html(url和uri)http://www.cnblogs.com/kissdodog/archive/2013/01/11/2856335.html(http报..
分类:
Web程序 时间:
2017-03-29 19:33:57
阅读次数:
183
/storage/emulated/0/xxxxxxxx.png 这样的坑爹路径显示不了的 Picasso.load(new File(localImagePath)) 就可以了,File转化为Uri 是包含Scheme的,uri: "file:///storage/emulated/0/Andro ...
分类:
其他好文 时间:
2017-03-29 15:37:39
阅读次数:
145
(1)利用request.setCharacterEncoding("UTF-8");来设置Tomcat接收请求的编码格式,只对POST方式提交的数据有效,对GET方式提交的数据无效! (2)要设置GET的编码,可以修改server.xml文件中,相应的端口的Connector的属性:URIEnco ...
分类:
其他好文 时间:
2017-03-29 14:02:37
阅读次数:
126
一.laravel请求 1.获取请求 1>获取请求的 URI path 方法会返回请求的 URI。所以,如果接收到的请求目标是 http://domain.com/foo/bar,那么 path 方法就会返回 foo/bar: $uri = $request->path(); is 方法可以验证接收 ...
分类:
其他好文 时间:
2017-03-28 21:22:12
阅读次数:
960
HTTP协议是HyperTextTransferProtocol(超文本传输协议)的缩写,其特点是:1.简洁、快速2.灵活3.无状态4.无连接5.支持B/S、C/S模式HTTP使用统一资源标识符(UniformResourceIdentifiers,URI)来传输数据和建立连接GET和POST请求区别:GET:GET提交,请求的数据会附在URL之后(..
分类:
Web程序 时间:
2017-03-28 20:07:07
阅读次数:
181
按住K; V截取游戏 using UnityEngine; using System.Collections; using System.IO; // Screen Recorder will save individual images of active scene in any resolut ...
分类:
其他好文 时间:
2017-03-28 19:39:26
阅读次数:
298
基于1 上文实现拉取代码后能自动触发sonar-runner实现代码扫描评测,job1完成 添加sonar插件 SonarQube Plugin 配置: 系统设置à告知jenkins,sonar在哪 https://docs.sonarqube.org/display/SONAR/User+Toke... ...
分类:
其他好文 时间:
2017-03-28 19:11:35
阅读次数:
264
注意:该功能需要高版本才能支持,如1.0.11。 AsyncAppender,异步记录日志。 工作原理: 当Logging Event进入AsyncAppender后,AsyncAppender会调用appender方法,append方法中在将event填入Buffer(这里选用的数据结构为Bloc ...
分类:
其他好文 时间:
2017-03-28 18:42:45
阅读次数:
198