//输出流 @Test public void testOutStream() throws Exception{ OutputStream out =new FileOutputStream("abc.txt"); String content="hello word/nwww.baidu.c.....
分类:
编程语言 时间:
2014-06-18 21:16:47
阅读次数:
280
left content right content main content
分类:
其他好文 时间:
2014-06-18 19:01:14
阅读次数:
125
1 package com.moniter.helperclasses; 2 3 import java.util.List; 4 5 import android.content.Context; 6 import android.view.LayoutInflater; 7 import ...
分类:
移动开发 时间:
2014-06-18 14:27:29
阅读次数:
175
[HttpPost]public HttpResponseMessage Upload(){string json = "{\"result\":\"true\"}";return new HttpResponseMessage { Content = new StringContent(json,...
1 $(".content").each(function(){ 2 if($(this).text().length>100){3 $(this).text($(this).tex...
分类:
Web程序 时间:
2014-06-18 13:13:18
阅读次数:
253
我的第一个Nodejs程序:Hello World var http = require("http");http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/.....
分类:
Web程序 时间:
2014-06-17 19:59:52
阅读次数:
241
例:string Content =“"<p style="TEXT-ALIGN:center;"><span style="font-family:宋体;">&l...
分类:
其他好文 时间:
2014-06-17 15:44:56
阅读次数:
218
1.写一个类继承TextView[java]view plaincopypackagecom.example.tt;importandroid.content.Context;importandroid.graphics.Rect;importandroid.util.AttributeSet;im...
分类:
其他好文 时间:
2014-06-17 15:43:33
阅读次数:
264
概念介绍还是先简单说说Json的一些例子吧。注意,以下概念是我自己定义的,可以参考.net里面的TYPE的模型设计如果有争议,欢迎提出来探讨!1.最简单:{"total":0}total就是值,值是数值,等于02. 复杂点{"total":0,"data":{"377149574" : 1}}tot...
分类:
Web程序 时间:
2014-06-16 13:29:20
阅读次数:
330
超过70秒的请求是通过分析IIS日志发现的,通过Wireshark抓包分析请求是9:22:21收到的。这个请求响应内容的长度是:Content-Length 1154110(1.1MB),云服务器在收到请求后,发了一个ACK包。接下来就是一堆的TCP segment of a reassembled...
分类:
其他好文 时间:
2014-06-15 12:08:40
阅读次数:
527