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
const CALENDAR_SETTINGS = { | |
SYNC: { | |
TARGET_CALENDAR_ID: '[email protected]', // コピー先カレンダーID | |
SOURCE_CALENDAR_IDS: ['[email protected]'], // コピー元カレンダーIDリスト | |
EVENT_MARKER: { | |
PROPERTY_NAME: 'private', // イベントマーカーのプロパティ名 | |
PROPERTY_VALUE: 'copied', // イベントマーカーのプロパティ値 | |
}, | |
SYNC_PERIOD_DAYS: 30, // 同期期間 (日数) | |
EVENT_PROPERTIES: { |
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
module.exports = (robot) -> | |
# 「予定表」という言葉に反応してURLを発言 | |
robot.hear /予定表/i, (msg) -> | |
msg.send "http://sample.com/team/schedule" | |
# 「hubot my pr」と話かけられたら、自分向けのプルリクエスト一覧URLを発言 | |
# この例はSlackとGithubのアカウント名が同一であることを前提にしていますが、異なる場合は変換が必要です | |
URL = {} | |
URL.PR = "https://github.com/eure/repo/pulls/assigned/" |
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
# Description: | |
# helps you to make curl command. | |
# | |
# Commands: | |
# hubot teach curl - building curl command in coversation with bot. | |
Conversation = require('hubot-conversation'); | |
class CurlCommand | |
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
# Description: | |
# Pull Request Assign | |
# | |
# Commands: | |
# hubot review <url> - choose someone to review <url> pull requests. | |
# hubot review2 <url> - choose two members to review <url> pull requests. | |
MEMBER = {} | |
# 選出対象者としてslackの@を除いたユーザー名を半角スペースで区切ります | |
MEMBER.DEV = "taro jiro saburo shiro goro" |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/codegangsta/cli" | |
) | |
func main() { |
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
package main | |
import "fmt" | |
type Dog interface { | |
Run() error | |
} | |
// --- | |
type MyDog struct{} |
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
<?php | |
// Altax - http://kohkimakimoto.github.io/altax/ | |
// Autoloading for plugin command classes. | |
if (is_file(__DIR__ . '/vendor/autoload.php')) require_once __DIR__ . '/vendor/autoload.php'; | |
// *************************************************************** | |
// Server definition. - change here. | |
// *************************************************************** | |
Server::nodesFromSSHConfigHosts(); |