forked from Pazzilivo/pazzilivo.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatom.xml
More file actions
455 lines (309 loc) · 22.8 KB
/
atom.xml
File metadata and controls
455 lines (309 loc) · 22.8 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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[Ashley Pazzilivo]]></title>
<link href="http://Pazzilivo.github.com/atom.xml" rel="self"/>
<link href="http://Pazzilivo.github.com/"/>
<updated>2016-01-09T11:21:58+08:00</updated>
<id>http://Pazzilivo.github.com/</id>
<author>
<name><![CDATA[Pazzilivo]]></name>
</author>
<generator uri="http://octopress.org/">Octopress</generator>
<entry>
<title type="html"><![CDATA[2015 这一年]]></title>
<link href="http://Pazzilivo.github.com/blog/2016/01/09/2015-year-in-review/"/>
<updated>2016-01-09T11:04:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2016/01/09/2015-year-in-review</id>
<content type="html"><![CDATA[<p>2015年的最后一晚,失眠了,写一下年终总结,去年没写,忘记为什么了,可能是更忙吧……</p>
<h3>一、工作</h3>
<p>每天都很忙碌,我已经不太记得上半年发生的事了。</p>
<p>上半年写不仅写 web 和 mobile 还要写 admin 的前端,一堆杂事儿,每天出 bug 会被人问候我大爷,磨练了我不要脸的意志品质。核心业务还是老金写的。后来在 etu 设计没来之前开始模块化改造,web 老金弄的挺快就上了,mobile 弄的异常纠结,前后折腾了快两个月,快到十月份才上线,期间的维护过程非常难受,而且现在还处在一个不是非常完美的状态下,有的页面加载会发起过多的请求。</p>
<p>下半年随着核心业务的稳定,我开始担负起写活动的重任。由于老金开始把工作重点转移到了 app 的开发上,网站的大部分事儿也交给我来维护了。杨阳来了以后我终于不用管后台了。燕子来了以后也分到了我一部分工作。
可以说虽然工作量不如去年同期,但是有了更大的压力和责任。</p>
<h3>二、生活</h3>
<p>今年怒涨两次工资对生活质量的改善作用是非常明显的。感谢我大哥老金给我涨工钱,买买买有了经济基础。</p>
<p>今年年中去了趟秦皇岛,年底公司组织去了趟日本,我和女票两个没坐过飞机的土鳖第一次坐飞机,第一次出国,看见了传说中的富士山。</p>
<p>感谢女票每天下班还给我做饭吃,帮我把脏衣服扔洗衣机还给我晒衣服,容忍我的各种问题。
感谢金爷和莫爷两位大哥照顾我。</p>
<p>别的好像记不起来什么了。</p>
<h3>三、一些想法</h3>
<ol>
<li>在下半年的工作中遇到了一些问题,有的时候还是需要老金帮助或者提供思路才能解决。造成这种情况的原因我觉得有以下几点原因,一是内心深处总觉得这个事儿到最后他会出来扛一下,造成了很多问题不去非常用心的思考,总会有弄不了反正也会有人弄的这种想法。二是有些问题的思考方式还是没能跳出来换个角度看,总觉得这个东西这么写怎么可能会有问题呢,造成一种思维定势。</li>
<li>今年在工作中写的新东西比较少,大部分是对老代码的维护和一些旧有逻辑的整合,而前端的变化又非常快,工作节奏过快造成了很少有时间能学习新的知识,心里压力还是很大的。而且和后端沟通的多了,越来越觉得是不是应该学习一下后端的知识。</li>
<li>今年年底时候女票已经几次跟我提起想明年结婚的事儿了。我总觉的还小,还没有准备好,但是明年就27了,好像也到了结婚的年龄了。到底怎么才算成熟了?</li>
<li>房子的事儿弄了一年也没买,然后保定房价从6k一路到了1w,马上就买不起了…… 那破地方房价能到这地步我也是服了。</li>
</ol>
<h3>四、新年的期望</h3>
<ol>
<li>我记去年跨年的时候发了一条推说今年要写个app ,结果也没能实现。希望今年能实现这个愿望。</li>
<li>在遇到问题的时候能独立的解决问题。提升自己面对压力的能力。</li>
<li>希望大家都健康吧,今年明显感觉身体不好了。</li>
</ol>
<p>难忘的2015。</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[我还活着吧]]></title>
<link href="http://Pazzilivo.github.com/blog/2014/12/14/i-am-alive/"/>
<updated>2014-12-14T02:57:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2014/12/14/i-am-alive</id>
<content type="html"><![CDATA[<p>只是证明我还活着。为了写下这句话折腾了两个小时 Ruby,最后发现是 Yosemite 不支持 1.9.2 了。</p>
<p>最近忙的要死了。</p>
<p>改了一行代码</p>
<figure class='code'><figcaption><span></span></figcaption><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='bash'><span class='line'>/Users/ash/.rvm/gems/ruby-2.0.0-p598/gems/jekyll-0.11.2/lib/jekyll/convertible.rb
</span></code></pre></td></tr></table></div></figure>
<figure class='code'><figcaption><span></span></figcaption><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='ruby'><span class='line'><span class="nb">self</span><span class="o">.</span><span class="n">content</span> <span class="o">=</span> <span class="no">File</span><span class="o">.</span><span class="n">read</span><span class="p">(</span><span class="no">File</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">base</span><span class="p">,</span> <span class="nb">name</span><span class="p">))</span>
</span></code></pre></td></tr></table></div></figure>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Kind of Lost]]></title>
<link href="http://Pazzilivo.github.com/blog/2014/03/18/lost/"/>
<updated>2014-03-18T23:18:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2014/03/18/lost</id>
<content type="html"><![CDATA[<blockquote><p> 每当我找不到存在的意义<br/>
每当我迷失在黑夜里<br/>
夜空中最亮的星<br/>
请照亮我前行</p></blockquote>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[My Study Workflow]]></title>
<link href="http://Pazzilivo.github.com/blog/2014/02/04/my-study-workflow/"/>
<updated>2014-02-04T20:51:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2014/02/04/my-study-workflow</id>
<content type="html"><![CDATA[<p><img src="http://ww2.sinaimg.cn/large/62152bc3jw1ed7np1vkshj20t708l3zq.jpg" alt="Workflow" /></p>
<h3>一、信息的来源</h3>
<ul>
<li>Web</li>
<li>Twitter</li>
<li>Weibo</li>
<li>WeChat</li>
<li>Reader</li>
</ul>
<p>我的信息来源主要是以上几种。
相比较来说 Reader 上获取的内容是最有价值的,微信的订阅也有一些比较有价值的东西。
对于我来说微博的新闻属性相比较 Twitter 更多一些,Twitter 的社交属性更强。</p>
<hr />
<h3>二、信息的处理</h3>
<ul>
<li>Readability</li>
<li>ifttt</li>
<li>nvALT</li>
</ul>
<p>ifttt 的出现使得各种网络服务之间的互通更为方便。</p>
<p>对我来说另外一个非常重要的工具是 nvALT,在我发现这个工具之前,我一直没有发现一个非常满意的方式去存储一个网页上的内容,Evernote 存储大段文字的排版那真是惨不忍睹… nvALT 的牛逼之处在于可以把一个 URL 的内容抓取转换成 markdown 格式文本。</p>
<p>Readability可以把排版非常错乱的内容变的可读,而且有移动端的支持,零碎时间可以进行阅读。</p>
<hr />
<h3>三、信息的最终存储</h3>
<ul>
<li>Evernote</li>
<li>Simplenote</li>
<li>Dropbox</li>
</ul>
<p>Evernote 现在对我的作用主要是有价值 tweets 的 archive,通过 ifttt 将 tweet 存储到一个临时的笔记本里,每周人肉将这些 tweets 存储到一个笔记本组的相应笔记本里,微博也是用 Evernote 进行类似的存储,但是国内貌似没有类似 ifttt 的服务,现行都是用 Weico Pro 直接存进去。</p>
<p>对于有价值的文章则是通过 nvALT,这个工具的牛逼之初不仅仅在于对文本的处理,这货还可以和 simplenote 进行同步,simplenote 对 markdown 合适的文本有非常好的支持,全平台的体验都非常好,而且相对于越来越臃肿的 Evernote,速度快的不是一点点~</p>
<p>另外 nvALT 的配置中可以将存储方式改为单文件模式,将存储目录改到 Dropbox 的目录下,就可以通过 Dropbox 对原始文件进行同步备份,大大提高了数据的安全性~</p>
<hr />
<p>这就是我的信息的处理方式,如果有什么更好的更好的工具一定要告诉我哦~</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[2013 Review]]></title>
<link href="http://Pazzilivo.github.com/blog/2013/12/29/2013-review/"/>
<updated>2013-12-29T14:26:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2013/12/29/2013-review</id>
<content type="html"><![CDATA[<p>我的2013年回顾</p>
<h3>一、工作和技术</h3>
<p> 今年工作主要是两大块,上半年是7699,下半年主要在写广告系统。</p>
<p> 写7699所带给我的收获主要是编码规范和前端基础上的提高。写广告系统主要写了两大部分,一部分是前端部分,一部分是后台部分。前端部分因为没有任何依赖,所以只能用原生js写,后台部分主要用的Bootstrap。广告系统是我完全经历的一个项目,积累了些经验,有了些许提高。但是整体来说还是工作不饱和~。</p>
<p> 年中的时候老金带我写了pusher,初步了接触了Node.js, backbone。自己空闲的时间也在学一些前端的新技术,整体上前端的更新很快,需要不断的学习。很多时候向read it later里存的东西变成了read it never,好羞愧~</p>
<h3>二、生活</h3>
<p> 大事件一: 和王总开始了新的冒险~</p>
<p> 啊,好像没有大事件二。。。</p>
<p> 跟公司去旅游了两次,一次去青岛,一次去滑雪~,去青岛真的好没意思。。。滑雪还是挺好玩儿的~</p>
<p> 九月份回了秦皇岛一次,见到了大学宿舍的小伙伴。。。LOL~</p>
<p> 今年买了好多电子产品,第一台 MBP,第一部 Nexus 手机,还买了个iPod~
年底给妈买了iPad mini 2~~</p>
<p> 还养了小喵~</p>
<h3>三、一些人</h3>
<p> 谢谢 <a href="https://twitter.com/tingCris">王总</a> 本着人道主义精神给我做饭。。还有 <a href="https://twitter.com/YOC_YOC">凤姐</a>。 很佩服王总的忍耐限度。。。恩</p>
<p> 谢谢 <a href="https://twitter.com/simamy">金总</a> 教我很多东西,生活上很关心我。。。当然还有其他同事也帮助我很多东西~</p>
<p> 谢谢各位室友不杀之恩。。。感恩的心~</p>
<p> 和以前的同学联系的挺少的。。。shame</p>
<h3>四、2014</h3>
<p> 希望克服拖延症,看到的东西想看的马上看完,别特么存了,存了也特么的不看,shit</p>
<p> 拜佛祖,耶稣,默罕默德,求2014少写bug。。</p>
<p> 希望家里人不要生病。爷爷奶奶身体好~</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[My Wish List]]></title>
<link href="http://Pazzilivo.github.com/blog/2013/09/06/wish-list/"/>
<updated>2013-09-06T13:56:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2013/09/06/wish-list</id>
<content type="html"><![CDATA[<h3>Mac Apps</h3>
<ul>
<li>Tweetbot for Mac – $19.99</li>
<li>Readkit – $1.99</li>
<li>OS X 10.9 – Free</li>
</ul>
<h3>Hardware</h3>
<ul>
<li>机械键盘 – 谢谢王总</li>
<li>显示器转接线 – 好像没什么用,没买</li>
</ul>
<h3>日用品</h3>
<ul>
<li>冬天穿的鞋 – 三叶草</li>
</ul>
<h3>Others</h3>
<ul>
<li>Vps或者APN – 6 Month Apn for 60 RMB</li>
</ul>
<p>心愿达成</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[忘了想说什么~]]></title>
<link href="http://Pazzilivo.github.com/blog/2013/07/25/time-goes-by/"/>
<updated>2013-07-25T22:44:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2013/07/25/time-goes-by</id>
<content type="html"><![CDATA[<p>不知道为什么今天想起来写blog~,然后华丽的忘记了我想要说什么了,那就这样吧,最近状态不好,身体也不好,早晚都得死~</p>
<p>推荐个美剧: <strong>Person of Interest</strong></p>
<p>好像又没钱了呢。。。不知道钱怎么没的。。。</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Google Reader Die]]></title>
<link href="http://Pazzilivo.github.com/blog/2013/03/14/google-reader-die/"/>
<updated>2013-03-14T17:35:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2013/03/14/google-reader-die</id>
<content type="html"><![CDATA[<p>今天 Google 宣布2005年就发布的 Google Reader将在2013年7月1日关闭,Google给出的理由是用户数量逐年下降。Google没有给出替代方案,让用户自己去寻找RSS阅读器替代品,未来四个月里可使用Google Takeout来导出Google Reader里的RSS订阅。</p>
<p>也是在今天习总当选国家主席。</p>
<p>两件事没什么联系,只是记录。</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Markdown 使用]]></title>
<link href="http://Pazzilivo.github.com/blog/2012/07/13/fuck/"/>
<updated>2012-07-13T16:09:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2012/07/13/fuck</id>
<content type="html"><![CDATA[<p>今天刚刚安装成功了一个<a href="">Octopress</a>的blog,由于需要使用<a href="">Markdown</a>语法进行编辑,所以在网上查了一些资料学习了一下,我记录一些比较常用的。</p>
<blockquote><p>Markdown 是一种轻量级标记语言,创始人为约翰·格鲁伯(John Gruber)和亚伦·斯沃茨(Aaron Swartz)。它允许人们 “使用易读易写的纯文本格式编写文档,然后转换成有效的XHTML(或者HTML)文档”。这种语言吸收了很多在电子邮件中已有的纯文本标记的特性。
Markdown 同时还是一个由 Gruber 编写的 Perl 脚本:Markdown.pl。它把用 markdown 语法编写的内容转换成有效的、结构良好的 XHTML 或 HTML 内容,并将左尖括号 <code><</code> 和 <code>&</code> 号替换成它们各自的字符实体引用。它可以用作单独的脚本,Blosxom 和 Movable Type 的插件又或者 BBEdit 的文本过滤器.</p></blockquote>
<h3>标题的形式</h3>
<pre><code># This is an H1
## This is an H2
###### This is an H6
</code></pre>
<h3>代码的形式</h3>
<p>使用 4 个以上 空格或 1 个以上 的 tab 来标记代码段落,它们将被
<code><pre></code> 和 <code><code></code> 包裹,这意味着代码段内的字体会是 monospace
家族的,并且特殊符号不会被转义。</p>
<p>如果要標記一小段行內程式碼,你可以用反引號把它包起來(`),例如:</p>
<pre><code>Use the `printf()` function.
</code></pre>
<p>如果知道是什么语言的话,可以用 <code>```javascript</code> 这样包起来,结束是三个`</p>
<h3>强调</h3>
<pre><code>*single asterisks*
_single underscores_
**double asterisks**
_double underscores__
</code></pre>
<p>貌似是不能改变字体颜色,小小遗憾</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Hello OctoPress]]></title>
<link href="http://Pazzilivo.github.com/blog/2012/07/13/hello-world/"/>
<updated>2012-07-13T15:40:00+08:00</updated>
<id>http://Pazzilivo.github.com/blog/2012/07/13/hello-world</id>
<content type="html"><![CDATA[<p>折腾了两天,终于把Blog搭建好了,过程中遇到不少问题,非常感谢twitter上 <a href="https://twitter.com/lucifr">@lucifr</a> , <a href="https://twitter.com/truthurt">@truthurt</a> ,<a href="https://twitter.com/clipppit">@clipppit</a>的热心帮助。</p>
<p><img src="http://ww1.sinaimg.cn/large/62152bc3gw1duw7actx3pj.jpg" title="Hello Octopress" alt=""Octopress"" /></p>
<p>总结一些过程中的问题主要有以下几点,希望在今后大家搭建的过程中有所帮助。</p>
<h3>1.安装RVM</h3>
<figure class='code'><figcaption><span></span></figcaption><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='sh'><span class='line'>bash -s stable < <<span class="o">(</span>curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer<span class="o">)</span>
</span></code></pre></td></tr></table></div></figure>
<p>Next add RVM to your shell as a function.</p>
<figure class='code'><figcaption><span></span></figcaption><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='sh'><span class='line'><span class="nb">echo</span> <span class="s1">'[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function'</span> >> ~/.bash_profile
</span><span class='line'><span class="nb">source</span> ~/.bash_profile
</span></code></pre></td></tr></table></div></figure>
<p><strong>PS.最好改一下配置文件,在主文件夹下边的 .bashrc文件,在最后加一行代码</strong></p>
<figure class='code'><figcaption><span></span></figcaption><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='sh'><span class='line'><span class="c"># This loads RVM into a shell session.</span>
</span><span class='line'><span class="o">[[</span> -s <span class="s2">"$HOME/.rvm/scripts/rvm"</span> <span class="o">]]</span> <span class="o">&&</span> . <span class="s2">"$HOME/.rvm/scripts/rvm"</span>
</span></code></pre></td></tr></table></div></figure>
<p>Install Ruby 1.9.2 and ensure RVM has the latest RubyGems.</p>
<figure class='code'><figcaption><span></span></figcaption><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='sh'><span class='line'>rvm install 1.9.2 <span class="o">&&</span> rvm use 1.9.2
</span><span class='line'>rvm rubygems latest
</span></code></pre></td></tr></table></div></figure>
<h3>2.安装Octopress</h3>
<figure class='code'><figcaption><span>install Octopress </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
<span class='line-number'>5</span>
<span class='line-number'>6</span>
<span class='line-number'>7</span>
<span class='line-number'>8</span>
<span class='line-number'>9</span>
</pre></td><td class='code'><pre><code class='sh'><span class='line'>git clone git://github.com/imathis/octopress.git octopress
</span><span class='line'><span class="nb">cd </span>octopress <span class="c"># If you use RVM, You'll be asked if you trust the .rvmrc file (say yes).</span>
</span><span class='line'>ruby --version <span class="c"># Should report Ruby 1.9.2</span>
</span><span class='line'>
</span><span class='line'>gem install bundler
</span><span class='line'>rbenv rehash <span class="c"># If you use rbenv, rehash to be able to run the bundle command</span>
</span><span class='line'>bundle install
</span><span class='line'>
</span><span class='line'>rake install
</span></code></pre></td></tr></table></div></figure>
<h3>3.部署</h3>
<p>申请一个你用户名命名的仓库地址,就像这样<code>username.github.com</code>,然后在终端里执行</p>
<figure class='code'><figcaption><span></span></figcaption><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='sh'><span class='line'>rake setup_github_pages
</span></code></pre></td></tr></table></div></figure>
<p>然后让你输入一个地址,这样,用户名当然得换了,注意大小写。</p>
<figure class='code'><figcaption><span></span></figcaption><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='sh'><span class='line'>git@github.com:username/username.github.com.git
</span></code></pre></td></tr></table></div></figure>
<p>静态化代码,部署</p>
<figure class='code'><figcaption><span></span></figcaption><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='sh'><span class='line'>rake generate
</span><span class='line'>rake deploy
</span></code></pre></td></tr></table></div></figure>
<p>提交到source分支</p>
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
</pre></td><td class='code'><pre><code class='sh'><span class='line'>git add .
</span><span class='line'>git commit -m <span class="s1">'blog source'</span>
</span><span class='line'>git push origin <span class="nb">source</span>
</span></code></pre></td></tr></table></div></figure>
<p>原则很简单,只要记住<code>your_local_octopress_directory</code>对应的的remote source branch,而<code>_deploy</code>对应的是remote master branch即可。</p>
<h3>4.第三方主题</h3>
<p><a href="https://github.com/imathis/octopress/wiki/3rd-Party-Octopress-Themes">Octopress Wiki Theme List</a></p>
<figure class='code'><figcaption><span>install new theme </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
</pre></td><td class='code'><pre><code class='sh'><span class='line'><span class="nv">$ </span><span class="nb">cd </span>octopress
</span><span class='line'><span class="nv">$ </span>git clone theme-git-url .themes/theme_name
</span><span class='line'><span class="nv">$ </span>rake install<span class="o">[</span><span class="s1">'theme_name'</span><span class="o">]</span>
</span><span class='line'><span class="nv">$ </span>rake generate
</span></code></pre></td></tr></table></div></figure>
<p>使用 zsh 時發生問題嗎?試試看<code>rake install\['theme_name'\]</code>。</p>
]]></content>
</entry>
</feed>