<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>no13bus (no13bus)</title>
    <link>https://ruby-china.org/no13bus</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>发布个最近写的小玩具。 baymax 搭建自己的个人生活数据库-大白，数据包括上网，打车，运动，身体健康指标统计等等。</title>
      <description>&lt;p&gt;项目开始的起因是因为现在智能穿戴设备的兴起以及越来越多的健康类应用的爆发。后来想到了一个人生活在社会中，身处于信息爆发的时代，借助公共的 API 接口或者 Hack，个人生活，工作，coding 的数据现在是可以有迹可循的，目前缺乏的就是如何整合他们的数据，并且以一个相对流畅的方式展示出来。&lt;/p&gt;

&lt;p&gt;用户首先使用 GitHub 登录项目，在项目中对相关的 APP 进行权限认证后，网站后台会每天定时抓取用户的该认证 APP 上面的数据，比如健康类应用 Fitbit, github, rescuetime。然后网站会对用户的走路，跑步，上网时间分布，github 代码提交次数等方面来进行生活，工作，coding 的统计和展示。 &lt;/p&gt;

&lt;p&gt;demo:
&lt;a href="http://baymax.ninja/no13bus/show" rel="nofollow" target="_blank"&gt;http://baymax.ninja/no13bus/show&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;主页:
&lt;a href="http://baymax.ninja" rel="nofollow" target="_blank"&gt;http://baymax.ninja&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;使用到的技术： 
Flask 
sqlalchemy 
Bootstrap 
celery 
redis &lt;/p&gt;

&lt;p&gt;源码地址:
&lt;a href="https://github.com/no13bus/baymax" rel="nofollow" target="_blank"&gt;https://github.com/no13bus/baymax&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;截图:
&lt;img src="http://ww3.sinaimg.cn/mw1024/9a24d3aftw1esaexeub0kj21730rdn86.jpg" title="" alt="1"&gt;
&lt;img src="http://ww1.sinaimg.cn/mw1024/9a24d3aftw1esaexfy735j21730rdafa.jpg" title="" alt="2"&gt;
&lt;img src="http://ww3.sinaimg.cn/mw1024/9a24d3aftw1esaexgzwlhj21730rdn1v.jpg" title="" alt="3"&gt;
&lt;img src="http://ww4.sinaimg.cn/mw1024/9a24d3aftw1esaex9cgpkj20y60n2jw5.jpg" title="" alt="4"&gt;
&lt;img src="http://ww2.sinaimg.cn/mw1024/9a24d3aftw1esaexabuqnj20y60n2tcf.jpg" title="" alt="5"&gt;
&lt;img src="http://ww4.sinaimg.cn/mw1024/9a24d3aftw1esaexb4p4ej20y60n2n1x.jpg" title="" alt="6"&gt;&lt;/p&gt;

&lt;p&gt;顺便说一句，ruby-china 改版之后的界面真不错，觉得速度更快了，不知道做了什么优化。&lt;/p&gt;</description>
      <author>no13bus</author>
      <pubDate>Wed, 20 May 2015 10:18:03 +0800</pubDate>
      <link>https://ruby-china.org/topics/25660</link>
      <guid>https://ruby-china.org/topics/25660</guid>
    </item>
    <item>
      <title>写了个网站，利用 webhok 自动获取用户的 repo 的 star 信息，关注人的分布以及关注者的被 follow 的数量排名</title>
      <description>&lt;p&gt;之前发表的一个开源项目 redispapa
&lt;a href="https://ruby-china.org/topics/24535" rel="nofollow" target="_blank"&gt;https://ruby-china.org/topics/24535&lt;/a&gt;
受到了很多建议，多谢大家了。并且通过项目还结识了一些新朋友。在这期间我用 github 的 webhook 自动推送功能写了个小工具，时刻监控我的项目被谁 star 了，并推送信息给我。后来觉得如果写成网站让大家都能看到自己的项目展示也挺好的，加上有时候我也看看大牛的项目的源码，follow 他们，跟进他们的开发项目，进阶自己的水平。然后就做了这么个小作品。&lt;/p&gt;

&lt;p&gt;该项目主要是利用 webhok 自动获取用户的 repo 的 star 信息，进而分析并展示你的开源项目每天的 star 数量变化，关注人的分布以及关注者的被 follow 的数量排名。&lt;/p&gt;

&lt;p&gt;源码：
&lt;a href="https://github.com/no13bus/ohmyrepo" rel="nofollow" target="_blank"&gt;https://github.com/no13bus/ohmyrepo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;技术:
使用的是 tornado 框架，数据库用的是 mongo 缓存用的是 redis&lt;/p&gt;

&lt;p&gt;中文文档:
&lt;a href="https://github.com/no13bus/ohmyrepo/blob/master/README_CN.md" rel="nofollow" target="_blank"&gt;https://github.com/no13bus/ohmyrepo/blob/master/README_CN.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;项目展示效果:
&lt;a href="http://ohmyrepo.ml/show?u=no13bus&amp;amp;r=redispapa" rel="nofollow" target="_blank"&gt;http://ohmyrepo.ml/show?u=no13bus&amp;amp;r=redispapa&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How it work:
&lt;a href="http://ohmyrepo.ml/howitwork" rel="nofollow" target="_blank"&gt;http://ohmyrepo.ml/howitwork&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;网站主页 (进入需要使用 github 账户注册):
&lt;a href="http://ohmyrepo.ml/" rel="nofollow" target="_blank"&gt;http://ohmyrepo.ml/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Q &amp;amp; A:
&lt;a href="https://github.com/no13bus/ohmyrepo/blob/master/README_CN.md#q--a" rel="nofollow" target="_blank"&gt;https://github.com/no13bus/ohmyrepo/blob/master/README_CN.md#q--a&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;截图：
&lt;img src="http://ww2.sinaimg.cn/bmiddle/9a24d3aftw1eqni2osmvtj20wh0n377g.jpg" title="" alt="2"&gt;
&lt;img src="http://ww1.sinaimg.cn/bmiddle/9a24d3aftw1eqni2psjl4j20wh0n3whv.jpg" title="" alt="3"&gt;
&lt;img src="http://ww1.sinaimg.cn/bmiddle/9a24d3aftw1eqni2quys2j20wh0rg0xy.jpg" title="" alt="4"&gt;
&lt;img src="http://ww1.sinaimg.cn/bmiddle/9a24d3aftw1eqni2sjiioj20wh0rgwjt.jpg" title="" alt="5"&gt;
&lt;img src="http://ww3.sinaimg.cn/bmiddle/9a24d3aftw1eqni2tzlftj20wh0rg0xv.jpg" title="" alt="6"&gt;
&lt;img src="http://ww3.sinaimg.cn/bmiddle/9a24d3aftw1eqni2v5amhj20wh0rgjuk.jpg" title="" alt="7"&gt;
&lt;img src="http://ww3.sinaimg.cn/bmiddle/9a24d3aftw1eqni2wkxnjj20wh0rg7c7.jpg" title="" alt="8"&gt;&lt;/p&gt;

&lt;p&gt;欢迎大家提意见和 issue。&lt;/p&gt;</description>
      <author>no13bus</author>
      <pubDate>Mon, 30 Mar 2015 09:56:16 +0800</pubDate>
      <link>https://ruby-china.org/topics/24900</link>
      <guid>https://ruby-china.org/topics/24900</guid>
    </item>
    <item>
      <title>基于 Angular, Flask 以及 socket.io 写了个 Redis 的 Web 监控工具</title>
      <description>&lt;p&gt;主要使用了 redis 的 info 进行监控，因为官网说 monitor 监控的话会大大降低其负载率，推荐 info 进行监控。
socketio 的选择使得服务器主动推送给前端数据，然后使用 angular 和 highchart 进行渲染，angular 的双向绑定使得切换监控点的时候，编程非常方便。
项目地址在这里。
&lt;a href="https://github.com/no13bus/redispapa" rel="nofollow" target="_blank"&gt;https://github.com/no13bus/redispapa&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;欢迎提建议。&lt;/p&gt;</description>
      <author>no13bus</author>
      <pubDate>Mon, 09 Mar 2015 10:45:09 +0800</pubDate>
      <link>https://ruby-china.org/topics/24535</link>
      <guid>https://ruby-china.org/topics/24535</guid>
    </item>
    <item>
      <title>写了个 ruby-china 的 go 版本的 api 库</title>
      <description>&lt;p&gt;&lt;a href="https://github.com/no13bus/go-rubychina" rel="nofollow" target="_blank"&gt;https://github.com/no13bus/go-rubychina&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ps:
发现 go 对 api 的返回 json 的解析是先将数据结构定义好了，然后再写函数，然后返回 struct，而不是那种 python 的那种直接对字串进行解析。觉得多了好多代码。不知道大家都是怎么弄的？&lt;/p&gt;</description>
      <author>no13bus</author>
      <pubDate>Wed, 21 Jan 2015 00:11:27 +0800</pubDate>
      <link>https://ruby-china.org/topics/23849</link>
      <guid>https://ruby-china.org/topics/23849</guid>
    </item>
    <item>
      <title>请教下几个 ruby-china 的 Api 的问题</title>
      <description>&lt;p&gt;获取用户信息的 API:
&lt;a href="https://ruby-china.org/api/users/qichunren.json" rel="nofollow" target="_blank"&gt;https://ruby-china.org/api/users/qichunren.json&lt;/a&gt;
这个 API 是不是只能写用户的名字，不能根据用户的 id 来进行查找&lt;/p&gt;

&lt;p&gt;获取用户的收藏的帖子：
&lt;a href="https://ruby-china.org/api/users/qichunren/topics/favorite.json" rel="nofollow" target="_blank"&gt;https://ruby-china.org/api/users/qichunren/topics/favorite.json&lt;/a&gt;
不能获取&lt;/p&gt;

&lt;p&gt;获取一个帖子的关注数量
&lt;a href="https://ruby-china.org/api/topics/1/follow.json" rel="nofollow" target="_blank"&gt;https://ruby-china.org/api/topics/1/follow.json&lt;/a&gt;
不能获取。&lt;/p&gt;

&lt;p&gt;这几个 api 是不是废掉了？还是说我姿势不对？
多谢 &lt;a href="/qichunren" class="user-mention" title="@qichunren"&gt;&lt;i&gt;@&lt;/i&gt;qichunren&lt;/a&gt;&lt;/p&gt;</description>
      <author>no13bus</author>
      <pubDate>Thu, 11 Dec 2014 17:01:56 +0800</pubDate>
      <link>https://ruby-china.org/topics/23142</link>
      <guid>https://ruby-china.org/topics/23142</guid>
    </item>
    <item>
      <title>问下 ruby-china 的 api，怎么样才能获得到用户所有的发布过的帖子</title>
      <description>&lt;p&gt;看了 api 里面，应该是对帖子的数量进行了限制，没法获得用户全部的发布帖子，只能获得最近的帖子。
是这样的吗？&lt;/p&gt;</description>
      <author>no13bus</author>
      <pubDate>Tue, 18 Nov 2014 12:27:11 +0800</pubDate>
      <link>https://ruby-china.org/topics/22738</link>
      <guid>https://ruby-china.org/topics/22738</guid>
    </item>
  </channel>
</rss>
