V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Livid
215.84D
532.83D
V2EX  ›  Project Babel

新功能 - 个人资料中填写 GitHub 用户名

  •  
  •   Livid ·
    PRO
    · 2011 年 12 月 18 日 · 6365 次点击
    这是一个创建于 5159 天前的主题,其中的信息可能已经有所发展或是发生改变。
    现在,你可以在自己的个人资料中填入你的 GitHub 用户名,然后你的 V2EX 个人主页中就会有到 GitHub 的链接。

    http://www.v2ex.com/settings
    13 条回复    1970-01-01 08:00:00 +08:00
    thcode
        1
    thcode  
       2011 年 12 月 18 日
    实现的真快啊,赞!
    xguox
        2
    xguox  
       2011 年 12 月 18 日
    话说个人网站那一栏不支持.me域名嚒?
    Platinum
        3
    Platinum  
       2011 年 12 月 18 日
    改完后想看看效果,一刷新就这样了 http://www.v2ex.com/member/Platinum

    Traceback (most recent call last):
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__
    handler.get(*groups)
    File "/base/data/home/apps/v2ex/1.355458478761946298/member.py", line 73, in get
    if len(github) > 0:
    TypeError: object of type 'NoneType' has no len()
    Livid
        4
    Livid  
    MOD
    OP
    PRO
       2011 年 12 月 18 日
    @Platinum 现在好了。

    可以处理不存在的用户名了。
    Livid
        5
    Livid  
    MOD
    OP
    PRO
       2011 年 12 月 18 日
    效果可以在我的主页上看到,可以通过 GitHub API 读取你的所有 Public Repos:

    http://www.v2ex.com/member/Livid
    Platinum
        6
    Platinum  
       2011 年 12 月 18 日
    @Livid 好吧,我记错用户名了 囧
    yuest
        7
    yuest  
       2011 年 12 月 18 日
    ok
    yuest
        8
    yuest  
       2011 年 12 月 18 日
    @Livid 如果可以按 last commit 倒序排列就更好
    fanzeyi
        9
    fanzeyi  
       2011 年 12 月 18 日
    Nice! 然后右边就有我的Github repo了!
    fanzeyi
        10
    fanzeyi  
       2011 年 12 月 18 日
    last commit 倒序排列就更好 +1
    ratazzi
        11
    ratazzi  
       2011 年 12 月 18 日
    nice.
    xream
        12
    xream  
       2011 年 12 月 18 日
    Awesome.
    args
        13
    args  
       2011 年 12 月 18 日
    给力哟~
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2135 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:41 · PVG 20:41 · LAX 04:41 · JFK 07:41
    ♥ Do have faith in what you're doing.