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/bash | |
# write an English text string as an audio file using Google Translate | |
# usage: en2audio.sh <text> | |
wget -q -U Mozilla -O "german-$*.mp3" "http://translate.google.com/translate_tts?ie=UTF-8&tl=de&q=$*" |
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
namespace :doc do | |
namespace :diagram do | |
task :models do | |
sh "railroad -i -l -a -m -M | dot -Tpng | sed 's/font-size:14.00/font-size:12.00/g' > doc/models.png" | |
end | |
task :controllers do | |
sh "railroad -i -l -C | dot -Tpng | sed 's/font-size:14.00/font-size:12.00/g' > doc/controllers.png" | |
sh "gwenview ./doc/models.png" | |
end |
NewerOlder