Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·807 lines (424 loc) · 27.1 KB
/
Copy pathindex.html
File metadata and controls
executable file
·807 lines (424 loc) · 27.1 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
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
<!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="dijkst">
<meta name="description" content="BlueLock turns your iPhone into a key that can lock/unlock your Mac. Strategy is quite simple: One app for your Mac, and one for your iPhone. …">
<!-- 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://dijkst.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/libs/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">
-->
<link href="/stylesheets/google-fonts.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39546615-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body >
<header role="banner"><hgroup>
<h1><a href="/">第九块石头</a></h1>
</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="https://www.google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:dijkst.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>
</ul>
</nav>
<div id="main">
<div id="content">
<div class="blog-index">
<article>
<header>
<h1 class="entry-title"><a href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.en/">BlueLock Release v1.0.6</a></h1>
<p class="meta">
<time datetime="2015-02-14T13:35:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2015-02-14T13:35:00+08:00'><span class='date'>2015/02/14</span> <span class='time'>13:35</span></time></time>
| <a href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.en/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>BlueLock turns your iPhone into a key that can lock/unlock your Mac.</p>
<p>Strategy is quite simple:</p>
<blockquote><ul>
<li>One app for your Mac, and one for your iPhone.</li>
<li>BlueLock automatically locks your Mac, when you walk away with your iPhone.</li>
<li>Once you come back, it unlocks your Mac.</li>
</ul>
</blockquote>
<p>Features</p>
<blockquote><ol>
<li>Simple: just a single button, which turns your iPhone into a key for your Mac.</li>
<li>Easy: fast connect, start the app on your Mac, click on one button in your iPhone to proceed.</li>
<li>No Worry: running in the background, you can turn off it from Background App Refresh.</li>
<li>Low Energy: Bluetooth 4.0, leave the app running all day long, cost lower power consumption than sending a single message.</li>
<li>Small Size: 500KB for iPhone and 1MB for the Mac, pretty much the smallest software among the similar section.</li>
</ol>
</blockquote>
</div>
<footer>
<a rel="full-article" href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.en/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.cn/">BlueLock Release v1.0.6</a></h1>
<p class="meta">
<time datetime="2015-02-14T13:35:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2015-02-14T13:35:00+08:00'><span class='date'>2015/02/14</span> <span class='time'>13:35</span></time></time>
| <a href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.cn/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>BlueLock 能够让你的 iPhone 变成 Mac 的钥匙:当离开的时候,自动锁定你的 Mac;当回到 Mac 前,会自动帮你输入解锁密码!</p>
<p>亮点:</p>
<blockquote><ol>
<li>简洁:无任何多余功能,iPhone 仅仅作为一个蓝牙钥匙,只有一个配对按钮;</li>
<li>方便:快速配对,只需启动 Mac 端配对功能,iPhone 即可一键配对;</li>
<li>省心:纯后台执行,不想用了,只需要从后台列表中关闭即可;</li>
<li>省电:采用蓝牙4.0技术,运行一天所消耗的电量比发送一条短信消耗的电量还低;</li>
<li>小巧:iPhone 端 500KB 、Mac 端 1MB 的体积使 BlueLock 成为目前同类软件中最小的一款。</li>
</ol>
</blockquote>
</div>
<footer>
<a rel="full-article" href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.cn/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2014/09/29/rang-xcode-zeng-jia-duo-sdk-zhi-chi/">让 Xcode 增加多 SDK 支持</a></h1>
<p class="meta">
<time datetime="2014-09-29T17:21:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-09-29T17:21:00+08:00'><span class='date'>2014/09/29</span> <span class='time'>17:21</span></time></time>
| <a href="/blog/2014/09/29/rang-xcode-zeng-jia-duo-sdk-zhi-chi/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>Xcode 更新换代的时候,也就是 iOS 升级的时候,由于总总原因,可能需要对新的 iOS 做系统兼容,但是这个过程中,往往需要同时以旧的 Xcode 进行编译与发布。</p>
<p>这就出现一个比较头疼的问题——Xcode 共存!</p>
<p>由于 Xcode 是通过 AppStore 自动更新的,往往会覆盖旧版本的 Xcode。当然,我们可以在升级 Xcode 之前将 Xcode 复制出来一个备份,再升级。这样就有两个 Xcode 了!</p>
<p>突然想,编译本质上就是 SDK 不同,我们直接把旧版本的 SDK 放到新版本的 Xcode 里面不就可以了吗?</p>
<p>想到 Xcode 的 target 里面可以设置 <code>Base SDK</code>,默认不都是 <code>Latest SDK</code> 吗?下拉列表里面还真没有旧版本的 SDK,哪怕安装了旧版本的 Xcode。</p>
<p>于是到旧版本 Xcode 里面找到旧版本的 SDK,放到新版本的 Xcode,重启 Xcode,即可选择 SDK 版本啦!</p>
<p>SDK 路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs</p>
</div>
<footer>
<a rel="full-article" href="/blog/2014/09/29/rang-xcode-zeng-jia-duo-sdk-zhi-chi/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2014/06/25/zai-qi-ta-dian-nao-shang-liu-lan-time-machine-li-shi/">在其他电脑上浏览 Time Machine 历史</a></h1>
<p class="meta">
<time datetime="2014-06-25T22:44:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-06-25T22:44:00+08:00'><span class='date'>2014/06/25</span> <span class='time'>22:44</span></time></time>
| <a href="/blog/2014/06/25/zai-qi-ta-dian-nao-shang-liu-lan-time-machine-li-shi/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>Time Machine 一般总是在后台默默的运行,一般用得也比较少,就怕有时候用上还真挽回了一条命啊~</p>
<p>但是一直有一个疑问,换了一台 Mac,那如何去找原来那台上面的备份呢?</p>
<p>今天就给我遇上了,由于换了一台 MacBook,很多东西都没迁移过来,不想用还原的方式,想全新安装新的 Mac,于是出现或多或少遗漏一些数据迁移。经过一段时间后,旧 Mac 也处理了,因为觉得要的东西都差不多迁移完成了,但是往往不可预料的发现遗漏了。这时候就想访问原来的那台电脑的 Time Machine 备份磁盘。</p>
<p>可是如何让 Mac 访问另外一台电脑的磁盘呢?折腾了好久都没找到功能,一启动 Time Machine 就进入历史浏览,压根就没机会让我选择其他磁盘。</p>
<p>上网搜索了一下,官网有给出一个答复:<a href="https://discussions.apple.com/thread/1702971">How to access Time Machine from Another Computer?</a></p>
<p>试了一下,发现这个功能藏得可真深:</p>
<ul>
<li>先把 Time Machine 这个 APP 固定到 Dock 栏(任务栏),方法就是把 Finder 里面的 APP 拖到 Dock~</li>
<li>右击 Dock 上面的 Time Machine,选择<code>浏览其他 Time Machine 磁盘</code></li>
</ul>
<p>值得注意的是,由于不是自己的备份磁盘,存在访问权限问题,有些文件是访问不了的。因此我们平时文件尽可能存放在其他路径下,不要放在个人路径下。</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2014/05/30/sourcetree-zhong-lian-jie-zhu-shi-zhong-de-issue-id-dao-kelude/">SourceTree 中链接注释中的 Issue Id 到Kelude</a></h1>
<p class="meta">
<time datetime="2014-05-30T16:30:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-05-30T16:30:00+08:00'><span class='date'>2014/05/30</span> <span class='time'>16:30</span></time></time>
| <a href="/blog/2014/05/30/sourcetree-zhong-lian-jie-zhu-shi-zhong-de-issue-id-dao-kelude/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>Mac 上用 Git 时,SourceTree 简直就是非常方便的神器。</p>
<p>今天突发奇想,每次看到 git 的 commit message 里面有 fix #xxxxx 的时候,总是不知道到底修复的是啥。必须到 issue 里面去搜索 ID 才能找到,很少麻烦!</p>
<p>在 SourceTree 中逛了一圈,发现在项目的 Settings 中有一个 <code>Commit Text Replacements</code> 功能,很有可能是我正在找寻的~</p>
<p>上网搜索了一下,官方提供了说明:<a href="https://confluence.atlassian.com/display/SOURCETREEKB/Link+to+Bitbucket+issue+tracker+from+commits">Link to Bitbucket issue tracker from commits</a></p>
<p>经过测试,这里的 Replacements 功能并不是在提交的时候替换,而是在 SourceTree 显示注释的时候进行替换。因此并不会影响我们的最终提交~</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2014/05/24/goagent-ti-shi-sslerror-eof-occurred-in-violation-of-protocol-jie-jue-ban-fa/">GoAgent 提示 SSLError:EOF Occurred in Violation of Protocol 解决办法</a></h1>
<p class="meta">
<time datetime="2014-05-24T21:31:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-05-24T21:31:00+08:00'><span class='date'>2014/05/24</span> <span class='time'>21:31</span></time></time>
| <a href="/blog/2014/05/24/goagent-ti-shi-sslerror-eof-occurred-in-violation-of-protocol-jie-jue-ban-fa/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>用 GoAgent 很长一段时间了,感觉好鸡肋,为啥,因为经常出现这个错误:</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol</span></code></pre></td></tr></table></div></figure>
<p>网上一搜一大把这个问题,就是没有解决的。</p>
<p>直接后果是大部分 https 的网站上不了!</p>
<p>今天无意中发现有人居然解决了:</p>
<p><a href="https://code.google.com/p/goagent/issues/detail?id=11385">https://code.google.com/p/goagent/issues/detail?id=11385</a></p>
<p>解决方法:</p>
<p>打开 keychain 把 GoAgent 证书从 login 移动到 system 里!</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2014/05/23/zai-calayer-shang-hua-xian-chu-xian-mo-hu-de-jie-jue-ban-fa/">在 CALayer 上画线出现模糊的解决办法</a></h1>
<p class="meta">
<time datetime="2014-05-23T20:34:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-05-23T20:34:00+08:00'><span class='date'>2014/05/23</span> <span class='time'>20:34</span></time></time>
| <a href="/blog/2014/05/23/zai-calayer-shang-hua-xian-chu-xian-mo-hu-de-jie-jue-ban-fa/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>iOS 原生的 CALayer 不支持设置四边其中一个边框,只能设置整个边框(border),因此想到设置一个属性来自己画线。可是画出来的线总感觉很奇怪,同样是 width=1 的线,底部总感觉比左右边框更粗,也更模糊,而且不是总是这样的,仔细一看,好像 width 也差不多相同,就是虚了点,感觉多了一点像素。</p>
</div>
<footer>
<a rel="full-article" href="/blog/2014/05/23/zai-calayer-shang-hua-xian-chu-xian-mo-hu-de-jie-jue-ban-fa/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2014/02/10/git-tong-bu-yuan-cheng-tags/">Git 同步远程 Tags</a></h1>
<p class="meta">
<time datetime="2014-02-10T11:35:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-02-10T11:35:00+08:00'><span class='date'>2014/02/10</span> <span class='time'>11:35</span></time></time>
| <a href="/blog/2014/02/10/git-tong-bu-yuan-cheng-tags/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>一个项目做久了,Tag 越来越多,大多时候也不怎么关心 Tag,只有需要找以前的版本才会翻查一下。</p>
<p>一不留神,发现服务器上的 Tag 好像被人整理了一下,而本地的 Tag 依然是老版本的,查了一下,似乎没有很好的方法保证服务器和本地的 tags 自动同步。</p>
<p>只好每个客户端自行本地清理自己的 tags 了:</p>
<p>git 1.7以上版本可以直接使用命令:</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>git fetch origin --prune --tags</span></code></pre></td></tr></table></div></figure>
<p>git 1.7及以下版本需要先删除所有 tags 再 fetch 一次:</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>git tag -l | xargs git tag -d
</span><span class='line'>git fetch</span></code></pre></td></tr></table></div></figure>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2014/01/16/zai-ios6-xi-tong-de-ipad-she-bei-zhong-da-kai-appstore-xia-zai-ye-mian/">在 iOS6 系统的 iPad 设备中打开 AppStore 下载页面</a></h1>
<p class="meta">
<time datetime="2014-01-16T14:58:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-01-16T14:58:00+08:00'><span class='date'>2014/01/16</span> <span class='time'>14:58</span></time></time>
| <a href="/blog/2014/01/16/zai-ios6-xi-tong-de-ipad-she-bei-zhong-da-kai-appstore-xia-zai-ye-mian/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>以前做 iPhone 的开发时,经常需要做一个功能,例如“更新 App”,点击之后跳转到 AppStore 的下载页面,然而,今天发现了一个问题:</p>
<p>我的跳转地址是 <code>itms-apps://itunes.apple.com/app/id438865278?mt=8</code>,这个地址是服务器返回的,我以前也是这么写的,应该没有问题。</p>
<p>测试的妹子说,在 iOS6 上面,该地址只能打开 AppStore 的首页,不能进入下载页面,在 iOS5 和 iOS7 中都正常,iOS6 所有设备均失败(iPad3、4、mini 等等)。</p>
<p>我尝试在 Safari 中输入该地址,发现也确实无法让 AppStore 进入下载界面。</p>
<p>在 iPhone 的 iOS6 中,正常。</p>
<p>因此估计是 iPad 的问题,上网搜了一下,发现这个问题是普遍存在的 —— 只在 iOS6 的 iPad 设备中出现!</p>
</div>
<footer>
<a rel="full-article" href="/blog/2014/01/16/zai-ios6-xi-tong-de-ipad-she-bei-zhong-da-kai-appstore-xia-zai-ye-mian/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2013/12/07/octopresszai-zshxia-wu-fa-xin-jian-bo-ke-de-wen-ti/">Octopress在zsh下无法新建博客的问题</a></h1>
<p class="meta">
<time datetime="2013-12-07T23:27:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2013-12-07T23:27:00+08:00'><span class='date'>2013/12/07</span> <span class='time'>23:27</span></time></time>
| <a href="/blog/2013/12/07/octopresszai-zshxia-wu-fa-xin-jian-bo-ke-de-wen-ti/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>转载自: <a href="http://fancyoung.com/blog/use-octopress-new-post-function-with-zsh/">http://fancyoung.com/blog/use-octopress-new-post-function-with-zsh/</a></p>
<p>执行:</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>$ rake new_post["arch-linux-reinstall-glibc.markdown"]`</span></code></pre></td></tr></table></div></figure>
<p>报错:</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>zsh: no matches found: new_post[arch-linux-reinstall-glibc]</span></code></pre></td></tr></table></div></figure>
<p>原因:zsh中若出现‘*’, ‘(’, ‘|’, ‘<’, ‘[’, or ‘?’符号,则将其识别为查找文件名的通配符</p>
</div>
<footer>
<a rel="full-article" href="/blog/2013/12/07/octopresszai-zshxia-wu-fa-xin-jian-bo-ke-de-wen-ti/">Read on →</a>
</footer>
</article>
<div class="pagination">
<a class="prev" href="/posts/2">← Older</a>
<a href="/blog/archives">Blog Archives</a>
</div>
</div>
<aside class="sidebar">
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
<li class="post">
<a href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.en/">BlueLock Release v1.0.6</a>
</li>
<li class="post">
<a href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.cn/">BlueLock Release v1.0.6</a>
</li>
<li class="post">
<a href="/blog/2014/09/29/rang-xcode-zeng-jia-duo-sdk-zhi-chi/">让 Xcode 增加多 SDK 支持</a>
</li>
<li class="post">
<a href="/blog/2014/06/25/zai-qi-ta-dian-nao-shang-liu-lan-time-machine-li-shi/">在其他电脑上浏览 Time Machine 历史</a>
</li>
<li class="post">
<a href="/blog/2014/05/30/sourcetree-zhong-lian-jie-zhu-shi-zhong-de-issue-id-dao-kelude/">SourceTree 中链接注释中的 issue id 到Kelude</a>
</li>
</ul>
</section>
<section>
<h1>Categories</h1>
<ul id="category-list"><li><a href='/blog/categories/bash/'>bash (3)</a></li><li><a href='/blog/categories/git/'>git (2)</a></li><li><a href='/blog/categories/ios/'>ios (29)</a></li><li><a href='/blog/categories/linux/'>linux (3)</a></li><li><a href='/blog/categories/mac/'>mac (3)</a></li><li><a href='/blog/categories/octopress/'>octopress (1)</a></li><li><a href='/blog/categories/osx/'>osx (7)</a></li><li><a href='/blog/categories/ruby/'>ruby (2)</a></li><li><a href='/blog/categories/sqlite/'>sqlite (2)</a></li><li><a href='/blog/categories/windows/'>windows (2)</a></li><li><a href='/blog/categories/xcode/'>xcode (1)</a></li><li><a href='/blog/categories/sheng-huo-sui-bi/'>生活随笔 (1)</a></li><li><a href='/blog/categories/suan-fa/'>算法 (1)</a></li><li><a href='/blog/categories/jie-jue-wen-ti/'>解决问题 (1)</a></li></ul>
</section>
<section>
<h1>My iOS Apps</h1>
<ul id="appstore-apps"><style type="text/css">
.flip-container, .front, .back {
width: 120px;
height: 120px;
}
.flip-container {
-webkit-perspective: 1000;
-moz-perspective: 1000;
perspective: 1000;
}
.flip-container:hover .flipper, .flip-container.hover .flipper {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
transform: rotateY(180deg);
}
.flipper {
-webkit-transition: 0.6s;
-webkit-transform-style: preserve-3d;
-moz-transition: 0.6s;
-moz-transform-style: preserve-3d;
transition: 0.6s;
transform-style: preserve-3d;
position: relative;
}
.front, .back {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
}
.front {
z-index: 2;
}
.back {
z-index: 20;
transform: rotateY(180deg);
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
}
</style>
<li>
<div align='center'>
<div class="flip-container" ontouchstart='this.classList.toggle('hover');' style='margin-bottom: 10px'>
<div class="flipper" style='text-align: center' align='center'>
<div class='front'>
<a class='com-sidetrip-wikish' href='https://itunes.apple.com/cn/app/duckipedia-wikipedia-reader/id626825945?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
<img id='img_com-sidetrip-wikish' src='http://a1863.phobos.apple.com/us/r30/Purple2/v4/55/7d/c0/557dc03e-cd9c-ac75-e2a7-78242ea50c79/mzl.vpfmgtuy.png' class='com-sidetrip-wikish' style='width:120px; height:120px; border: 0em; border-radius:22px' />
</a>
</div>
<div class='back'>
<a class='com-sidetrip-wikish' href='https://itunes.apple.com/cn/app/duckipedia-wikipedia-reader/id626825945?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
<img id='img_com-sidetrip-wikish_qr' src='https://api.qrserver.com/v1/create-qr-code/?size=120x120&margin=10&color=165B94&data=https://itunes.apple.com/cn/app/duckipedia-wikipedia-reader/id626825945?mt=8&uo=4' class='com-sidetrip-wikish' style='width:120px; height:120px; border: 0em; border-radius:22px' />
</a>
</div>
</div>
</div>
<div>
<p style='text-align: center'>
Duckipedia - A Wikipedia Reader
</p>
</div>
</div>
</li>
<li>
<div align='center'>
<div class="flip-container" ontouchstart='this.classList.toggle('hover');' style='margin-bottom: 10px'>
<div class="flipper" style='text-align: center' align='center'>
<div class='front'>
<a class='com-jamesmyg-cinderellacocohd' href='https://itunes.apple.com/cn/app/mo-fa-hui-gu-niang/id632544908?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
<img id='img_com-jamesmyg-cinderellacocohd' src='http://a153.phobos.apple.com/us/r30/Purple2/v4/28/4f/82/284f823d-1ec5-d58c-e231-a39157e279f7/mzl.zlpotobi.png' class='com-jamesmyg-cinderellacocohd' style='width:120px; height:120px; border: 0em; border-radius:22px' />
</a>
</div>
<div class='back'>
<a class='com-jamesmyg-cinderellacocohd' href='https://itunes.apple.com/cn/app/mo-fa-hui-gu-niang/id632544908?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
<img id='img_com-jamesmyg-cinderellacocohd_qr' src='https://api.qrserver.com/v1/create-qr-code/?size=120x120&margin=10&color=165B94&data=https://itunes.apple.com/cn/app/mo-fa-hui-gu-niang/id632544908?mt=8&uo=4' class='com-jamesmyg-cinderellacocohd' style='width:120px; height:120px; border: 0em; border-radius:22px' />
</a>
</div>
</div>
</div>
<div>
<p style='text-align: center'>
魔法灰姑娘
</p>
</div>
</div>
</li>
<li>
<div align='center'>
<div class="flip-container" ontouchstart='this.classList.toggle('hover');' style='margin-bottom: 10px'>
<div class="flipper" style='text-align: center' align='center'>
<div class='front'>
<a class='com-luobo-blelock' href='https://itunes.apple.com/cn/app/bluelock/id958057367?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
<img id='img_com-luobo-blelock' src='http://a342.phobos.apple.com/us/r30/Purple3/v4/cc/4c/de/cc4cdeb5-e5dd-29c8-da7c-1e15546dcf75/pr_source.png?downloadKey=1427026158_211df2f3c3768658ecb556b3a3f59514' class='com-luobo-blelock' style='width:120px; height:120px; border: 0em; border-radius:22px' />
</a>
</div>
<div class='back'>
<a class='com-luobo-blelock' href='https://itunes.apple.com/cn/app/bluelock/id958057367?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
<img id='img_com-luobo-blelock_qr' src='https://api.qrserver.com/v1/create-qr-code/?size=120x120&margin=10&color=165B94&data=https://itunes.apple.com/cn/app/bluelock/id958057367?mt=8&uo=4' class='com-luobo-blelock' style='width:120px; height:120px; border: 0em; border-radius:22px' />
</a>
</div>
</div>
</div>
<div>
<p style='text-align: center'>
BlueLock
</p>
</div>
</div>
</li>
</ul>
</section>
<section>
<h1>My Friends</h1>
<ul id="category-list">
<li><a href="http://www.doruby.com">Square</a> <small>ruby & objc</small></li>
<li><a href="http://manageyp.github.io">Henry</a> <small>You can do well, you must do well.</small></li>
</ul>
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
Copyright © 2018 - dijkst -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
</footer>
</body>
</html>