This file contains 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
GroovyConsleの動きがいまいちの場合は以下を修正すること | |
(groovyConsoleのシェルの方を治すのも可。特にMac!!) | |
$GROOVY_HOME/bin | |
startGroovy | |
## 先頭に | |
export JAVA_HOME=/Library/Java/Home | |
export JAVA_OPTS='-Dgroovy.source.encoding=UTF-8 -Dfile.encoding=UTF-8' |
This file contains 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 | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
# check sudo | |
if [ "`whoami`" != "root" ]; then | |
echo "You need to be root to run this!" | |
exit 1 | |
fi |