gihnius 最近的时间轴更新
gihnius

gihnius

http://gihnius.net/
V2EX 第 44820 号会员,加入于 2013-09-02 19:05:56 +08:00
极简主义的知识分享社区.
分享创造  •  gihnius  •  2014-09-11 14:53:48 PM  •  最后回复来自 gihnius
30
Feedburner 为什么不支持 https 的 feed?
问与答  •  gihnius  •  2014-07-22 21:00:06 PM
mock 了个 web 编辑器,看看有没有什么建议?
问与答  •  gihnius  •  2014-05-31 19:05:36 PM  •  最后回复来自 asing
6
jquery.qeditor 编辑器的 Bootstrap3 版本
  •  3   
    问与答  •  gihnius  •  2014-05-01 13:12:50 PM  •  最后回复来自 gihnius
    2
    Pythoner 有福了 http://igo.herokuapp.com/
    问与答  •  gihnius  •  2014-04-20 00:03:00 AM  •  最后回复来自 timonwong
    5
    gihnius 最近回复了
    Ruby:

    a.product(b)
    2018-04-01 11:41:11 +08:00
    回复了 molvqingtai 创建的主题 macOS MAC 用户谨慎升级 10.13.4 !!!
    从 10.13.3 顺利升级,没啥毛病。
    2018-03-21 13:24:30 +08:00
    回复了 0xABCD 创建的主题 Python 撸了个年度进度条提示工具
    @gihnius 继续玩:

    Go 版加了:

    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■■■■■■■■■■□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□□□□□□□□□□□□□□
    □□□□□□□□ 22%(80/365)
    2018-03-21 12:50:52 +08:00
    回复了 0xABCD 创建的主题 Python 撸了个年度进度条提示工具
    2018-03-21 11:51:22 +08:00
    回复了 0xABCD 创建的主题 Python 撸了个年度进度条提示工具
    @0xABCD Go 版运行快很多。。。
    2018-03-21 09:31:20 +08:00
    回复了 0xABCD 创建的主题 Python 撸了个年度进度条提示工具
    再写个 Go 的:
    package main

    import (
    "fmt"
    "math"
    "strings"
    "time"
    )

    func main() {
    now := time.Now()
    passed := now.YearDay()
    format := "2006-01-02 15:04:05"
    end, _ := time.Parse(format, fmt.Sprintf("%d-12-31 23:59:59", now.Year()))
    total := end.YearDay()
    progress := math.Round((float64(passed) / float64(total)) * 100)
    bar := strings.Repeat("▓", int(progress)) + strings.Repeat("░", (100-int(progress)))
    fmt.Printf("Progress of this year %d of %d:\n", passed, total)
    fmt.Println(bar)
    }

    感觉够折腾的。。。。。
    2018-03-21 08:42:53 +08:00
    回复了 0xABCD 创建的主题 Python 撸了个年度进度条提示工具
    写个 Ruby 的玩玩:
    percent = ((Time.now.yday.to_f / Time.now.at_end_of_year.yday) * 100).round
    bar = '▓' * percent + '░' * (100 - percent)
    puts "Progress of this year:"
    puts(bar + percent.to_s + '%')

    输出:
    Progress of this year:
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░22%
    2018-03-17 19:25:07 +08:00
    回复了 walktewy 创建的主题 问与答 Golang App 后端 推荐一个比较好的 web 框架?
    gin
    2018-03-06 10:23:53 +08:00
    回复了 mengxh1990 创建的主题 程序员 怎么用英文描述两个模型之间的依赖和被依赖关系?
    A has many b

    B belongs to a

    Ruby on Rails 那一套
    2018-03-03 22:52:07 +08:00
    回复了 kskdnda 创建的主题 iCloud 我好像发现 icloud 速度的秘密了,有兴趣的朋友可以试试
    这不就是 AppleDNS 的目的,找到最近的自然快些。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3171 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 12:34 · PVG 20:34 · LAX 05:34 · JFK 08:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.