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

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

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

    http://www.v2ex.com/settings
    13 条回复    1970-01-01 08:00:00 +08:00
    thcode
        1
    thcode  
       2011-12-18 12:32:14 +08:00
    实现的真快啊,赞!
    xguox
        2
    xguox  
       2011-12-18 12:48:32 +08:00
    话说个人网站那一栏不支持.me域名嚒?
    Platinum
        3
    Platinum  
       2011-12-18 13:30:17 +08:00
    改完后想看看效果,一刷新就这样了 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
       2011-12-18 13:32:48 +08:00
    @Platinum 现在好了。

    可以处理不存在的用户名了。
    Livid
        5
    Livid  
    MOD
    OP
       2011-12-18 13:33:40 +08:00
    效果可以在我的主页上看到,可以通过 GitHub API 读取你的所有 Public Repos:

    http://www.v2ex.com/member/Livid
    Platinum
        6
    Platinum  
       2011-12-18 13:35:06 +08:00
    @Livid 好吧,我记错用户名了 囧
    yuest
        7
    yuest  
       2011-12-18 14:44:42 +08:00
    ok
    yuest
        8
    yuest  
       2011-12-18 15:00:45 +08:00
    @Livid 如果可以按 last commit 倒序排列就更好
    fanzeyi
        9
    fanzeyi  
       2011-12-18 19:16:59 +08:00
    Nice! 然后右边就有我的Github repo了!
    fanzeyi
        10
    fanzeyi  
       2011-12-18 19:23:28 +08:00
    last commit 倒序排列就更好 +1
    ratazzi
        11
    ratazzi  
       2011-12-18 19:35:47 +08:00
    nice.
    xream
        12
    xream  
       2011-12-18 19:50:41 +08:00
    Awesome.
    args
        13
    args  
       2011-12-18 20:01:11 +08:00
    给力哟~
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1316 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 23:16 · PVG 07:16 · LAX 16:16 · JFK 19:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.