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

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

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 374 375 376 377 378 379 380 381 382 ··· 630 下一页

2012年5月2日

摘要: AppendixC.XML Schema-based configurationC.2.2The util schemaFirst up is coverage of the util tags. As the name implies, the util tags deal with common, utility configuration issues, such as configurin... 阅读全文
posted @ 2012-05-02 18:32 lexus 阅读(276) 评论(0) 推荐(0)

摘要: File f=new File("/home/mlzboy/work/sh/taobao.html"); String html=FileUtils.readFileToString(f,"UTF-8"); File f2=new File("/home/mlzboy/work/sh/taobao2.html"); String html2=FileUtils.readFileToStr... 阅读全文
posted @ 2012-05-02 11:58 lexus 阅读(340) 评论(0) 推荐(0)

摘要: public static String cut(String html,String a,String b) { String truncated_html=html; int ai=html.indexOf(a); if (ai>-1) { truncated_html=html.substring(ai+a.length()); int bi=truncated_html.... 阅读全文
posted @ 2012-05-02 11:33 lexus 阅读(524) 评论(0) 推荐(0)

摘要: Jakarta项目的commons包 - 思想比知识更重要 成长比成功更重要 - BlogJavaJakarta项目的commons包commons分为3部分Commons Proper、Commons Sandbox和Commons DormantCommons Proper:提供了设计良好可重用的java组件,并都经过了广泛、严格的测试。Commons Sandbox:处于实验、测试阶段的组件... 阅读全文
posted @ 2012-05-02 10:09 lexus 阅读(257) 评论(0) 推荐(0)

摘要: HTTP/1.1 X-Cache header fieldHTTP/1.1 X-Cache header fieldThe user-defined X-Cache response-header field indicates if an up-to-date copy of the requested entity was found in a specific cache along the... 阅读全文
posted @ 2012-05-02 02:20 lexus 阅读(231) 评论(0) 推荐(0)

摘要: Understanding the HTTP Vary Header and Caching Proxies (Squid, etc.) - Mark S. KolichUnderstanding the HTTP Vary Header and Caching Proxies (Squid, etc.)By Mark Kolich on September 25, 2010 12:10 AM| ... 阅读全文
posted @ 2012-05-02 02:19 lexus 阅读(274) 评论(0) 推荐(0)

摘要: HTTP/1.1: Header Field Definitions14.44 VaryThe Vary field value indicates the set of request-header fields that fully determines, while the response is fresh, whether a cache is permitted to use the ... 阅读全文
posted @ 2012-05-02 02:12 lexus 阅读(243) 评论(0) 推荐(0)

摘要: X-Cache and X-Cache-Lookup headers explained « The eternal fight between admins and computersX-Cache and X-Cache-Lookup headersexplainedby Vide on April 22, 2008Ok, maybe you have no problems whil... 阅读全文
posted @ 2012-05-02 01:56 lexus 阅读(507) 评论(0) 推荐(0)

摘要: Introduction – XCacheIntroduction to XCache ¶XCache is a open-source opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilat... 阅读全文
posted @ 2012-05-02 01:54 lexus 阅读(139) 评论(0) 推荐(0)

2012年5月1日

摘要: chromiumembedded - A simple framework for embedding chromium browser windows in other applications. - Google Project HostingCEF3 has been released in source code form. See the CEF3 Development Status ... 阅读全文
posted @ 2012-05-01 23:09 lexus 阅读(291) 评论(0) 推荐(0)

摘要: 。。。 阅读全文
posted @ 2012-05-01 23:03 lexus 阅读(169) 评论(0) 推荐(0)

摘要: node chat源码解读(三) - CNodenode chat源码解读(三)再优雅的代码本身也只是表象。表象之后,nodejs最核心的地方在哪里呢?我认为,可以从以下几个方面来概括: 程序即server传统的web服务通常是把提供HTTP协议支持的前端server与背后承担业务逻辑的程序分开的。比如用PHP写成的wordpress只是程序,它的前段一定要架设一个nginx,或者apache,或... 阅读全文
posted @ 2012-05-01 22:58 lexus 阅读(293) 评论(0) 推荐(0)

摘要: Node 下 Http Streaming 的跨浏览器实现 - CNodeNode 下 Http Streaming 的跨浏览器实现最近考虑把整个前端架构使用http streaming方式实现 对这方面做了一下调研,并在在node上实现了一个简单的原型顺带提一下, 楼下pengchun同学所提到的node chat使用的是longpoll的模型 和httpstreaming同属与http com... 阅读全文
posted @ 2012-05-01 22:53 lexus 阅读(505) 评论(0) 推荐(0)

摘要: libev 设计分析 - CNodelibev 设计分析此文主要分析libev 的设计架构与算法实现,阅读这篇文章之前,你需要对libev 的使用有大致的了解;libev 提供了很多watcher 供开发者使用 ,以下仅对最重要最常用的几个watcher 机制进行分析,从中我们可掌握整个libev的设计思想,如果你想了解更多,可查阅libev的相关代码或文档。 ev_io_watcher 如我... 阅读全文
posted @ 2012-05-01 22:41 lexus 阅读(524) 评论(0) 推荐(0)

摘要: nodejs 异步之 Timer &Tick; 篇 - CNodenodejs 异步之 Timer &Tick; 篇Timer: 在前端开发中,我们 经常会使用setTimeout 函数组,这组函数其实不属于语言标准,他们只是extentsion ,在浏览器中,他们属于 BOM(浏览器对象扩展),即它的确切定义为:window.setTimeout ,和window.alert , window.... 阅读全文
posted @ 2012-05-01 22:40 lexus 阅读(1024) 评论(0) 推荐(0)

摘要: linux AIO (异步IO) 那点事儿 - CNodelinux AIO (异步IO) 那点事儿 在高性能的服务器编程中,IO 模型理所当然的是重中之重,需要谨慎选型的,对于网络套接字,我们可以采用epoll 的方式来轮询,尽管epoll也有一些缺陷,但总体来说还是很高效的,尤其来大量套接字的场景下;但对于Regular File 来说,是不能够用采用 poll/epoll 的,即O_... 阅读全文
posted @ 2012-05-01 22:35 lexus 阅读(1212) 评论(0) 推荐(0)

摘要: NodeJs 多核多进程并行框架实作 - CNodeNodeJs 多核多进程并行框架实作多核编程的重要性无需多说, 我们直奔主题,目前nodejs 的网络服务器有以下几种支持多进程的方式: #1 开启多个进程,每个进程绑定不同的端口,用反向代理服务器如 Nginx 做负载均衡,好处是我们可以借助强大的 Nginx 做一些过滤检查之类的操作,同时能够实现比较好的均衡策略,但坏处也是显而易见 ---... 阅读全文
posted @ 2012-05-01 22:19 lexus 阅读(1081) 评论(0) 推荐(0)

摘要: master + worker模式的node多核解决框架——node-cluster - CNodemaster + worker模式的node多核解决框架——node-cluster还在为node运行于单进程而苦恼么?即便是node本身提供了cluster功能,或者在github和npm上有很多优秀的模块帮你做封装,但你仍然逃避不掉这些问题:性能问题;多进程worker的存活状态管理;服务的平滑... 阅读全文
posted @ 2012-05-01 22:10 lexus 阅读(835) 评论(0) 推荐(0)

摘要: Node.js使用的场景 (翻译自Node.js早期贡献者Felix的文章) - CNodeNode.js使用的场景 (翻译自Node.js早期贡献者Felix的文章)原文地址在这里:http://nodeguide.com/convincingtheboss.html 英文版,题目的意思是说服老板的指南,文章中就Node.js应用场景这一重要话题说了一些看法,我摘取其中比较重要的段落,翻译在这里... 阅读全文
posted @ 2012-05-01 22:00 lexus 阅读(525) 评论(0) 推荐(0)

摘要: html中meta标签的content-Type属性_百度知道 html中meta标签的content-Type属性 我在网页中学习教程, 可是网页里给了我一个乱七八糟的又没有解释的语法 <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 这个我还可以理解,但是里面还有另外一个, Content-Type :=... 阅读全文
posted @ 2012-05-01 21:34 lexus 阅读(552) 评论(0) 推荐(0)

上一页 1 ··· 374 375 376 377 378 379 380 381 382 ··· 630 下一页