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
// 準備 | |
// mkdir pokemon_karuta | |
// cd pokemon_karuta | |
// このファイル置く | |
// git clone https://github.com/fanzeyi/pokemon.json.git | |
// mkdir {output,compact_h,compact_v} | |
// 実行 | |
// go run pokemon_karuta.go | |
package main |
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/bash | |
# MongoDB | |
mongodb=false | |
# option | |
while getopts ":m" opt; do | |
case $opt in | |
m ) mongodb=true ;; | |
\? ) echo "Usage: \"$0 [-m] #application_name#\" " |