Sunday, May 21, 2017
Kemono Friends (けものフレンズ): Episode #1 (第1話)
- Cerulean (セルリアン)
ラベル:
Cerulean,
Kemono Friends,
Media mix,
けものフレンズ,
メディアミックス
Huawei P9: Pocketnow: More than just a pair of cameras?
- HiSilicon Kirin 955
- 6.95mm thickness
- Leica Dual cameras
ラベル:
HiSilicon,
Huawei,
Huawei P9,
Leica Camera
Huawei Mate 9: Pocketnow: One Week Later
- HiSilicon (Huawei) Kirin 960
- Dual cameras
- Leica Camera
- Dual speakers
- Android 7.0
ラベル:
HiSilicon,
Huawei,
Huawei Mate 9,
Leica Camera
Cron: Copying all Labels from Blog to a File (Example)
Command:
$ cat smashingtheory_label_urls.sh
Result:
if [ $# -eq 1 ]; then
curl -s https://smashingtheory.blogspot.jp | sed -n "s/.*dir='ltr' href='https:\/\/smashingtheory.blogspot.jp\/search\/label\/\\([^']*\\).*/\1/p" > $1
else
echo "Usage: smashingtheory_label_urls.sh FILENAME" >&2
fi
Note:
Double backslashes before the round brackets should be single backslash. I did this to escape Mathjax's behavior.
$ cat smashingtheory_label_urls.sh
Result:
if [ $# -eq 1 ]; then
curl -s https://smashingtheory.blogspot.jp | sed -n "s/.*dir='ltr' href='https:\/\/smashingtheory.blogspot.jp\/search\/label\/\\([^']*\\).*/\1/p" > $1
else
echo "Usage: smashingtheory_label_urls.sh FILENAME" >&2
fi
Note:
Double backslashes before the round brackets should be single backslash. I did this to escape Mathjax's behavior.
ラベル:
Bash (Unix shell),
Blogger (service),
Cron,
cURL,
sed
Saturday, May 20, 2017
Subscribe to:
Posts (Atom)