Thursday, June 9, 2016
朱子学(しゅしがく)
宋明理学(そうみんりがく) → 朱子学(しゅしがく)
宋明理学(そうみんりがく) = 理学(りがく)
宋明理学(そうみんりがく) = 道教(どうきょう)
- Cheng-Zhu school (朱子学(しゅしがく))
- Zhu Xi (朱子(しゅし))
- Neo-Confucianism (宋明理学(そうみんりがく))
- Taoism (道教(どうきょう))
孝経(こうきょう)
経書(けいしょ) → 十三経(じゅうさんけい、じゅうさんぎょう) → 孝経(こうきょう)
- Classic of Filial Piety (孝経(こうきょう))
- Zengzi (曾子(そうし))
ラベル:
Classic of Filial Piety,
Confucianism,
Thirteen Classics,
儒教,
十三経,
国語 (教科),
孝経,
現代語,
経書
Bash: Posts Per Hour
Command (for this year's post per hour):
$ posts=`./smashingtheory_posts_this_year.sh`;doy=`date +%j`;hour=`date +%H`; echo "scale=4;$posts / ($doy * 24 + $hour)" | bc -l | tr '\n' ' '
Result:
.1248
Command (for this month's post per hour):
$ posts=`./smashingtheory_posts_this_month.sh`;dom=`date +%e`;hour=`date +%H`;echo "scale=4;$posts / ($dom * 24 + $hour)" | bc -l | tr '\n' ' '
Result:
.1710
$ posts=`./smashingtheory_posts_this_year.sh`;doy=`date +%j`;hour=`date +%H`; echo "scale=4;$posts / ($doy * 24 + $hour)" | bc -l | tr '\n' ' '
Result:
.1248
Command (for this month's post per hour):
$ posts=`./smashingtheory_posts_this_month.sh`;dom=`date +%e`;hour=`date +%H`;echo "scale=4;$posts / ($dom * 24 + $hour)" | bc -l | tr '\n' ' '
Result:
.1710
Wednesday, June 8, 2016
Blogger: Total Posts in This Month
Command:
$ curl -vs "http://smashingtheory.blogspot.jp" 2>&1 | grep -o -m 2 "<span class='post-count' dir='ltr'>([0-9]*)" | tail -1 | sed -e 's/[^[[:digit:]]]*//g'
Result:
33
$ curl -vs "http://smashingtheory.blogspot.jp" 2>&1 | grep -o -m 2 "<span class='post-count' dir='ltr'>([0-9]*)" | tail -1 | sed -e 's/[^[[:digit:]]]*//g'
Result:
33
ラベル:
Blogger (service),
cURL,
grep,
head (Unix),
sed,
tail (Unix)
Blogger: Total Posts in This Year
Command:
$ curl -vs "http://smashingtheory.blogspot.jp" 2>&1 | grep -o -m 1 "<span class='post-count' dir='ltr'>([0-9]*)" | sed -e 's/[^[[:digit:]]]*//g'
Result:
477
$ curl -vs "http://smashingtheory.blogspot.jp" 2>&1 | grep -o -m 1 "<span class='post-count' dir='ltr'>([0-9]*)" | sed -e 's/[^[[:digit:]]]*//g'
Result:
477
ラベル:
Bash (Unix shell),
Blogger (service),
cURL,
grep,
sed
Subscribe to:
Posts (Atom)