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
| /* | |
| 読書記録用 | |
| */ | |
| // ISBN 12桁の末尾にからチェックディジットを追加する関数 | |
| function appendCheckDigit (isbn12) { | |
| var array = String(isbn12).split("") | |
| var total = 0; | |
| // 奇数桁 | |
| for (var i = 0; i <= 10; i += 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
| @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
| * { | |
| font-family: "UDEV Gothic" !important; | |
| } | |
| /* ------------------------------ | |
| folder pane | |
| ------------------------------ */ |
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
| /* | |
| slash command | |
| 多数決を簡単に行う | |
| */ | |
| ///////////////////////////////////////////////////////////////////////// | |
| // グローバル変数 | |
| ///////////////////////////////////////////////////////////////////////// | |
| //token |
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
| /* | |
| ワークスペースに追加されたチャンネルをシートに追加して定時で slack に通知 | |
| */ | |
| /////////////////////////////////////////////////////// | |
| // グローバル変数 | |
| /////////////////////////////////////////////////////// |
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
| /* | |
| slash command | |
| 投稿された絵文字のURLを返すことでスタンプのように投稿する | |
| */ | |
| ///////////////////////////////////////////////////////////////////////// | |
| // グローバル変数 | |
| ///////////////////////////////////////////////////////////////////////// | |
| // token |
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
| /* | |
| slash command | |
| 言いたいことをロボットに代弁してもらう | |
| scope | |
| chat:write:bot | |
| interactive components | |
| */ | |
| ///////////////////////////////////////////////////////////////////////// | |
| // グローバル変数 |
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日前のツイートをエゴサーチして集約・報告 | |
| 使用ライブラリ: Moment | |
| */ | |
| //////////////////////////////////////////////////////// | |
| // グローバル変数 | |
| //////////////////////////////////////////////////////// | |
| // token |
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
| /* | |
| slack 経由で辞典のデータを参照 | |
| */ | |
| ///////////////////////////////////////////// | |
| // グローバル変数 | |
| ///////////////////////////////////////////// | |
| // シート | |
| var SHEET_ID = PropertiesService.getScriptProperties().getProperty("SHEET_ID"); |
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
| /* | |
| slack 経由で家計簿を登録して集計する。 | |
| - interactive components | |
| - Bot token scopes | |
| - chat:write | |
| - reactions:write | |
| - User token scopes | |
| - channels:history | |
| */ |
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
| /* | |
| Wifiから切断された時点のタイムスタンプを IFTTT でシートに取得して定時からの差分で残業時間を google カレンダーに自動登録する。 | |
| 時刻トリガーで深夜に定期実行。 | |
| 使用ライブラリ: Moment | |
| */ | |
| /////////////////////////////////////////////////////// | |
| // グローバル変数 | |
| /////////////////////////////////////////////////////// |