Skip to content

Instantly share code, notes, and snippets.

@ntddk
Last active May 25, 2019 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntddk/54b219d4a8d2009630f6f41f04fa1a28 to your computer and use it in GitHub Desktop.
Save ntddk/54b219d4a8d2009630f6f41f04fa1a28 to your computer and use it in GitHub Desktop.
さなボタン連打してたら一日が終わった
#!/bin/sh
curl https://raw.githubusercontent.com/akameco/sana-voice/master/sana-voice-list.json > sana-voice-list.json
cat sana-voice-list.json | jq -r '.[].link' | while read line; do wget -nc $line; done
(while true; do ls -la | awk '$0~/mp3/{print $9}' | shuf -n 1 | xargs -Iargs cvlc --quiet --no-repeat args 2>/dev/null vlc://quit; done)&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment