Skip to content

Commit 5057746

Browse files
committed
[T] add author info
1 parent 0d9257a commit 5057746

File tree

7 files changed

+140
-9
lines changed

7 files changed

+140
-9
lines changed

chapters/00-prelude.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,53 @@
11
前言
22
===
33

4+
关于作者
5+
---
6+
7+
黄峰达(Phodal Huang)是一个创客、工程师、咨询师和作家。他毕业于西安文理学院电子信息工程专业,现作为一个咨询师就职于 ThoughtWorks 深圳。长期活跃于开源软件社区 GitHub,目前专注于物联网和前端领域。
8+
9+
作为一个开源软件作者,著有 Growth、Stepping、Lan、Echoesworks 等软件。其中开源学习应用 Growth,广受读者和用户好评,可在 APP Store 及各大 Android 应用商店下载。
10+
11+
作为一个技术作者,著有《自己动手设计物联网》(电子工业出版社)、《全栈应用开发:精益实践》(电子工业出版社,正在出版)。并在 GitHub 上开源有《Growth: 全栈增长工程师指南》、《GitHub 漫游指南》等七本电子书。
12+
13+
作为技术专家,他为英国 Packt 出版社审阅有物联网书籍《Learning IoT》、《Smart IoT》,前端书籍《Angular 2 Serices》、《Getting started with Angular》等技术书籍。
14+
15+
他热爱编程、写作、设计、旅行、hacking,你可以从他的个人网站:[https://www.phodal.com/](https://www.phodal.com/) 了解到更多的内容。
16+
17+
其它相关信息:
18+
19+
- 微博:[http://weibo.com/phodal](http://weibo.com/phodal)
20+
- GitHub: [https://github.com/phodal](https://github.com/phodal)
21+
- 知乎:[https://www.zhihu.com/people/phodal](https://www.zhihu.com/people/phodal)
22+
- SegmentFault:[https://segmentfault.com/u/phodal](https://segmentfault.com/u/phodal)
23+
24+
当前为预览版,在使用的过程中遇到任何问题请及时与我联系。阅读过程中的问题,不妨在GitHub上提出来: [Issues](https://github.com/phodal/fe/issues)
25+
26+
阅读过程中遇到语法错误、拼写错误、技术错误等等,不妨来个Pull Request,这样可以帮助到其他阅读这本电子书的童鞋。
27+
28+
我的电子书:
29+
30+
*[GitHub 漫游指南](https://github.com/phodal/github-roam)
31+
*[我的职业是前端工程师](https://github.com/phodal/fe)
32+
*[Serverless 架构应用开发指南](https://github.com/phodal/serverless)
33+
*[Growth: 全栈增长工程师指南](https://github.com/phodal/growth-ebook)
34+
*[Phodal's Idea实战指南](https://github.com/phodal/ideabook)
35+
*[一步步搭建物联网系统](https://github.com/phodal/designiot)
36+
*[RePractise](https://github.com/phodal/repractise)
37+
*[Growth: 全栈增长工程师实战](https://github.com/phodal/growth-in-action)
38+
39+
我的微信公众号:
40+
41+
![作者微信公众号:phodal-weixin](./img/wechat.jpg)
42+
43+
支持作者,可以加入作者的小密圈:
44+
45+
![小密圈](./img/xiaomiquan.jpg)
46+
47+
或者转账:
48+
49+
![支付宝](./img/alipay.png) ![微信](./img/wechat-pay.png)
50+
451
我的GitHub主页上写着加入的时间——``Joined on Nov 8, 2010``,那时才大一,在那之后的那么长的日子里我都没有登录过。也许是因为我学的不是计算机,到了今天——``2015.3.9``,我才发现这其实是程序员的社交网站。
552

653
过去,曾经有很长的一些时间我试过在GitHub上连击,也试着去了解别人是如何用好这个工具的。当然粉丝在GitHub上也是很重要的。

github-roam.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,53 @@
22
前言
33
===
44

5+
关于作者
6+
---
7+
8+
黄峰达(Phodal Huang)是一个创客、工程师、咨询师和作家。他毕业于西安文理学院电子信息工程专业,现作为一个咨询师就职于 ThoughtWorks 深圳。长期活跃于开源软件社区 GitHub,目前专注于物联网和前端领域。
9+
10+
作为一个开源软件作者,著有 Growth、Stepping、Lan、Echoesworks 等软件。其中开源学习应用 Growth,广受读者和用户好评,可在 APP Store 及各大 Android 应用商店下载。
11+
12+
作为一个技术作者,著有《自己动手设计物联网》(电子工业出版社)、《全栈应用开发:精益实践》(电子工业出版社,正在出版)。并在 GitHub 上开源有《Growth: 全栈增长工程师指南》、《GitHub 漫游指南》等七本电子书。
13+
14+
作为技术专家,他为英国 Packt 出版社审阅有物联网书籍《Learning IoT》、《Smart IoT》,前端书籍《Angular 2 Serices》、《Getting started with Angular》等技术书籍。
15+
16+
他热爱编程、写作、设计、旅行、hacking,你可以从他的个人网站:[https://www.phodal.com/](https://www.phodal.com/) 了解到更多的内容。
17+
18+
其它相关信息:
19+
20+
- 微博:[http://weibo.com/phodal](http://weibo.com/phodal)
21+
- GitHub: [https://github.com/phodal](https://github.com/phodal)
22+
- 知乎:[https://www.zhihu.com/people/phodal](https://www.zhihu.com/people/phodal)
23+
- SegmentFault:[https://segmentfault.com/u/phodal](https://segmentfault.com/u/phodal)
24+
25+
当前为预览版,在使用的过程中遇到任何问题请及时与我联系。阅读过程中的问题,不妨在GitHub上提出来: [Issues](https://github.com/phodal/fe/issues)
26+
27+
阅读过程中遇到语法错误、拼写错误、技术错误等等,不妨来个Pull Request,这样可以帮助到其他阅读这本电子书的童鞋。
28+
29+
我的电子书:
30+
31+
*[GitHub 漫游指南](https://github.com/phodal/github-roam)
32+
*[我的职业是前端工程师](https://github.com/phodal/fe)
33+
*[Serverless 架构应用开发指南](https://github.com/phodal/serverless)
34+
*[Growth: 全栈增长工程师指南](https://github.com/phodal/growth-ebook)
35+
*[Phodal's Idea实战指南](https://github.com/phodal/ideabook)
36+
*[一步步搭建物联网系统](https://github.com/phodal/designiot)
37+
*[RePractise](https://github.com/phodal/repractise)
38+
*[Growth: 全栈增长工程师实战](https://github.com/phodal/growth-in-action)
39+
40+
我的微信公众号:
41+
42+
![作者微信公众号:phodal-weixin](./img/wechat.jpg)
43+
44+
支持作者,可以加入作者的小密圈:
45+
46+
![小密圈](./img/xiaomiquan.jpg)
47+
48+
或者转账:
49+
50+
![支付宝](./img/alipay.png) ![微信](./img/wechat-pay.png)
51+
552
我的GitHub主页上写着加入的时间——``Joined on Nov 8, 2010``,那时才大一,在那之后的那么长的日子里我都没有登录过。也许是因为我学的不是计算机,到了今天——``2015.3.9``,我才发现这其实是程序员的社交网站。
653

754
过去,曾经有很长的一些时间我试过在GitHub上连击,也试着去了解别人是如何用好这个工具的。当然粉丝在GitHub上也是很重要的。

img/alipay.png

4.38 KB
Loading

img/wechat-pay.png

53.7 KB
Loading

img/wechat.jpg

20.6 KB
Loading

img/xiaomiquan.jpg

10.5 KB
Loading

index.html

Lines changed: 46 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ <h1>GitHub 漫游指南</h1>
6666
<nav id="TOC">
6767
<ul>
6868
<li><a href="#前言">前言</a><ul>
69+
<li><a href="#关于作者">关于作者</a></li>
6970
<li><a href="#我与github的故事">我与GitHub的故事</a><ul>
7071
<li><a href="#github与收获">GitHub与收获</a></li>
7172
<li><a href="#github与成长">GitHub与成长</a></li>
@@ -258,6 +259,42 @@ <h1>GitHub 漫游指南</h1>
258259
</ul>
259260
</nav>
260261
<h1 id="前言">前言</h1>
262+
<h2 id="关于作者">关于作者</h2>
263+
<p>黄峰达(Phodal Huang)是一个创客、工程师、咨询师和作家。他毕业于西安文理学院电子信息工程专业,现作为一个咨询师就职于 ThoughtWorks 深圳。长期活跃于开源软件社区 GitHub,目前专注于物联网和前端领域。</p>
264+
<p>作为一个开源软件作者,著有 Growth、Stepping、Lan、Echoesworks 等软件。其中开源学习应用 Growth,广受读者和用户好评,可在 APP Store 及各大 Android 应用商店下载。</p>
265+
<p>作为一个技术作者,著有《自己动手设计物联网》(电子工业出版社)、《全栈应用开发:精益实践》(电子工业出版社,正在出版)。并在 GitHub 上开源有《Growth: 全栈增长工程师指南》、《GitHub 漫游指南》等七本电子书。</p>
266+
<p>作为技术专家,他为英国 Packt 出版社审阅有物联网书籍《Learning IoT》、《Smart IoT》,前端书籍《Angular 2 Serices》、《Getting started with Angular》等技术书籍。</p>
267+
<p>他热爱编程、写作、设计、旅行、hacking,你可以从他的个人网站:<a href="https://www.phodal.com/" class="uri">https://www.phodal.com/</a> 了解到更多的内容。</p>
268+
<p>其它相关信息:</p>
269+
<ul>
270+
<li>微博:<a href="http://weibo.com/phodal" class="uri">http://weibo.com/phodal</a></li>
271+
<li>GitHub: <a href="https://github.com/phodal" class="uri">https://github.com/phodal</a></li>
272+
<li>知乎:<a href="https://www.zhihu.com/people/phodal" class="uri">https://www.zhihu.com/people/phodal</a></li>
273+
<li>SegmentFault:<a href="https://segmentfault.com/u/phodal" class="uri">https://segmentfault.com/u/phodal</a></li>
274+
</ul>
275+
<p>当前为预览版,在使用的过程中遇到任何问题请及时与我联系。阅读过程中的问题,不妨在GitHub上提出来: <a href="https://github.com/phodal/fe/issues">Issues</a></p>
276+
<p>阅读过程中遇到语法错误、拼写错误、技术错误等等,不妨来个Pull Request,这样可以帮助到其他阅读这本电子书的童鞋。</p>
277+
<p>我的电子书:</p>
278+
<ul>
279+
<li><a href="https://github.com/phodal/github-roam">GitHub 漫游指南</a></li>
280+
<li><a href="https://github.com/phodal/fe">我的职业是前端工程师</a></li>
281+
<li><a href="https://github.com/phodal/serverless">Serverless 架构应用开发指南</a></li>
282+
<li><a href="https://github.com/phodal/growth-ebook">Growth: 全栈增长工程师指南</a></li>
283+
<li><a href="https://github.com/phodal/ideabook">Phodal’s Idea实战指南</a></li>
284+
<li><a href="https://github.com/phodal/designiot">一步步搭建物联网系统</a></li>
285+
<li><a href="https://github.com/phodal/repractise">RePractise</a></li>
286+
<li><a href="https://github.com/phodal/growth-in-action">Growth: 全栈增长工程师实战</a></li>
287+
</ul>
288+
<p>我的微信公众号:</p>
289+
<figure>
290+
<img src="./img/wechat.jpg" alt="作者微信公众号:phodal-weixin" /><figcaption>作者微信公众号:phodal-weixin</figcaption>
291+
</figure>
292+
<p>支持作者,可以加入作者的小密圈:</p>
293+
<figure>
294+
<img src="./img/xiaomiquan.jpg" alt="小密圈" /><figcaption>小密圈</figcaption>
295+
</figure>
296+
<p>或者转账:</p>
297+
<p><img src="./img/alipay.png" alt="支付宝" /> <img src="./img/wechat-pay.png" alt="微信" /></p>
261298
<p>我的GitHub主页上写着加入的时间——<code>Joined on Nov 8, 2010</code>,那时才大一,在那之后的那么长的日子里我都没有登录过。也许是因为我学的不是计算机,到了今天——<code>2015.3.9</code>,我才发现这其实是程序员的社交网站。</p>
262299
<p>过去,曾经有很长的一些时间我试过在GitHub上连击,也试着去了解别人是如何用好这个工具的。当然粉丝在GitHub上也是很重要的。</p>
263300
<p>在这里,我会试着将我在GitHub上学到的东西一一分享出来。</p>
@@ -700,16 +737,16 @@ <h3 id="测试">测试</h3>
700737
<p>本地测试都通过了,于是我们添加了<code>Travis-CI</code>来跑我们的测试</p>
701738
<h3 id="ci">CI</h3>
702739
<p>虽然node.js不算是一门语言,但是因为我们用的node,下面的是一个简单的<code>.travis.yml</code>示例:</p>
703-
<div class="sourceCode"><pre class="sourceCode yml"><code class="sourceCode yaml"><span class="fu">language:</span> node_js
740+
<div class="sourceCode"><pre class="sourceCode yml"><code class="sourceCode yaml"><span class="fu">language:</span><span class="at"> node_js</span>
704741
<span class="fu">node_js:</span>
705742
<span class="kw">-</span> <span class="st">&quot;0.10&quot;</span>
706743

707744
<span class="fu">notifications:</span>
708-
<span class="fu">email:</span> false
745+
<span class="fu">email:</span><span class="at"> false</span>
709746

710-
<span class="fu">before_install:</span> npm install -g grunt-cli
711-
<span class="fu">install:</span> npm install
712-
<span class="fu">after_success:</span> CODECLIMATE_REPO_TOKEN=321480822fc37deb0de70a11931b4cb6a2a3cc411680e8f4569936ac8ffbb0ab codeclimate &lt; coverage/lcov.info</code></pre></div>
747+
<span class="fu">before_install:</span><span class="at"> npm install -g grunt-cli</span>
748+
<span class="fu">install:</span><span class="at"> npm install</span>
749+
<span class="fu">after_success:</span><span class="at"> CODECLIMATE_REPO_TOKEN=321480822fc37deb0de70a11931b4cb6a2a3cc411680e8f4569936ac8ffbb0ab codeclimate &lt; coverage/lcov.info</span></code></pre></div>
713750
<p>代码来源: <a href="https://github.com/phodal/lettuce" class="uri">https://github.com/phodal/lettuce</a></p>
714751
<p>我们把这些集成到<code>README.md</code>之后,就有了之前那张图。</p>
715752
<p>CI对于一个开发者在不同城市开发同一项目上来说是很重要的,这意味着当你添加的部分功能有测试覆盖的时候,项目代码会更加强壮。</p>
@@ -850,12 +887,12 @@ <h3 id="代码模块化">代码模块化</h3>
850887
<p>当然函数也是一个对象。</p>
851888
<h3 id="自动化测试">自动化测试</h3>
852889
<p>一直习惯用Travis CI,于是也继续用Travis Ci,<code>.travis.yml</code>配置如下所示:</p>
853-
<div class="sourceCode"><pre class="sourceCode yml"><code class="sourceCode yaml"><span class="fu">language:</span> node_js
890+
<div class="sourceCode"><pre class="sourceCode yml"><code class="sourceCode yaml"><span class="fu">language:</span><span class="at"> node_js</span>
854891
<span class="fu">node_js:</span>
855892
<span class="kw">-</span> <span class="st">&quot;0.10&quot;</span>
856893

857894
<span class="fu">notifications:</span>
858-
<span class="fu">email:</span> false
895+
<span class="fu">email:</span><span class="at"> false</span>
859896

860897
<span class="fu">branches:</span>
861898
<span class="fu">only:</span>
@@ -2227,7 +2264,7 @@ <h3 id="数据导入">数据导入</h3>
22272264
date_re <span class="op">=</span> re.<span class="bu">compile</span>(<span class="vs">r&quot;([0-9]</span><span class="sc">{4}</span><span class="vs">)-([0-9]</span><span class="sc">{2}</span><span class="vs">)-([0-9]</span><span class="sc">{2}</span><span class="vs">)-([0-9]+)\.json.gz&quot;</span>)
22282265

22292266
fn_template <span class="op">=</span> os.path.join(<span class="st">&quot;march&quot;</span>,
2230-
<span class="co">&quot;{year}-{month:02d}-{day:02d}-{n}.json.gz&quot;</span>)
2267+
<span class="st">&quot;</span><span class="sc">{year}</span><span class="st">-</span><span class="sc">{month:02d}</span><span class="st">-</span><span class="sc">{day:02d}</span><span class="st">-</span><span class="sc">{n}</span><span class="st">.json.gz&quot;</span>)
22312268
kwargs <span class="op">=</span> {<span class="st">&quot;year&quot;</span>: year, <span class="st">&quot;month&quot;</span>: month, <span class="st">&quot;day&quot;</span>: day, <span class="st">&quot;n&quot;</span>: <span class="st">&quot;*&quot;</span>}
22322269
filenames <span class="op">=</span> glob.glob(fn_template.<span class="bu">format</span>(<span class="op">**</span>kwargs))
22332270

@@ -2258,7 +2295,7 @@ <h3 id="redis">Redis</h3>
22582295
pipe.execute()</code></pre></div>
22592296
<p>系统返回了<code>227.0</code>,试试别人。</p>
22602297
<div class="sourceCode"><pre class="sourceCode bash"><code class="sourceCode bash"><span class="op">&gt;&gt;&gt;</span> <span class="ex">pipe.zscore</span>(<span class="st">&#39;osrc:user&#39;</span>,<span class="st">&quot;dfm&quot;</span>)
2261-
<span class="op">&lt;</span><span class="ex">redis.client.StrictPipeline</span> object at 0x104fa7f<span class="op">50&gt;</span>
2298+
<span class="op">&lt;</span><span class="ex">redis.client.StrictPipeline</span> object at 0x104fa7f50<span class="op">&gt;</span>
22622299
<span class="op">&gt;&gt;&gt;</span> <span class="ex">pipe.execute</span>()
22632300
[<span class="ex">425.0</span>]
22642301
<span class="op">&gt;&gt;&gt;</span></code></pre></div>

0 commit comments

Comments
 (0)