ayanamist/show-me-the-code

Show me the code, one day (1, 2) week.

★ 0Forks 0JavaScriptGitHub ↗Compare

README

Show me the code

Show me the code, one day per week.

History

Linus: "Talk is cheap. Show me the code."

Speakers

生成排行

tree | ruby -e \
'names={"busi"=>"不四","suqian"=>"苏千","jifeng"=>"继风","fahui"=>"法慧",
"puling"=>"朴灵","liuxin"=>"柳心","ziyin"=>"紫胤","kate"=>"卡特",
"basi"=>"巴斯","tangyao"=>"汤尧","jianxun"=>"剪巽","wukong"=>"雾空",
"suqian2"=>"苏千"};

puts ARGF.read.each_line.map {|line| line[/([^\s]+?)\.md/]; $1}.compact
  .keep_if {|item| !(%w[rule README readme].include?(item))}
  .reduce(Hash.new(0)) {|h, e| h[e]+=1; h}.to_a
  .sort_by(&:last).reverse
  .map.with_index {|(a,b),idx| "|##{idx}|[#{a}]@#{names[a]}|#{b}|"}.join("\n")'
Rank Name Times
#0 suqian@苏千 18
#1 busi@不四 10
#2 fahui@法慧 7
#3 puling@朴灵 5
#4 jifeng@继风 5
#5 ziyin@紫胤 3
#6 liuxin@柳心 3
#7 basi@巴斯 2
#8 tangyao@汤尧 2
#9 kate@卡特 2
#10 jianxun@剪巽 1
#11 wukong@雾空 1

Contributors

fengmk2JacksonTiandead-horsejifengjdk137christineRRalsotangfishbarrockdaiayanamistcoolme200yyclawsimonmysun

Issues