Commit 68177745d8405f152d0355e1194032c35c3625bc

Authored by Louis-Claude Canon
1 parent 73e70c01e5

Update indicators

Showing 5 changed files with 26 additions and 1 deletions Side-by-side Diff

hn/.gitignore View file @ 6817774
  1 +www.daemonology.net
  2 +hn-daily
  3 +words*
  4 +2010.html
  5 +statistic
hn/script.sh View file @ 6817774
  1 +# !/bin/sh
  2 +
  3 +wget -c -r -l 1 http://www.daemonology.net/hn-daily/
  4 +ln -s -f www.daemonology.net/hn-daily
  5 +cat hn-daily/[0-9][0-9][0-9][0-9]-[0-9][0-9].html | tr [:upper:] [:lower:] | tr [:punct:] ' ' | tr ' ' '\n' | grep -v ^$ | sort > words
  6 +wget -c http://www.daemonology.net/hn-daily/2010.html
  7 +cat 2010.html | tr [:upper:] [:lower:] | tr [:punct:] ' ' | tr ' ' '\n' | grep -v ^$ | sort | uniq > words_default
  8 +fgrep -v -w -f words_default words > words_remaining
  9 +grep -v ^[0-9] words_remaining | uniq -c | sort -n -r > statistic
resrc/.gitignore View file @ 6817774
  1 +free-programming-books.md
  2 +xx*
  3 +statistic
resrc/script.sh View file @ 6817774
  1 +# !/bin/sh
  2 +
  3 +wget -c https://raw.githubusercontent.com/vhf/free-programming-books/master/free-programming-books.md
  4 +csplit -s free-programming-books.md "/###/" {*}
  5 +for i in $(ls xx*)
  6 +do
  7 + echo $(grep -c "^ *" $i) $(head -n 1 $i | sed "s/#//g")
  8 +done | sort -n -r > statistic
... ... @@ -21,7 +21,7 @@
21 21 - Popularité des cours/ressources associés sur [coursetalk](http://coursetalk.org)
22 22 - <https://www.class-central.com/>
23 23 - <http://www.mooc-list.com/>
24   - - <http://resrc.io/>
  24 + - <http://resrc.io/>, <http://resrc.io/list/10/list-of-free-programming-books/>
25 25  
26 26 ## Usage réel
27 27