【0】README
0.0)本文部分文字描述转自 “how tomcat works”,旨在学习 “tomcat(11)StandardWrapper源码剖析” 的基础知识;
0.1)StandardWrapper 是 Catalina中对Wrapper接口的标准实现;要知道,tomcat 中有4种类型的容器:Engine,Host,Context 和 Wrapper;(干货——review...
分类:
移动开发 时间:
2016-05-17 11:40:24
阅读次数:
435
If you want your application works offline or lie-wifi. You need to use cache. API: Create Caches: Create single cache: Get the cache: When to start c ...
分类:
系统相关 时间:
2016-05-16 21:50:43
阅读次数:
870
Apache与PHP的配置 OSX自带了apache和php,但默认情况下没有开启,打开终端 这时在浏览器中输入localhost应该就会出现apache标准的It Works!下面开启php,修改apache配置文件 找到#LoadModule php5_module libexec/apache ...
分类:
Web程序 时间:
2016-05-16 07:08:49
阅读次数:
252
你可能有很多种方式,但是这种方式我觉得更加简单,供大家参考。 用一个 display:inline-block 的helper容器高度为height: 100% 并且vertical-align: middle 在Img的旁边就能实现。 How it works: When you have two ...
分类:
其他好文 时间:
2016-05-13 17:20:49
阅读次数:
130
NSMutableAttributedString *noteStr = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"作品:%@",data[@"works_num"]]]; NSRan ...
分类:
其他好文 时间:
2016-05-13 11:25:03
阅读次数:
123
一、概述 windows是我们最常用的工作系统,Linux开发很多人通常是在windows下安装虚拟机,然后在虚拟机中安装Linux。本文主要记录在搭建开发环境的过程中遇到的问题以及解决方法。 博主所用环境: 电脑:带无线上网的笔记本
主机操作系统:Windows 7 Ultimate, 64-bit 6.1.7601, Service Pack 1
VMware:VMware® Works...
最近在看《How Tomcat Works》这本书,其中有这样一句代码:
public void parse() {
// Read a set of characters from the socket
StringBuffer request = new StringBuffer(2048);
int i;
byte[] buffer = new ...
分类:
其他好文 时间:
2016-05-08 06:52:12
阅读次数:
138
E. Correct Bracket Sequence Editor E. Correct Bracket Sequence Editor Recently Polycarp started to develop a text editor that works only with correct ...
分类:
其他好文 时间:
2016-05-07 18:04:00
阅读次数:
193
Misunderstanding of static member class :
For most programmers, comparing to SMC ,we may be more familiar with static field . so we may analogously guess how SMC works according to static field's fea...
分类:
编程语言 时间:
2016-05-07 10:52:07
阅读次数:
219
翻译:脚本_树
This is a short overview of how scripting inside Unity works.
Scripting inside Unity consists of attaching custom script objects called behaviours to game objects. Different functions in...
分类:
编程语言 时间:
2016-05-07 01:08:47
阅读次数:
203