In a English Website, When choosing a Prefectures in Japan, the order is alphabetical.
- Aichi
- Akita
- Aomori
- Chiba
- Ehime
- Fukui
def alphabetList = ["えー", "びー", "しー", "でぃー", "いー", "えふ", "じー", "えいち", "あい", "じぇい", "けー", "える", "えむ", "えぬ", "おー", "ぴー", "きゅー", "あーる", "えす", "てぃー", "ゆー", "ぶい", "だぶりゅー", "えっくす", "わい", "ぜっと"] | |
def range = 1..1000 | |
range.eachWithIndex {num, i-> | |
println "${arabicNumToKanjiNum(num)}反田${alphabetList[i%alphabetList.size()]}" | |
} | |
// アラビア数字を漢数字に変換します | |
def arabicNumToKanjiNum(long num){ | |
def kanjiNumUnit = ["", "万", "億", "兆", "京"] |
シ((ィ|イ)(|ー)|ー)ク(ア|ァ|ワ|ヮ)(ー|)(サ|シャ)ー |
using System; | |
class PC98Beep | |
{ | |
public static void Main(string[] args) | |
{ | |
// Console.Beep(int frequency, int duration); | |
Console.Beep(2000, 120); // pi | |
Console.Beep(1000, 120); // po | |
} |
public class TwitterOAuthRequestTokenCallbacks implements LoaderCallbacks<RequestToken> { | |
private Context mContext; | |
private Twitter mTwitter; | |
public TwitterOAuthRequestTokenCallbacks(Context context, Twitter twitter) { | |
mContext = context; | |
mTwitter = twitter; | |
} |
# これは? | |
放送内容を自動で解析、情報収集するシステムの構想です。 | |
# 取得する情報 | |
- 文字や画像として出ている情報 | |
- 字幕スーパー(動画内とデータ) | |
- 地図? | |
- クレジット |
# DevEnv | |
+ JDK 7 update 17 | |
+ GGTS 3.2.0RELEASE | |
+ Grails 2.2.1 | |
# Operations | |
1.Create Grails Project "test" | |
2. Add to BuildConfig.groovy |