-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
565 lines (298 loc) · 15.9 KB
/
index.html
File metadata and controls
565 lines (298 loc) · 15.9 KB
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>一个人的时间简史</title>
<meta name="author" content="烂菜">
<meta name="description" content="
">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://nicecai.github.io">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/atom.xml" rel="alternate" title="一个人的时间简史" type="application/atom+xml">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/lib/jquery.min.js"%3E%3C/script%3E'))</script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
</head>
<body >
<header role="banner"><hgroup>
<h1><a href="/">一个人的时间简史</a></h1>
<h2>陌上花开</h2>
</hgroup>
</header>
<nav role="navigation"><ul class="subscription" data-subscription="rss">
<li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
</ul>
<form action="http://google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:nicecai.github.io" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
<ul class="main-navigation">
<li><a href="/">Blog</a></li>
<li><a href="/blog/archives">Archives</a></li>
<li><a href="/blog/about">About Me</a></li>
</ul>
</nav>
<div id="main">
<div id="content">
<div class="blog-index">
<article>
<header>
<h1 class="entry-title"><a href="/blog/2014/11/03/use-python-to-publish-e-book/">Use Python to Publish E-book</a></h1>
<p class="meta">
<time datetime="2014-11-03T17:41:00+08:00" pubdate data-updated="true">Nov 3<span>rd</span>, 2014</time>
| <a href="/blog/2014/11/03/use-python-to-publish-e-book/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content">
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/05/26/nsis-slash-learn-nsis-step-by-step-setuponline/">NSIS进阶教程(五)</a></h1>
<p class="meta">
<time datetime="2013-05-26T12:24:00+08:00" pubdate data-updated="true">May 26<span>th</span>, 2013</time>
| <a href="/blog/2013/05/26/nsis-slash-learn-nsis-step-by-step-setuponline/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h3>在线下载,下载后的安装,本地解压安装</h3>
<h2>前言</h2>
<blockquote><p>想做在线安装包教程已经很久了,一直找不到合适的时间,如今在一个慵懒的周末早晨终于开始了。今天晚上还要去虹口体育场看申花跟国安的比赛,还是要抓紧时间呀。
在线安装是以前教程的一个延续。</p>
<p><strong><code>意义一:</code></strong>国内很多的IT厂商在做安装包的时候首先考虑的是用户下载的时间可接受度,而一个动辄100mb的包会把用户吓跑,而且下载的入口还控制在诸如迅雷,旋风,IE,等等,稍等,还有360安全浏览器。。。你如果没有给360打个招呼,它说不定会报你的程序有毒。。。太可拍了。入口最重要,掌握在任何人手里都会成为收门票的工具。</p>
<p><strong><code>意义二:</code></strong>用户对着迅雷,旋风的界面,千遍一律,没有任何信息的展示,就是一个进度条,你丧失了在第一时间占领用户意识的契机。如果你在安装的时候有动画播放,并且让用户在安装的过程中获取产品的使用技巧,或者像广告植入一样的严肃的对待这个不起眼的时间,你会收获很多。</p></blockquote>
<h2>本篇主要讲讲以下几点:</h2>
<ul>
<li><p><strong>在线下载</strong></p></li>
<li><p><strong>下载后的安装</strong></p></li>
<li><p><strong>下载后的解压</strong></p></li>
</ul>
<p><strong>所用到的插件【新增】:</strong></p>
<ol>
<li>inetc</li>
<li>nsis7z</li>
</ol>
</div>
<footer>
<a rel="full-article" href="/blog/2013/05/26/nsis-slash-learn-nsis-step-by-step-setuponline/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/05/26/learn-nsis-step-by-step-customprogress/">NSIS进阶教程(四)</a></h1>
<p class="meta">
<time datetime="2013-05-26T11:33:00+08:00" pubdate data-updated="true">May 26<span>th</span>, 2013</time>
| <a href="/blog/2013/05/26/learn-nsis-step-by-step-customprogress/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h3>自定义目录选择,自定义进度条,自定义图片切换效果</h3>
<h2>前言</h2>
<blockquote><p>上一节中我们已经处理了有关CheckBox自定义贴图的部分,但是目录选择的部分还没有加上,这节,我们先处理一下目录的选择部分,选择完路径之后就剩下安装了,于是进度条的创建的显得很有必要,但是系统的进度条创建简单,如何改变进度条的背景色跟进度色呢,这节我们也处理掉。有关图片切换的效果的插件也有很多,但是大部分都是基于默认安装窗体进行的,如何在一个完全自定义的页面上面创建一个图片切换效果呢,这节也可以得到答案。</p></blockquote>
<h2>本篇主要讲讲以下几点:</h2>
<ul>
<li><p><strong>创建目录选择按钮与文本框</strong></p></li>
<li><p><strong>创建自定义的进度条</strong></p></li>
<li><p><strong>创建图片切换效果</strong></p></li>
</ul>
<p><strong>所用到的插件【新增】:</strong></p>
<ol>
<li><p>WebCtrl</p></li>
<li><p>SkinProgress</p></li>
<li><p>BgWorker</p></li>
</ol>
</div>
<footer>
<a rel="full-article" href="/blog/2013/05/26/learn-nsis-step-by-step-customprogress/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/05/26/learn-nsis-step-by-step-custommsgbox/">NSIS进阶教程(三)</a></h1>
<p class="meta">
<time datetime="2013-05-26T11:09:00+08:00" pubdate data-updated="true">May 26<span>th</span>, 2013</time>
| <a href="/blog/2013/05/26/learn-nsis-step-by-step-custommsgbox/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h3>自定义MessageBox,自定义页跳转,自定义CheckBox样式</h3>
<h2>前言</h2>
<blockquote><p>上一节中我们处理了Button的自定义以及Button的事件消息、协议框的创建等等,这节中我们要更加完美的要求我们的提示框也要漂亮,CheckBox也要自定义样式。有人说MessageBox在NSIS默认情况下是带边框的API窗口,是一个比较丑雏形,但是NSIS的nsDialogs插件也没有提供一个可以创建弹出窗的命令行呀,CheckBox系统自带的只能是那个默认的皮肤,如果想把CheckBox的背景改成蓝色,或者把CheckBox的勾改成爱心,把叉改成骷髅头如何去做呢?这些问题在任何一个面向对象的编程语言中都可以很容易实现,在NSIS这样局限的环境中也可以变通实现,接下来我们处理一下这些问题。</p></blockquote>
<h2>本篇主要讲讲以下几点:</h2>
<ul>
<li><p><strong>如何抛弃系统的MessageBox</strong></p></li>
<li><p><strong>如何实现自定义页面的跳转</strong></p></li>
<li><p><strong>如何用自己的贴图实现CheckBox功能</strong></p></li>
</ul>
<p><strong>所用到的插件【新增】:</strong></p>
<ol>
<li><p>FindProcDLL(查找当前进程插件)</p></li>
<li><p>KillProcDLL (关闭指定进程插件)</p></li>
</ol>
</div>
<footer>
<a rel="full-article" href="/blog/2013/05/26/learn-nsis-step-by-step-custommsgbox/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/05/25/learn-nsis-step-by-step-custombutton/">NSIS进阶教程(二)</a></h1>
<p class="meta">
<time datetime="2013-05-25T13:23:00+08:00" pubdate data-updated="true">May 25<span>th</span>, 2013</time>
| <a href="/blog/2013/05/25/learn-nsis-step-by-step-custombutton/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h3>自定义界面之Button、License窗口实现</h3>
<h2>前言</h2>
<blockquote><p>在上一节中我们粗略的处理一下无边框窗体、背景贴图、鼠标移动。这节主要是创建用于响应事件的Button以及能展示软件License的窗口,还能用Button控制软件协议的展示与否。
代码还是延续上一节的。</p></blockquote>
<h2>本篇主要讲讲以下几点:</h2>
<ul>
<li><p><strong>如何创建一个自己的按钮</strong></p></li>
<li><p><strong>如何创建一个自己的License窗口</strong></p></li>
<li><p><strong>如何用自己的按钮控制自己的License窗口事件</strong></p></li>
</ul>
<p><strong>所用到的插件:</strong></p>
<ol>
<li><p>nsDialogs</p></li>
<li><p>SkinBtn</p></li>
</ol>
</div>
<footer>
<a rel="full-article" href="/blog/2013/05/25/learn-nsis-step-by-step-custombutton/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/05/24/learn-nsis-step-by-step-noborder/">NSIS进阶教程(一)</a></h1>
<p class="meta">
<time datetime="2013-05-24T17:37:00+08:00" pubdate data-updated="true">May 24<span>th</span>, 2013</time>
| <a href="/blog/2013/05/24/learn-nsis-step-by-step-noborder/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h3>自定义界面之无边框窗体移动贴图</h3>
<h2>前言</h2>
<blockquote><p>在Windows下,有很多人想做一个完全自己把控的安装程序,想过很多种途径去实现,有人说MFC可以实现,有人说C#可以实现,有人说Delphi可以实现,有人说VB又未尝不可呢。MFC,Delphi,VB,C#都需要自己去实现打包压缩,释放,释放过程中的业务逻辑跟界面功能,是一项比较麻烦的工作,甚至于C#程序需要运行的话,还需要装dotnet Framework的runtime。NSIS制作的安装包可以运行在Win9x下,完全是WinAPI的调用,不需要额外装任何的runtime,安装包双击就能运行,本身封装了很多Win的函数,方便调用与开放接口。功能部分也是实现了基本的安装过程所需的操作,NSIS的很多Editor做到了向导模式的脚本生成,很是方便。这么好的工具能否定制开发呢,答案是肯定的。</p></blockquote>
</div>
<footer>
<a rel="full-article" href="/blog/2013/05/24/learn-nsis-step-by-step-noborder/">Read on →</a>
</footer>
</article>
<div class="pagination">
<a href="/blog/archives">Blog Archives</a>
</div>
</div>
<aside class="sidebar">
<section>
<h1>About Me</h1>
<img src="/images/me.png" alt="me"/>
<p>永远Beta</p>
</section>
<section>
<h2>Reading&&Watching</h2>
<div>
<script type="text/javascript" src="http://www.douban.com/service/badge/pylife/?show=collection&n=12&columns=3&hidelogo=yes" ></script>
</div>
</section><iframe width="100%" height="550" class="share_self" frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=550&fansRow=2&ptype=1&speed=300&skin=2&isTitle=0&noborder=1&isWeibo=1&isFans=0&uid=1829155814&verifier=f1d7678d&dpc=1"></iframe>
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
<li class="post">
<a href="/blog/2014/11/03/use-python-to-publish-e-book/">Use Python to Publish E-book</a>
</li>
<li class="post">
<a href="/blog/2013/05/26/nsis-slash-learn-nsis-step-by-step-setuponline/">NSIS进阶教程(五)</a>
</li>
<li class="post">
<a href="/blog/2013/05/26/learn-nsis-step-by-step-customprogress/">NSIS进阶教程(四)</a>
</li>
<li class="post">
<a href="/blog/2013/05/26/learn-nsis-step-by-step-custommsgbox/">NSIS进阶教程(三)</a>
</li>
<li class="post">
<a href="/blog/2013/05/25/learn-nsis-step-by-step-custombutton/">NSIS进阶教程(二)</a>
</li>
</ul>
</section>
<section>
<h1>GitHub Repos</h1>
<ul id="gh_repos">
<li class="loading">Status updating…</li>
</ul>
<a href="https://github.com/nicecai">@nicecai</a> on GitHub
<script type="text/javascript">
$(document).ready(function(){
if (!window.jXHR){
var jxhr = document.createElement('script');
jxhr.type = 'text/javascript';
jxhr.src = '/javascripts/libs/jXHR.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(jxhr, s);
}
github.showRepos({
user: 'nicecai',
count: 1,
skip_forks: true,
target: '#gh_repos'
});
});
</script>
<script src="/javascripts/github.js" type="text/javascript"> </script>
</section>
<section class="googleplus">
<h1>
<a href="https://plus.google.com/aaronckj?rel=author">
<img src="http://www.google.com/images/icons/ui/gprofile_button-32.png" width="32" height="32">
Google+
</a>
</h1>
</section>
<section>
<h1>友情链接</h1>
<a href="http://xwf.me">@桃花嘟嘟熊</a><br />
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
Copyright © 2014 - 烂菜 -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
</footer>
<script type="text/javascript">
var disqus_shortname = 'hamletsoft';
var disqus_script = 'count.js';
(function () {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>
<script type="text/javascript">
(function() {
var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true;
script.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
})();
</script>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
</body>
</html>