-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.xml
241 lines (236 loc) · 33.1 KB
/
search.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<?xml version="1.0" encoding="utf-8"?>
<search>
<entry>
<title>好久不见,味素</title>
<url>//p/2016-05-19-longtimenosee.html</url>
<content><![CDATA[<blockquote>
<p>一部电影,一句动人台词# 我喜欢你在71华氏度的气温里还会感冒 我喜欢你要花上半个小时点三明治 我喜欢你现在皱着眉头 像看一个疯子似的看着我 我喜欢一整天呆在你的身边后 我的衣服上能问到你的香水味 我喜欢你是我每天如睡前最后一个想要讲话的人</p>
</blockquote>
<span id="more"></span>
<hr>
<blockquote>
<p><strong>#一部电影,一句动人台词# 路小雨在琴房(不是旧琴房),看着墙壁上的相片说,肖邦和他最爱的女人。叶湘伦:还不是十年就分开了。路小雨:但是能够拥有,十年已经很长了。</strong></p>
</blockquote>
<hr>
<blockquote>
<p><strong>#一部电影,一句动人台词# 黎耀辉,不如我哋由头从嚟过。</strong></p>
</blockquote>
<hr>
<blockquote>
<p><strong>#一部电影,一句动人台词# 不管我怎样的努力,心与心之间也不会靠近一厘米。—《极速五厘米》</strong><br><img src="/p/2016-05-19-longtimenosee.htm/2016-05-19-longtimenosee_1.jpg"></p>
</blockquote>
<blockquote>
<p><img src="/p/2016-05-19-longtimenosee.htm/2016-05-19-longtimenosee_2.jpg"></p>
</blockquote>
<blockquote>
<p><img src="/p/2016-05-19-longtimenosee.htm/2016-05-19-longtimenosee_3.jpg"></p>
</blockquote>
<blockquote>
<p>转自:<a href="http://music.163.com/#/activity/3591050?userid=39785770" title="网易云音乐">网易云音乐</a></p>
</blockquote>
]]></content>
<categories>
<category>杂文</category>
</categories>
<tags>
<tag>好久不见</tag>
</tags>
</entry>
<entry>
<title>字符编码笔记:ASCII,Unicode和UTF-8</title>
<url>//p/2016-05-23-ASCII-Unicode-UTF-8.html</url>
<content><![CDATA[<h3 id="1-ASCII码"><a href="#1-ASCII码" class="headerlink" title="1. ASCII码"></a>1. ASCII码</h3><p>我们知道,在计算机内部,所有的信息最终都表示为一个二进制的字符串。每一个二进制位(bit)有0和1两种状态,因此八个二进制位就可以组合出256种状态,这被称为一个字节(byte)。也就是说,一个字节一共可以用来表示256种不同的状态,每一个状态对应一个符号,就是256个符号,从0000000到11111111。</p>
<span id="more"></span>
<p>上个世纪60年代,美国制定了一套字符编码,对英语字符与二进制位之间的关系,做了统一规定。这被称为ASCII码,一直沿用至今。<br>ASCII码一共规定了128个字符的编码,比如空格”SPACE”是32(二进制00100000),大写的字母A是65(二进制01000001)。这128个符号(包括32个不能打印出来的控制符号),只占用了一个字节的后面7位,最前面的1位统一规定为0。</p>
<h3 id="2、非ASCII编码"><a href="#2、非ASCII编码" class="headerlink" title="2、非ASCII编码"></a>2、非ASCII编码</h3><p>英语用128个符号编码就够了,但是用来表示其他语言,128个符号是不够的。比如,在法语中,字母上方有注音符号,它就无法用ASCII码表示。于是,一些欧洲国家就决定,利用字节中闲置的最高位编入新的符号。比如,法语中的é的编码为130(二进制10000010)。这样一来,这些欧洲国家使用的编码体系,可以表示最多256个符号。<br>但是,这里又出现了新的问题。不同的国家有不同的字母,因此,哪怕它们都使用256个符号的编码方式,代表的字母却不一样。比如,130在法语编码中代表了é,在希伯来语编码中却代表了字母Gimel (ג),在俄语编码中又会代表另一个符号。但是不管怎样,所有这些编码方式中,0–127表示的符号是一样的,不一样的只是128–255的这一段。<br>至于亚洲国家的文字,使用的符号就更多了,汉字就多达10万左右。一个字节只能表示256种符号,肯定是不够的,就必须使用多个字节表达一个符号。比如,简体中文常见的编码方式是GB2312,使用两个字节表示一个汉字,所以理论上最多可以表示256x256=65536个符号。<br>中文编码的问题需要专文讨论,这篇笔记不涉及。这里只指出,虽然都是用多个字节表示一个符号,但是GB类的汉字编码与后文的Unicode和UTF-8是毫无关系的。</p>
<h3 id="3-Unicode"><a href="#3-Unicode" class="headerlink" title="3.Unicode"></a>3.Unicode</h3><p>正如上一节所说,世界上存在着多种编码方式,同一个二进制数字可以被解释成不同的符号。因此,要想打开一个文本文件,就必须知道它的编码方式,否则用错误的编码方式解读,就会出现乱码。为什么电子邮件常常出现乱码?就是因为发信人和收信人使用的编码方式不一样。<br>可以想象,如果有一种编码,将世界上所有的符号都纳入其中。每一个符号都给予一个独一无二的编码,那么乱码问题就会消失。这就是Unicode,就像它的名字都表示的,这是一种所有符号的编码。<br>Unicode当然是一个很大的集合,现在的规模可以容纳100多万个符号。每个符号的编码都不一样,比如,U+0639表示阿拉伯字母Ain,U+0041表示英语的大写字母A,U+4E25表示汉字”严”。具体的符号对应表,可以查询<a href="http://www.unicode.org/" title="unicode.org/">unicode.org</a>,或者专门的<a href="http://www.chi2ko.com/tool/CJK.htm">汉字对应表</a>。</p>
<h3 id="4-Unicode的问题"><a href="#4-Unicode的问题" class="headerlink" title="4. Unicode的问题"></a>4. Unicode的问题</h3><p>需要注意的是,Unicode只是一个符号集,它只规定了符号的二进制代码,却没有规定这个二进制代码应该如何存储。<br>比如,汉字”严”的unicode是十六进制数4E25,转换成二进制数足足有15位(100111000100101),也就是说这个符号的表示至少需要2个字节。表示其他更大的符号,可能需要3个字节或者4个字节,甚至更多。<br>这里就有两个严重的问题,第一个问题是,如何才能区别Unicode和ASCII?计算机怎么知道三个字节表示一个符号,而不是分别表示三个符号呢?第二个问题是,我们已经知道,英文字母只用一个字节表示就够了,如果Unicode统一规定,每个符号用三个或四个字节表示,那么每个英文字母前都必然有二到三个字节是0,这对于存储来说是极大的浪费,文本文件的大小会因此大出二三倍,这是无法接受的。<br>它们造成的结果是:1)出现了Unicode的多种存储方式,也就是说有许多种不同的二进制格式,可以用来表示Unicode。2)Unicode在很长一段时间内无法推广,直到互联网的出现。</p>
<h3 id="5-UTF-8"><a href="#5-UTF-8" class="headerlink" title="5.UTF-8"></a>5.UTF-8</h3><p>互联网的普及,强烈要求出现一种统一的编码方式。UTF-8就是在互联网上使用最广的一种Unicode的实现方式。其他实现方式还包括UTF-16(字符用两个字节或四个字节表示)和UTF-32(字符用四个字节表示),不过在互联网上基本不用。<strong>重复一遍,这里的关系是,UTF-8是Unicode的实现方式之一。</strong><br>UTF-8最大的一个特点,就是它是一种变长的编码方式。它可以使用1~4个字节表示一个符号,根据不同的符号而变化字节长度。<br>UTF-8的编码规则很简单,只有二条:</p>
<ul>
<li><p>1)对于单字节的符号,字节的第一位设为0,后面7位为这个符号的unicode码。因此对于英语字母,UTF-8编码和ASCII码是相同的。</p>
</li>
<li><p>2)对于n字节的符号(n>1),第一个字节的前n位都设为1,第n+1位设为0,后面字节的前两位一律设为10。剩下的没有提及的二进制位,全部为这个符号的unicode码。</p>
</li>
</ul>
<p>下表总结了编码规则,字母x表示可用编码的位。<br><img src="/p/2016-05-23-ASCII-Unicode-UTF-8.htm/2016-05-23-ASCII-Unicode-UTF-8_1.jpg"><br>跟据上表,解读UTF-8编码非常简单。如果一个字节的第一位是0,则这个字节单独就是一个字符;如果第一位是1,则连续有多少个1,就表示当前字符占用多少个字节。<br>下面,还是以汉字”严”为例,演示如何实现UTF-8编码。<br>已知”严”的unicode是4E25(100111000100101),根据上表,可以发现4E25处在第三行的范围内(0000 0800-0000 FFFF),因此”严”的UTF-8编码需要三个字节,即格式是”1110xxxx 10xxxxxx 10xxxxxx”。然后,从”严”的最后一个二进制位开始,依次从后向前填入格式中的x,多出的位补0。这样就得到了,”严”的UTF-8编码是”11100100 10111000 10100101”,转换成十六进制就是E4B8A5。</p>
<h3 id="6-Unicode与UTF-8之间的转换"><a href="#6-Unicode与UTF-8之间的转换" class="headerlink" title="6. Unicode与UTF-8之间的转换"></a>6. Unicode与UTF-8之间的转换</h3><p>通过上一节的例子,可以看到”严”的Unicode码是4E25,UTF-8编码是E4B8A5,两者是不一样的。它们之间的转换可以通过程序实现。<br>在Windows平台下,有一个最简单的转化方法,就是使用内置的记事本小程序Notepad.exe。打开文件后,点击”文件”菜单中的”另存为”命令,会跳出一个对话框,在最底部有一个”编码”的下拉条。<br><img src="/p/2016-05-23-ASCII-Unicode-UTF-8.htm/2016-05-23-ASCII-Unicode-UTF-8_2.jpg"><br>里面有四个选项:ANSI,Unicode,Unicode big endian 和 UTF-8。</p>
<ul>
<li><p>1)ANSI是默认的编码方式。对于英文文件是ASCII编码,对于简体中文文件是GB2312编码(只针对Windows简体中文版,如果是繁体中文版会采用Big5码)。</p>
</li>
<li><p>2)Unicode编码指的是UCS-2编码方式,即直接用两个字节存入字符的Unicode码。这个选项用的little endian格式。</p>
</li>
<li><p>3)Unicode big endian编码与上一个选项相对应。我在下一节会解释little endian和big endian的涵义。</p>
</li>
<li><p>4)UTF-8编码,也就是上一节谈到的编码方法。</p>
</li>
</ul>
<p>选择完”编码方式”后,点击”保存”按钮,文件的编码方式就立刻转换好了。</p>
<h3 id="7-Little-endian和Big-endian"><a href="#7-Little-endian和Big-endian" class="headerlink" title="7. Little endian和Big endian"></a>7. Little endian和Big endian</h3><p>上一节已经提到,Unicode码可以采用UCS-2格式直接存储。以汉字”严”为例,Unicode码是4E25,需要用两个字节存储,一个字节是4E,另一个字节是25。存储的时候,4E在前,25在后,就是Big endian方式;25在前,4E在后,就是Little endian方式。<br>这两个古怪的名称来自英国作家斯威夫特的《格列佛游记》。在该书中,小人国里爆发了内战,战争起因是人们争论,吃鸡蛋时究竟是从大头(Big-Endian)敲开还是从小头(Little-Endian)敲开。为了这件事情,前后爆发了六次战争,一个皇帝送了命,另一个皇帝丢了王位。<br>因此,第一个字节在前,就是”大头方式”(Big endian),第二个字节在前就是”小头方式”(Little endian)。<br>那么很自然的,就会出现一个问题:计算机怎么知道某一个文件到底采用哪一种方式编码?<br>Unicode规范中定义,每一个文件的最前面分别加入一个表示编码顺序的字符,这个字符的名字叫做”零宽度非换行空格”(ZERO WIDTH NO-BREAK SPACE),用FEFF表示。这正好是两个字节,而且FF比FE大1。<br>如果一个文本文件的头两个字节是FE FF,就表示该文件采用大头方式;如果头两个字节是FF FE,就表示该文件采用小头方式。</p>
<h3 id="8-实例"><a href="#8-实例" class="headerlink" title="8. 实例"></a>8. 实例</h3><p>下面,举一个实例。<br>打开”记事本”程序Notepad.exe,新建一个文本文件,内容就是一个”严”字,依次采用ANSI,Unicode,Unicode big endian 和 UTF-8编码方式保存。<br>然后,用文本编辑软件<a href="http://www.google.cn/search?aq=t&oq=UltraEdit&complete=1&hl=zh-CN&newwindow=1&rlz=1B3GGGL_zh-CNCN216CN216&q=ultraedit+%E4%B8%8B%E8%BD%BD&btnG=Google+%E6%90%9C%E7%B4%A2&meta=">UltraEdit</a>中的”十六进制功能”,观察该文件的内部编码方式。</p>
<ul>
<li><p>1)ANSI:文件的编码就是两个字节”D1 CF”,这正是”严”的GB2312编码,这也暗示GB2312是采用大头方式存储的。</p>
</li>
<li><p>2)Unicode:编码是四个字节”FF FE 25 4E”,其中”FF FE”表明是小头方式存储,真正的编码是4E25。</p>
</li>
<li><p>3)Unicode big endian:编码是四个字节”FE FF 4E 25”,其中”FE FF”表明是大头方式存储。</p>
</li>
<li><p>4)UTF-8:编码是六个字节”EF BB BF E4 B8 A5”,前三个字节”EF BB BF”表示这是UTF-8编码,后三个”E4B8A5”就是”严”的具体编码,它的存储顺序与编码顺序是一致的。</p>
</li>
</ul>
<h3 id="9-延伸阅读"><a href="#9-延伸阅读" class="headerlink" title="9. 延伸阅读"></a>9. 延伸阅读</h3><ul>
<li><a href="http://www.joelonsoftware.com/articles/Unicode.html">The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets(关于字符集的最基本知识)</a></li>
<li><a href="http://www.pconline.com.cn/pcedu/empolder/gj/other/0505/616631.html">谈谈Unicode编码</a></li>
<li><a href="http://www.ietf.org/rfc/rfc3629.txt">RFC3629:UTF-8, a transformation format of ISO 10646(如果实现UTF-8的规定)</a><br>(完)</li>
</ul>
<blockquote>
<p>转载自 :<a href="http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.html" title="字符编码笔记:ASCII,Unicode和UTF-8">字符编码笔记:ASCII,Unicode和UTF-8</a></p>
</blockquote>
]]></content>
<categories>
<category>字符编码</category>
</categories>
<tags>
<tag>Unicode - ASCII - UTF-8 - 字符编码</tag>
</tags>
</entry>
<entry>
<title>技术类博客网站推荐</title>
<url>//p/2016-05-26-blog-recommended.html</url>
<content><![CDATA[<p>首先呢,就是推荐技术类网站</p>
<span id="more"></span>
<p>CSDN<br>51CTO<br>itEye<br>cnBlogs<br>BlogJava<br>BlogRead<br>ChinaUnix<br>Github<br>OSCHINA(oschina)<br>ITPUB(itpub)<br>精华网站:<br>伯乐在线<br>ImportNew<br>Segmentfault<br>InfoQ<br>V2EX<br>互联网网站团队博客:<br>业界大牛的个人博客推荐:<br>互联网,科技博客推荐<br>国内科技博客:<br>本文参考来自,更多详细请参考:</p>
<blockquote>
<p>转载自:<a href="http://my.oschina.net/wxfvm/blog/350232">技术类博客网站推荐</a></p>
</blockquote>
]]></content>
<categories>
<category>闲谈</category>
</categories>
<tags>
<tag>博客</tag>
</tags>
</entry>
<entry>
<title>UltraEdit的配置</title>
<url>//p/2016-05-25-set-UltraEdit.html</url>
<content><![CDATA[<h3 id="1-解决-禁止自动生成同名bak文件"><a href="#1-解决-禁止自动生成同名bak文件" class="headerlink" title="1.解决:禁止自动生成同名bak文件"></a>1.解决:禁止自动生成同名bak文件</h3><span id="more"></span>
<p><img src="/p/2016-05-25-set-UltraEdit.htm/UltraEdit%E9%85%8D%E7%BD%AE_1.png"></p>
<h3 id="2-解决-禁止总是提醒”希望转换file到dos格式吗”"><a href="#2-解决-禁止总是提醒”希望转换file到dos格式吗”" class="headerlink" title="2.解决:禁止总是提醒”希望转换file到dos格式吗”"></a>2.解决:禁止总是提醒”希望转换file到dos格式吗”</h3><p><img src="/p/2016-05-25-set-UltraEdit.htm/UltraEdit%E9%85%8D%E7%BD%AE_2.png"></p>
]]></content>
<categories>
<category>软件&配置</category>
</categories>
<tags>
<tag>UltraEdit</tag>
</tags>
</entry>
<entry>
<title>MyEclipse 异常 Subversion Native Library Not Available解决方案</title>
<url>//p/2016-07-03-Subversion-Native-Library-Not-Available.html</url>
<content><![CDATA[<span id="more"></span>
<p>Windows=><br><img src="/p/2016-07-03-Subversion-Native-Library-Not-Available.htm/2016-07-03-Subversion-Native-Library-Not-Available1.png"><br><a href="http://blog.csdn.net/zp357252539/article/details/44880319">http://blog.csdn.net/zp357252539/article/details/44880319</a></p>
]]></content>
<categories>
<category>异常处理</category>
</categories>
<tags>
<tag>Exception - MyEclipse</tag>
</tags>
</entry>
<entry>
<title>MyEclipse2015 Stable 2.0下载+破解+优化+插件安装教程</title>
<url>//p/2016-08-18-MyEclipse-crack.html</url>
<content><![CDATA[<h2 id="写在前面"><a href="#写在前面" class="headerlink" title="写在前面:"></a>写在前面:</h2><p>MyEclipse2015下载可以到MyEclipse中文网,下载官方安装包.<br>本教程适用于Windows系统.<br>鉴于MyEclipse2016处于开发测试期也许不稳定,本人推荐使用MyEclipse2015 S2,MyEclipse2015 S3本人测试无法完美破解,会闪退如有谁解决欢迎联系.<br><a href="http://www.myeclipsecn.com/download/">MyEclipse中文网:http://www.myeclipsecn.com/download/</a><br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack1.png"></p>
<span id="more"></span>
<hr>
<h2 id="MyEclipse安装包-破解工具-破解教程下载地址"><a href="#MyEclipse安装包-破解工具-破解教程下载地址" class="headerlink" title="MyEclipse安装包+破解工具+破解教程下载地址:"></a>MyEclipse安装包+破解工具+破解教程下载地址:</h2><p>推荐百度云链接:<a href="http://pan.baidu.com/s/1kVNfxZp">http://pan.baidu.com/s/1kVNfxZp</a> 密码:1woj<br>推荐360云链接 : <a href="https://yunpan.cn/cMyYvRhRnYtQD">https://yunpan.cn/cMyYvRhRnYtQD</a> 访问密码 716e<br>官网链接(只有安装包):<a href="http://pan.baidu.com/s/1nvOwzB7">http://pan.baidu.com/s/1nvOwzB7</a> 密码: zvuv</p>
<hr>
<h2 id="安装破解教程"><a href="#安装破解教程" class="headerlink" title="安装破解教程:"></a>安装破解教程:</h2><ol>
<li>安装MyEclipse之后切记不要打开.安装目录不要有中文和空格</li>
<li>打开myeclipse2015_keygen下的crack.bat,Usercode需要自己填写,这个随意</li>
<li>然后SystemId需要点击按键生成——这个如果提示 Cannot find JNIWrapper native library (jniwrap.dll) in java.library.path:<br> 这样的错误,不要紧,再点一下应该就出来了,还是没有的话请注意权限问题(主要是Mac和Linux)</li>
<li>工作空间需要用新的,不要用旧版本的了——如果你是Stable1.0破解过,正常用的工作空间也可以</li>
<li>推荐选择Bling版本,最强大版本</li>
<li>在算号器填好Usercode,并生成了SystemId后,点Active</li>
<li>在Tools点SaveProperites把注册码保存到文件</li>
<li>把补丁包(patch)里的plugins复制到MyEclipse的plugins覆盖原文件</li>
<li>最后一步,MyEclipse的安装目录下:<br>\plugins\com.genuitec.eclipse.mobile.phonegap.core_13.0.0.me201504281437\bin\com\genuitec\eclipse\mobile\phonegap\core\internal<br>和\plugins\com.genuitec.eclipse.mobile.phonegap.core_13.0.0.me201504281437\com\genuitec\eclipse\mobile\phonegap\core\internal两个目录下的都要删除<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack2.png"><br>一共4个内部类,<strong>注意,带$符号的</strong>,切记一定要删掉</li>
<li>破解完成,可以使用了.有问题请留言.</li>
</ol>
<h2 id="MyEclipse优化"><a href="#MyEclipse优化" class="headerlink" title="MyEclipse优化"></a>MyEclipse优化</h2><ol>
<li>建议新建一个工作空间,路径不要有中文和空格.</li>
<li>更改代码字体,推荐Inconsolata字体,系统自带字体太累眼睛<br> 最适合程序员编程的10款字体和简介下载地址:<br> 链接:<a href="http://pan.baidu.com/s/1hr9yfqO">http://pan.baidu.com/s/1hr9yfqO</a> 密码:krpd<br> <a href="http://www.iplaysoft.com/top10-programming-fonts.html">在线简介:http://www.iplaysoft.com/top10-programming-fonts.html</a><br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack3.png"></li>
<li>Tomcat安装:推荐在官网下载绿色版Tomcat压缩包,解压就可以使用<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack4.png"></li>
<li>关于汉化,虽然网上有汉化包,但是个人不建议汉化,毕竟选择了编程.</li>
<li>更改JSP页面默认编码为UTF-8<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack5.png"></li>
<li>更改MyEclipse编码格式为UTF-8,默认为GBK<br>设置文件编码<br>1.点击Window->preferences,在左边树菜单中,选择General->Content Types->Text,点击text显示下拉树列表<br>2.修改Java Properties File、JavaScript、JSP为UTF-8格式,这儿要注意:修改完一项之后,一定要点击右边的 update 按钮,要不然没更新<br>3.在左边树菜单中选择Myeclipse->Files and Editors,分别点击以下菜单HTML、JSP、JavaScript、修改各自的Encoding为UTF-8,点击Apply应用<br><a href="http://blog.csdn.net/u013428259/article/details/51376713">http://blog.csdn.net/u013428259/article/details/51376713</a><br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack6.png"></li>
<li>安装额外的JDK<br>紧接着,在Window –> Preferences –> Java –> Compiler<br>选择JDK编译器级别为1.8,点击Apply。<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack7.png"></li>
<li>取消MyEclipse在启动时自动验证项目配置文件<br>默认情况下MyEclipse在启动的时候会自动验证每个项目的配置文件,这是一个非常耗时的过程,可以在Preferences窗口依次选择 MyEclipse - Validation,然后在右侧的Validator列表中只保留 Manual 项就可以了。如果需要验证的时候只需要选中文件,然后右键选择 MyEclipse - Run Validation就可以了。把除了manual 下面的全部点掉,build下只留 classpath dependency Validator<br>手工验证方法:<br>在要验证的文件上,单击鼠标右键–>myeclipse–>run validation<br>除XML和JSF外,其它的都可以不选。<br>点击Apply按钮,会弹出Validation Settings Changed提示。<br>可以把所有Build部分的钩取消掉。<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack8.png"></li>
<li>拼写检查会给我们带来不少的麻烦,我们的方法命名都会是单词的缩写,他也会提示有错,所以最好去掉,没有多大的用处<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack9.png"></li>
<li>myeclipse 打开 jsp 的默认编辑器不好,会同时打开预览,把默认改成 MyEclipse JSP Editor.<br>考虑到性能,通常如下设置:<br><em>.htm,</em>.html设置为MyEclipse HTML Editor (locked by‘HTML’ content type)<br>*.jsp 设置MyEclipse JSP Editor (locked by‘CSS JSP’ content type)<br>*.xml 设置为MyEclipse XML Editor (locked by‘XML’ content type)<br>设置方法为点击相应的格式,在下面的列表中选择相应编集器名称,然后点击default即可<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack10.png"></li>
<li>禁用myeclipse updating indexes<br>MyEclipse 总是不停的在 Update index,研究发现Update index…是Maven在下载更新,但很是影响myeclipse的使用速度.禁用办法如下:Window => Preferences => Myeclipse => Maven4Myeclipse => Maven=>取消勾选的Download repository index updates on startup且Maven JDK也选择JDK8。<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack11.png"></li>
<li>去除不需要加载的模块<br>一个系统20%的功能往往能够满足80%的需求,MyEclipse也不例外,我们在大多数时候只需要20%的系统功能,所以可以将一些不使用的模块禁止加载启动。通过Windows - Preferences打开配置窗口,依次选择左侧的General - Startup and Shutdown,这个时候在右侧就显示出了Eclipse启动时加载的模块,可以根据自己的实际情况去除一些模块。<br>windows–>perferences–>general–>startup and shutdown<br>关掉没用的启动项:<br>怎样才能知道哪些启动项有用呢?我现在把我知道的启动项用处说一下,还有很多不懂的,希望大家懂的回复在下面啊:WTP :一个跟myeclipse差不多的东西,主要差别是 WTP 是免费的,如果使用myeclipse,这个可以取消Mylyn:组队任务管理工具,类似于 CVS ,以任务为单位管理项目进度,没用到的可以取消Derby:一种保存成 jar 形式的数据库,我没用到,取消一大排以 MyEclipse EASIE 打头的启动项:myeclipse 支持的服务器,只选自己用的,其他取消,比如我只选了tomcat<br>可以关掉的启动项有:<br>JSF辅助开发插件<br>1)ICEfaces Integration for MyEclipse;<br>2)JSF Editor Preview Support for MyEclipse;<br>交付相关的插件<br>3)Delivery Runtime JRE<br>4)Delivery Package Runtime UI等3个<br>5)m2e Marketplace;<br>6)Mylyn Tasks UI和Mylyn Team UI;<br>关闭自动更新<br>7)Equinox Provisioning Platform Automatic Update Support<br>取消下列项:<br>MyEclipse QuickSetup<br>MyEclipse Deby<br>MyEclipse EASIE开头的,只保留你使用的tomcat 5或6或7<br>MyEclipse examples<br>WTP Webservice UI plug-in<br>Automatic update scheduler<br>然后点击Apply<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack12.png"></li>
<li>新建JSP模板<br><a href="http://bsr1983.iteye.com/blog/1825808">http://bsr1983.iteye.com/blog/1825808</a><br>我的JSP模板代码如下.<figure class="highlight java"><table><tr><td class="code"><pre><span class="line"><%@ page contentType=<span class="string">"text/html; charset=utf-8"</span> language=<span class="string">"java"</span> <span class="keyword">import</span>=<span class="string">"java.util.*,java.sql.*"</span> errorPage=<span class="string">""</span> pageEncoding=<span class="string">"UTF-8"</span>%></span><br><span class="line"><%</span><br><span class="line"><span class="type">String</span> <span class="variable">path</span> <span class="operator">=</span> request.getContextPath();</span><br><span class="line"><span class="type">String</span> <span class="variable">basePath</span> <span class="operator">=</span> request.getScheme()+<span class="string">"://"</span>+request.getServerName()+<span class="string">":"</span>+request.getServerPort()+path+<span class="string">"/"</span>;</span><br><span class="line">%></span><br><span class="line"><!doctype html></span><br><span class="line"><html></span><br><span class="line"> <head></span><br><span class="line"> <meta charset=<span class="string">"utf-8"</span>></span><br><span class="line"> <base href=<span class="string">"<%=basePath%>"</span>></span><br><span class="line"> </span><br><span class="line"> <title>My JSP</title></span><br><span class="line"> <meta http-equiv=<span class="string">"pragma"</span> content=<span class="string">"no-cache"</span>></span><br><span class="line"> <meta http-equiv=<span class="string">"cache-control"</span> content=<span class="string">"no-cache"</span>></span><br><span class="line"> <meta http-equiv=<span class="string">"expires"</span> content=<span class="string">"0"</span>> </span><br><span class="line"> <meta http-equiv=<span class="string">"keywords"</span> content=<span class="string">"keyword1,keyword2,keyword3"</span>></span><br><span class="line"> <meta http-equiv=<span class="string">"description"</span> content=<span class="string">"This is my page"</span>></span><br><span class="line"> <!--</span><br><span class="line"> <link rel=<span class="string">"stylesheet"</span> type=<span class="string">"text/css"</span> href=<span class="string">"styles.css"</span>></span><br><span class="line"> --></span><br><span class="line"> </head></span><br><span class="line"></span><br><span class="line"> <body></span><br><span class="line"> <h1> This is my JSP page.</h1> <br></span><br><span class="line"> </body></span><br><span class="line"></html></span><br></pre></td></tr></table></figure></li>
<li>额外阅读:<br><a href="http://www.360doc.com/content/14/0321/13/8072791_362437511.shtml" title="MyEclipse优化设置(最详细版本)">http://www.360doc.com/content/14/0321/13/8072791_362437511.shtml</a><br><a href="https://www.evget.com/article/2015/4/29/22307.html">https://www.evget.com/article/2015/4/29/22307.html</a></li>
</ol>
<h2 id="插件安装"><a href="#插件安装" class="headerlink" title="插件安装"></a>插件安装</h2><ol>
<li>SVN安装,本人采用离线link安装的方式安装的SVN1.6<br> 1.1.官网下载地址:<a href="http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240">http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240</a><br> 1.2.从网下载site-1.6.18.zip文件<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack13.png"><br> 1.3.从中解压出features与 plugins文件夹,复制到D:\myPlugins\svn里面,其实是硬盘任意文件夹,其它的*.xml文件不要。<br> 1.4.在D:\zsoftware\MyEclipse2015\dropins(MyEclipse安装目录)下新建文件svn.link,内容是:path=D:\myPlugins\svn保存。<br> 1.5.(味素:这一步不确定,先不要删除)删除E:\MyEclipse\MyEclipse8.5\configuration \org.eclipse.update文件夹<br> 1.6.重启myeclipse就一切正常了。<br><img src="/p/2016-08-18-MyEclipse-crack.htm/2016-08-18-MyEclipse-crack14.png"></li>
</ol>
]]></content>
<categories>
<category>软件&配置</category>
</categories>
<tags>
<tag>MyEclipse</tag>
</tags>
</entry>
<entry>
<title>我回来了</title>
<url>//p/2017-09-22-i-back.html</url>
<content><![CDATA[<p>好久不见</p>
<span id="more"></span>
<p>时间过得好快,我胖了…</p>
<p>时间过得好快,我又胖了…</p>
]]></content>
<categories>
<category>杂文</category>
</categories>
<tags>
<tag>闲谈</tag>
</tags>
</entry>
<entry>
<title>WIN10的安装与优化设置</title>
<url>//p/2016-08-24-win10-install.html</url>
<content><![CDATA[<span id="more"></span>
<h2 id="启动盘的制作"><a href="#启动盘的制作" class="headerlink" title="启动盘的制作"></a>启动盘的制作</h2><p>234</p>
]]></content>
<categories>
<category>Windows</category>
</categories>
<tags>
<tag>Windows 10</tag>
</tags>
</entry>
<entry>
<title>Hello World</title>
<url>//p/2016-05-18-hello-world.html</url>
<content><![CDATA[<p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
<span id="more"></span>
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">$ hexo new <span class="string">"My New Post"</span></span><br></pre></td></tr></table></figure>
<p>More info: <a href="https://hexo.io/docs/writing.html">Writing</a></p>
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
<p>More info: <a href="https://hexo.io/docs/server.html">Server</a></p>
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
<p>More info: <a href="https://hexo.io/docs/generating.html">Generating</a></p>
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>
<p>More info: <a href="https://hexo.io/docs/deployment.html">Deployment</a></p>
]]></content>
<categories>
<category>杂文</category>
</categories>
<tags>
<tag>Hello World</tag>
</tags>
</entry>
</search>