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
#!/usr/bin/env bash | |
# 免翻墙安装Go tools | |
branch="release-branch.go1.4" | |
mkdir -p $GOPATH/src/golang.org/x | |
git clone -b $branch [email protected]:golang/tools.git $GOPATH/src/golang.org/x/tools | |
git clone [email protected]:golang/net.git $GOPATH/src/golang.org/x/net | |
cd $GOPATH | |
go install golang.org/x/tools/cmd/goimports |
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
/* | |
* Amount2RMB.java 2008-6-15 | |
*/ | |
package test; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class Amount2RMB { | |
private static final Pattern AMOUNT_PATTERN = |