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
| diff --git a/Makefile_MacOS b/Makefile_MacOS | |
| index 72f9d3f..87f7e4b 100644 | |
| --- a/Makefile_MacOS | |
| +++ b/Makefile_MacOS | |
| @@ -20,7 +20,7 @@ CFLAGS = -g -MMD -MP -std=c++11 \ | |
| WFLAGS = -pedantic -Wignored-qualifiers -Wreturn-type -Wunused-variable -Wno-c11-extensions | |
| OPTGTK = | |
| -LIBS = -L$(LLVM_BASE)/lib -L$(BOOST_BASE)/lib -lboost_system -L./ -Wl,-rpath,./ -lai | |
| +LIBS = -L$(LLVM_BASE)/lib -L$(BOOST_BASE)/lib -L./ -Wl,-rpath,./ -lai |
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/sh | |
| test $1 && month=$1 || month=`date '+%Y-%m'` | |
| echo Content-Type: text/html | |
| echo | |
| echo "<title>majiang-server log</title>" | |
| echo "<style>" |
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/sh | |
| if [ $1 ] | |
| then | |
| [ $2 ] && url=`echo $2|sed 's/[^\/]*$//'`"server" | |
| for name in ドサ健 出目徳 女衒の達 上州虎 坊や哲 八代ゆき まゆみ おりん | |
| do | |
| if [ $name == 'まゆみ' ] | |
| then | |
| majiang-bot -r $1 -n $name -l 0001 $url & |
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/sh | |
| # | |
| # majiang-server-log - 麻雀サーバーへの接続数を集計する | |
| # | |
| # - majiang-server-log logdir | |
| # 現在の接続状況を追記する | |
| # - majiang-server-log -s logdir | |
| # 今月分のサマリーを作成する | |
| # - majiang-server-log -s logdir yyyy-mm | |
| # yyyy-mm分のサマリーを作成する |
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
| /*** Responsive: yes ***/ | |
| /* | |
| * 全体の設定 | |
| */ | |
| body { | |
| font-family: Verdana, sans-serif; | |
| font-size: 14px; | |
| -webkit-text-size-adjust: 100%; |
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
| /* | |
| * シャンテン数計算時間計測(1,000,000回) | |
| * | |
| * 実行方法: npm test xiangting-1M.js -- --no-timeouts | |
| */ | |
| const assert = require('assert'); | |
| const Majiang = require('./'); |
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/sh | |
| set -e | |
| cd `echo $0|sed 's/\/[^\/]*$//'` | |
| . etc/config.txt | |
| [ ! $title ] && exit 1 | |
| [ ! $dist ] && exit 2 |
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/sh | |
| set -e | |
| [ $1 ] || (echo "Usage: $0 version"; exit 1) | |
| version=$1 | |
| npx semver ${version} || (echo "${version}: bad semver"; exit 1) | |
| ex package.json <<++ |
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/sh | |
| # | |
| # tenhou-log-all - 天鳳鳳凰卓(東南戦)の牌譜を電脳麻将形式で全て取得する | |
| # | |
| # - tenhou-log-all -t workdir | |
| # 最新(昨年分)の牌譜が公開されたかチェックする | |
| # - tenhou-log-all workdir | |
| # 昨年分の牌譜を電脳麻将形式に変換して workdir に取得する | |
| # - tenhou-log-all workdir year | |
| # year で指定した年の牌譜を電脳麻将形式に変換して workdir に取得する |
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
| <style> | |
| /* | |
| * ソースコードを美しく見せる設定 | |
| */ | |
| /* 行の折り返しのルールなどをデフォルトに戻す */ | |
| .entry-content pre { | |
| line-height: normal; | |
| white-space: pre; | |
| word-break: normal; |
NewerOlder