diff --git a/chapters/00-prelude.md b/chapters/00-prelude.md index f06dad0..07a1cae 100644 --- a/chapters/00-prelude.md +++ b/chapters/00-prelude.md @@ -1,6 +1,53 @@ 前言 === +关于作者 +--- + +黄峰达(Phodal Huang)是一个创客、工程师、咨询师和作家。他毕业于西安文理学院电子信息工程专业,现作为一个咨询师就职于 ThoughtWorks 深圳。长期活跃于开源软件社区 GitHub,目前专注于物联网和前端领域。 + +作为一个开源软件作者,著有 Growth、Stepping、Lan、Echoesworks 等软件。其中开源学习应用 Growth,广受读者和用户好评,可在 APP Store 及各大 Android 应用商店下载。 + +作为一个技术作者,著有《自己动手设计物联网》(电子工业出版社)、《全栈应用开发:精益实践》(电子工业出版社,正在出版)。并在 GitHub 上开源有《Growth: 全栈增长工程师指南》、《GitHub 漫游指南》等七本电子书。 + +作为技术专家,他为英国 Packt 出版社审阅有物联网书籍《Learning IoT》、《Smart IoT》,前端书籍《Angular 2 Serices》、《Getting started with Angular》等技术书籍。 + +他热爱编程、写作、设计、旅行、hacking,你可以从他的个人网站:[https://www.phodal.com/](https://www.phodal.com/) 了解到更多的内容。 + +其它相关信息: + + - 微博:[http://weibo.com/phodal](http://weibo.com/phodal) + - GitHub: [https://github.com/phodal](https://github.com/phodal) + - 知乎:[https://www.zhihu.com/people/phodal](https://www.zhihu.com/people/phodal) + - SegmentFault:[https://segmentfault.com/u/phodal](https://segmentfault.com/u/phodal) + +当前为预览版,在使用的过程中遇到任何问题请及时与我联系。阅读过程中的问题,不妨在GitHub上提出来: [Issues](https://github.com/phodal/fe/issues) + +阅读过程中遇到语法错误、拼写错误、技术错误等等,不妨来个Pull Request,这样可以帮助到其他阅读这本电子书的童鞋。 + +我的电子书: + + * 《[GitHub 漫游指南](https://github.com/phodal/github-roam)》 + * 《[我的职业是前端工程师](https://github.com/phodal/fe)》 + * 《[Serverless 架构应用开发指南](https://github.com/phodal/serverless)》 + * 《[Growth: 全栈增长工程师指南](https://github.com/phodal/growth-ebook)》 + * 《[Phodal's Idea实战指南](https://github.com/phodal/ideabook)》 + * 《[一步步搭建物联网系统](https://github.com/phodal/designiot)》 + * 《[RePractise](https://github.com/phodal/repractise)》 + * 《[Growth: 全栈增长工程师实战](https://github.com/phodal/growth-in-action)》 + +我的微信公众号: + + + +支持作者,可以加入作者的小密圈: + + + +或者转账: + +  + 我的GitHub主页上写着加入的时间——``Joined on Nov 8, 2010``,那时才大一,在那之后的那么长的日子里我都没有登录过。也许是因为我学的不是计算机,到了今天——``2015.3.9``,我才发现这其实是程序员的社交网站。 过去,曾经有很长的一些时间我试过在GitHub上连击,也试着去了解别人是如何用好这个工具的。当然粉丝在GitHub上也是很重要的。 diff --git a/github-roam.md b/github-roam.md index a353dfa..1c39351 100644 --- a/github-roam.md +++ b/github-roam.md @@ -2,6 +2,53 @@ 前言 === +关于作者 +--- + +黄峰达(Phodal Huang)是一个创客、工程师、咨询师和作家。他毕业于西安文理学院电子信息工程专业,现作为一个咨询师就职于 ThoughtWorks 深圳。长期活跃于开源软件社区 GitHub,目前专注于物联网和前端领域。 + +作为一个开源软件作者,著有 Growth、Stepping、Lan、Echoesworks 等软件。其中开源学习应用 Growth,广受读者和用户好评,可在 APP Store 及各大 Android 应用商店下载。 + +作为一个技术作者,著有《自己动手设计物联网》(电子工业出版社)、《全栈应用开发:精益实践》(电子工业出版社,正在出版)。并在 GitHub 上开源有《Growth: 全栈增长工程师指南》、《GitHub 漫游指南》等七本电子书。 + +作为技术专家,他为英国 Packt 出版社审阅有物联网书籍《Learning IoT》、《Smart IoT》,前端书籍《Angular 2 Serices》、《Getting started with Angular》等技术书籍。 + +他热爱编程、写作、设计、旅行、hacking,你可以从他的个人网站:[https://www.phodal.com/](https://www.phodal.com/) 了解到更多的内容。 + +其它相关信息: + + - 微博:[http://weibo.com/phodal](http://weibo.com/phodal) + - GitHub: [https://github.com/phodal](https://github.com/phodal) + - 知乎:[https://www.zhihu.com/people/phodal](https://www.zhihu.com/people/phodal) + - SegmentFault:[https://segmentfault.com/u/phodal](https://segmentfault.com/u/phodal) + +当前为预览版,在使用的过程中遇到任何问题请及时与我联系。阅读过程中的问题,不妨在GitHub上提出来: [Issues](https://github.com/phodal/fe/issues) + +阅读过程中遇到语法错误、拼写错误、技术错误等等,不妨来个Pull Request,这样可以帮助到其他阅读这本电子书的童鞋。 + +我的电子书: + + * 《[GitHub 漫游指南](https://github.com/phodal/github-roam)》 + * 《[我的职业是前端工程师](https://github.com/phodal/fe)》 + * 《[Serverless 架构应用开发指南](https://github.com/phodal/serverless)》 + * 《[Growth: 全栈增长工程师指南](https://github.com/phodal/growth-ebook)》 + * 《[Phodal's Idea实战指南](https://github.com/phodal/ideabook)》 + * 《[一步步搭建物联网系统](https://github.com/phodal/designiot)》 + * 《[RePractise](https://github.com/phodal/repractise)》 + * 《[Growth: 全栈增长工程师实战](https://github.com/phodal/growth-in-action)》 + +我的微信公众号: + + + +支持作者,可以加入作者的小密圈: + + + +或者转账: + +  + 我的GitHub主页上写着加入的时间——``Joined on Nov 8, 2010``,那时才大一,在那之后的那么长的日子里我都没有登录过。也许是因为我学的不是计算机,到了今天——``2015.3.9``,我才发现这其实是程序员的社交网站。 过去,曾经有很长的一些时间我试过在GitHub上连击,也试着去了解别人是如何用好这个工具的。当然粉丝在GitHub上也是很重要的。 diff --git a/img/alipay.png b/img/alipay.png new file mode 100644 index 0000000..36cb9d5 Binary files /dev/null and b/img/alipay.png differ diff --git a/img/wechat-pay.png b/img/wechat-pay.png new file mode 100644 index 0000000..6bbbe82 Binary files /dev/null and b/img/wechat-pay.png differ diff --git a/img/wechat.jpg b/img/wechat.jpg new file mode 100644 index 0000000..5779d5e Binary files /dev/null and b/img/wechat.jpg differ diff --git a/img/xiaomiquan.jpg b/img/xiaomiquan.jpg new file mode 100644 index 0000000..45712d6 Binary files /dev/null and b/img/xiaomiquan.jpg differ diff --git a/index.html b/index.html index ed03493..547851b 100644 --- a/index.html +++ b/index.html @@ -66,6 +66,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
黄峰达(Phodal Huang)是一个创客、工程师、咨询师和作家。他毕业于西安文理学院电子信息工程专业,现作为一个咨询师就职于 ThoughtWorks 深圳。长期活跃于开源软件社区 GitHub,目前专注于物联网和前端领域。
+作为一个开源软件作者,著有 Growth、Stepping、Lan、Echoesworks 等软件。其中开源学习应用 Growth,广受读者和用户好评,可在 APP Store 及各大 Android 应用商店下载。
+作为一个技术作者,著有《自己动手设计物联网》(电子工业出版社)、《全栈应用开发:精益实践》(电子工业出版社,正在出版)。并在 GitHub 上开源有《Growth: 全栈增长工程师指南》、《GitHub 漫游指南》等七本电子书。
+作为技术专家,他为英国 Packt 出版社审阅有物联网书籍《Learning IoT》、《Smart IoT》,前端书籍《Angular 2 Serices》、《Getting started with Angular》等技术书籍。
+他热爱编程、写作、设计、旅行、hacking,你可以从他的个人网站:https://www.phodal.com/ 了解到更多的内容。
+其它相关信息:
+当前为预览版,在使用的过程中遇到任何问题请及时与我联系。阅读过程中的问题,不妨在GitHub上提出来: Issues
+阅读过程中遇到语法错误、拼写错误、技术错误等等,不妨来个Pull Request,这样可以帮助到其他阅读这本电子书的童鞋。
+我的电子书:
+我的微信公众号:
+
支持作者,可以加入作者的小密圈:
+
或者转账:
+

我的GitHub主页上写着加入的时间——Joined on Nov 8, 2010,那时才大一,在那之后的那么长的日子里我都没有登录过。也许是因为我学的不是计算机,到了今天——2015.3.9,我才发现这其实是程序员的社交网站。
过去,曾经有很长的一些时间我试过在GitHub上连击,也试着去了解别人是如何用好这个工具的。当然粉丝在GitHub上也是很重要的。
在这里,我会试着将我在GitHub上学到的东西一一分享出来。
@@ -700,16 +737,16 @@ git push -u origin master本地测试都通过了,于是我们添加了Travis-CI来跑我们的测试
虽然node.js不算是一门语言,但是因为我们用的node,下面的是一个简单的.travis.yml示例:
language: node_js
+language: node_js
node_js:
- "0.10"
notifications:
- email: false
+ email: false
-before_install: npm install -g grunt-cli
-install: npm install
-after_success: CODECLIMATE_REPO_TOKEN=321480822fc37deb0de70a11931b4cb6a2a3cc411680e8f4569936ac8ffbb0ab codeclimate < coverage/lcov.info
+before_install: npm install -g grunt-cli
+install: npm install
+after_success: CODECLIMATE_REPO_TOKEN=321480822fc37deb0de70a11931b4cb6a2a3cc411680e8f4569936ac8ffbb0ab codeclimate < coverage/lcov.info代码来源: https://github.com/phodal/lettuce
我们把这些集成到README.md之后,就有了之前那张图。
CI对于一个开发者在不同城市开发同一项目上来说是很重要的,这意味着当你添加的部分功能有测试覆盖的时候,项目代码会更加强壮。
@@ -850,12 +887,12 @@ git push -u origin master当然函数也是一个对象。
一直习惯用Travis CI,于是也继续用Travis Ci,.travis.yml配置如下所示:
language: node_js
+language: node_js
node_js:
- "0.10"
notifications:
- email: false
+ email: false
branches:
only:
@@ -2227,7 +2264,7 @@ draw_date("data/2014-01-01-0.json")= re.compile(r"([0-9]{4})-([0-9]{2})-([0-9]{2})-([0-9]+)\.json.gz")
fn_template = os.path.join("march",
- "{year}-{month:02d}-{day:02d}-{n}.json.gz")
+ "{year}-{month:02d}-{day:02d}-{n}.json.gz")
kwargs = {"year": year, "month": month, "day": day, "n": "*"}
filenames = glob.glob(fn_template.format(**kwargs))
@@ -2258,7 +2295,7 @@ pipe.zscore('osrc:user',"g
pipe.execute()
系统返回了227.0,试试别人。
>>> pipe.zscore('osrc:user',"dfm")
-<redis.client.StrictPipeline object at 0x104fa7f50>
+<redis.client.StrictPipeline object at 0x104fa7f50>
>>> pipe.execute()
[425.0]
>>>