浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年3月2日

摘要: python enumerate 用法 [Python俱乐部]python enumerate 用法python enumerate 用法 | 在for循环中得到计数参数为可遍历的变量,如 字符串,列表等; 返回值为enumerate类:import string s = string.ascii_lowercase e = enumerate(s) print s print list(e)输出... 阅读全文
posted @ 2012-03-02 21:59 lexus 阅读(4949) 评论(0) 推荐(2)

摘要: incubated eggincubated egg 阅读全文
posted @ 2012-03-02 21:49 lexus 阅读(126) 评论(0) 推荐(0)

摘要: gunzip .....gz 阅读全文
posted @ 2012-03-02 19:04 lexus 阅读(242) 评论(0) 推荐(0)

摘要: Serving Javascript With Gzip Encoding Asp Net - Javascript ObfuscatorJavascript Obfuscator, Compressor and MinifierScramble, obfuscate, and pack JavaScript code!Javascript Obfuscator converts the Java... 阅读全文
posted @ 2012-03-02 18:22 lexus 阅读(238) 评论(0) 推荐(0)

摘要: public final class CharArrayBuffer implements Serializable { private static final long serialVersionUID = -6208952725094867135L; private char[] buffer; private int len; /** * Creates an instance of {@... 阅读全文
posted @ 2012-03-02 17:41 lexus 阅读(247) 评论(0) 推荐(0)

摘要: 认识serialVersionUID_Carry_新浪博客认识serialVersionUIDserialVersionUID作用: 序列化时为了保持版本的兼容性,即在版本升级时反序列化仍保持对象的唯一性。 你可以随便写一个,在Eclipse中它替你生成一个,有两种生成方式: 一个是默认的1L,比如:private static final long serialVersionUID = 1L;... 阅读全文
posted @ 2012-03-02 17:34 lexus 阅读(232) 评论(0) 推荐(0)

摘要: Java中serialVersionUID的解释 - 我的blog - BlogJavaJava中serialVersionUID的解释 serialVersionUID作用: 序列化时为了保持版本的兼容性,即在版本升级时反序列化仍保持对象的唯一性。 有两种生成方式: 一个是默认的1L,比如:private static final long serialVersionUID = 1L; ... 阅读全文
posted @ 2012-03-02 17:30 lexus 阅读(199) 评论(0) 推荐(0)

摘要: ChunkedInputStream 阅读全文
posted @ 2012-03-02 17:18 lexus 阅读(205) 评论(0) 推荐(0)

摘要: Hypertext Transfer Protocol -- HTTP/1.1Hypertext Transfer Protocol -- HTTP/1.1Status of this MemoThis document specifies an Internet standards track protocol for the Internet community, and requests d... 阅读全文
posted @ 2012-03-02 16:07 lexus 阅读(364) 评论(0) 推荐(0)

摘要: List of HTTP header fields - Wikipedia, the free encyclopediaList of HTTP header fields From Wikipedia, the free encyclopedia Jump to: navigation, search This article includes a list of references, r... 阅读全文
posted @ 2012-03-02 15:59 lexus 阅读(314) 评论(0) 推荐(0)

摘要: Chunked transfer encoding - Wikipedia, the free encyclopediaChunked transfer encoding From Wikipedia, the free encyclopedia Jump to: navigation, search Chunked transfer encoding is a data transfer me... 阅读全文
posted @ 2012-03-02 15:58 lexus 阅读(756) 评论(0) 推荐(0)

摘要: 2007年1月23日 随笔档案 - kenty - 博客园Apache xml-rpc由于最近做的一个项目需要,使用了apache xml-rpc,顺便整理一下使用的方法。 xml-rpc是一套允许运行在不同操作系统、不同环境的程序实现基于internet过程调用的规范和一系列的实现。这种远程过程调用使用http作为传输协议,xml作为传送信息的编码格式。xml-rpc的定义尽可能的保持了简单,但... 阅读全文
posted @ 2012-03-02 15:52 lexus 阅读(728) 评论(0) 推荐(0)

摘要: squid apache tomcat gzip chunked content-length问题研究_我的记事本_百度空间squid apache tomcat gzip chunked content-length问题研究2009-04-14 10:301、squid2.6.22支持gzip压缩缓存,可以针对vary属性缓存多份。2、apache2可以用mod_deflate压缩,压缩其实是g... 阅读全文
posted @ 2012-03-02 15:40 lexus 阅读(726) 评论(0) 推荐(0)

摘要: HTTP协议之Chunked解析_zkheartboy's Linux life_百度空间HTTP协议之Chunked解析2007-11-30 15:42在网上找了好一会,始终没发现有解析Chunked编码的文章,那就自己写一个吧,呵呵。 网上使用Chunked编码的网站似乎并不是很多,除了那些使用GZip压缩的网站,例:google.com,还有就是大部分打开GZip压缩的PHP论坛。 根据本人... 阅读全文
posted @ 2012-03-02 15:38 lexus 阅读(331) 评论(0) 推荐(0)

摘要: HTTP协议之Chunked解析_zkheartboy's Linux life_百度空间HTTP协议之Chunked解析2007-11-30 15:42在网上找了好一会,始终没发现有解析Chunked编码的文章,那就自己写一个吧,呵呵。 网上使用Chunked编码的网站似乎并不是很多,除了那些使用GZip压缩的网站,例:google.com,还有就是大部分打开GZip压缩的PHP论坛。 根据本人... 阅读全文
posted @ 2012-03-02 15:34 lexus 阅读(560) 评论(0) 推荐(0)

摘要: HTTPchunked+gzip及浏览器兼容测试_ifreax_新浪博客HTTPchunked+gzip及浏览器兼容测 简述: QQ空间提出一个需求,要求qzhttp支持chunked+gzip。每个chunk是一个独立的gzip压缩包,并提到雅虎是这么实现的。 分析结论:1.雅虎的chunked+gzip的方式,每个chunk并不是一个独立的gzip压缩包。2.如果采用chunked+gzip方... 阅读全文
posted @ 2012-03-02 15:32 lexus 阅读(1037) 评论(0) 推荐(0)

摘要: 模拟http请求,支持gzip,chunked格式 - rains的日志 - PHPChina模拟http请求,支持gzip,chunked格式已有 1215 次阅读2009-3-2 14:06| 0<?php /** * 模拟http请求,支持gzip,chunked格式 * */ function http_request($url) { $urlinfo = parse_url($url)... 阅读全文
posted @ 2012-03-02 15:30 lexus 阅读(538) 评论(0) 推荐(0)

摘要: --=比天空间=-- - mod_gzip和chunkedhttp://www.httpwatch.com/httpgallery/chunked/ When an HTTP client is reading a response message from a server it needs to know when it has reached the end of the message. ... 阅读全文
posted @ 2012-03-02 15:29 lexus 阅读(363) 评论(0) 推荐(0)

摘要: Download Java OCR API library SDK component control with free trial download and source code can be obtained through licensingREAD THE 'LICENSE AGREEMENT FOR THE EVALUATION VERSION OF ASPRISE OCR SOFT... 阅读全文
posted @ 2012-03-02 14:58 lexus 阅读(442) 评论(0) 推荐(0)

摘要: cURL: win64-ssl-sspi from MirrorsThe Most Recent Archives Off the MirrorsRelated: Changelog Download Daily Snapshot GPG Keycurl-7.23.1-win64-ssl-sspi.zipWhat: Windows 64bit, zip, SSL-enabled, SSPI-ena... 阅读全文
posted @ 2012-03-02 13:26 lexus 阅读(422) 评论(0) 推荐(0)

摘要: curl使用总结 - 钱凌学习中 - 博客频道 - CSDN.NET curl使用总结 分类: WEB(包含PHP/jsp/groovy) Linux 2008-12-11 15:01 529人阅读 评论(0) 收藏 举报个人体会:curl是linux环境下的一个命令模式的地址访问工具,它支持的协议很多,包括http/https/ftp/……我实验了一下http,几乎可以完成目前浏览器的很多功... 阅读全文
posted @ 2012-03-02 13:19 lexus 阅读(220) 评论(0) 推荐(0)

摘要: but not support tar.gz 阅读全文
posted @ 2012-03-02 12:44 lexus 阅读(288) 评论(0) 推荐(0)

摘要: package com.jd.cis;import java.io.ByteArrayOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.OutputStreamWriter;import java.net.InetAddress;import java.net.Socket;impor... 阅读全文
posted @ 2012-03-02 11:53 lexus 阅读(526) 评论(0) 推荐(0)

摘要: java的ZipOutputStream压缩文件的两个问题(乱码和每次zip后文件md5变化) - 夜隼 - 博客园 java的ZipOutputStream压缩文件的两个问题(乱码和每次zip后文件md5变化) 1、乱码问题可以使用org.apache.tools.zip 2、md5每次都变化只需要设置entry.setTime(1) Feedback #1楼 124.193.96.* 2008... 阅读全文
posted @ 2012-03-02 11:47 lexus 阅读(1222) 评论(0) 推荐(0)

摘要: [ZT]使用tmpfs缓存文件提高性能 - 夜隼 - 博客园使用tmpfs缓存文件提高性能tmpfs是一种虚拟内存文件系统,它最大的特点就是它的存储空间在VM(virtual memory)里面。Linux系统中VM主要由RM(Real Memory)和swap组成,因此tmpfs最大的存储空间可达(The size of RM + The size ofSwap)。 但是对于tmpfs本身而言,... 阅读全文
posted @ 2012-03-02 11:45 lexus 阅读(708) 评论(0) 推荐(0)

摘要: /** ====================================================================* Licensed to the Apache Software Foundation (ASF) under one* or more contributor license agreements. See the NOTICE file* distr... 阅读全文
posted @ 2012-03-02 11:42 lexus 阅读(392) 评论(0) 推荐(0)

摘要: httpclient解析gzip网页 - 夜隼 - 博客园httpclient解析gzip网页请求时加上:getHC.setRequestHeader("Accept-Encoding","gzip, deflate");解析时String acceptEncoding = ""; if(getHC.getResponseHeader("Content-Encoding")!=null) acce... 阅读全文
posted @ 2012-03-02 11:38 lexus 阅读(957) 评论(0) 推荐(0)

摘要: HttpClient对URL编码的处理方式解惑! - Oracle Linux Web - 51CTO技术博客HttpClient对URL编码的处理方式解惑!2011-08-04 21:11:47标签:URL HttpClientHttpClient是Apache基金下jakarta commons项目中的一个小项目,该项目封装了对远程地址下载的一些功能,最新版本为3.0。该项目地址:http:... 阅读全文
posted @ 2012-03-02 11:28 lexus 阅读(1100) 评论(0) 推荐(0)

摘要: JSP学习笔记(七十五):使用HttpClient远程抓取网页内容 - 博客文库 - 博客园JSP学习笔记(七十五):使用HttpClient远程抓取网页内容作者:魔豆来源:博客园发布时间:2008-11-03 15:46阅读:3131 次原文链接 [收藏]1.准备工作需要下载两个jar包:commons-httpclient和commons-codescommons-httpclient下载地址... 阅读全文
posted @ 2012-03-02 11:24 lexus 阅读(578) 评论(0) 推荐(0)

摘要: 使用Gzip加速网页的传输 - zhiqiangzhan的专栏 - 博客频道 - CSDN.NET使用Gzip加速网页的传输 分类: JAVA 2009-10-26 10:33 368人阅读 评论(3) 收藏 举报博学,切问,近思--詹子知(http://blog.csdn.net/zhiqiangzhan)日前笔者在使用HttpClient在处理大数据请求的时候,在连续发请求的时候经常会出现... 阅读全文
posted @ 2012-03-02 11:23 lexus 阅读(528) 评论(0) 推荐(0)

摘要: 关于chunked gzip,socket下载网页内容. - xiqi8144的专栏 - 博客频道 - CSDN.NET 关于chunked gzip,socket下载网页内容. 在利用底层socket下载html网页的时候,java,python都有很方面的类库操作,可以如果是利用c++来写,就必须要利用socket,底层的操作,首先建立socket,然而,发送响应的request header... 阅读全文
posted @ 2012-03-02 11:16 lexus 阅读(555) 评论(0) 推荐(0)

摘要: Better Java GZIP Compression | > /dev/nullBetter Java GZIP CompressionApril 30, 2010I’ve been extending an HTTP server I maintain, and have run into a problem. To compress the response HTTP message co... 阅读全文
posted @ 2012-03-02 11:13 lexus 阅读(607) 评论(0) 推荐(0)

摘要: GzipOutputStream及GzipInputStream的用法 - 搜索-gcgmh - ITeye技术网站GzipOutputStream及GzipInputStream的用法 博客分类:java baseJavaJava代码 ByteArrayOutputStreamarrayOutputStream=newByteArrayOutputStream();GZIPOutputStre... 阅读全文
posted @ 2012-03-02 10:09 lexus 阅读(7503) 评论(0) 推荐(0)