This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
hashtag="#東海道らぐ" | |
while : | |
do | |
if [ $word -z ]; then | |
word=${hashtag} | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
TMP=/tmp/gsay.mp3 | |
curl --silent --user-agent "Safari/1.0" "http://translate.google.com/translate_tts?q=$1&tl=ja" > $TMP && afplay $TMP && rm -f $TMP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bin/zsh | |
# http://www.j-comi.jp/book/comic/22 | |
seq 201 218 | sed -re 's/^1//g' | xargs -i wget -w 5 -t 1 -c -nc -O 'LH{}_hq.pdf' 'http://dl.j-comi.jp/download/book/2{}/hq' |