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: | |
# Search and show your train time in Japan | |
# | |
# Dependencies: | |
# "cheerio-httpcli", "" | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
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
# http://k0kubun.hatenablog.com/entry/2014/07/06/033336 | |
# http://qiita.com/wada811/items/78b14181a4de0fd5b497 | |
function peco-select-history() { | |
typeset tac | |
if which tac > /dev/null; then | |
tac=tac | |
else | |
tac='tail -r' | |
fi |
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
<ul> | |
<li class="item">item1</li> | |
<li class="item">item2</li> | |
<li class="item">item3</li> | |
</ul> | |
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
require 'slack-ruby-client' | |
module Rounders | |
module Handlers | |
class Invoice < Rounders::Handlers::Handler | |
# メールをフィルタリングするAND条件、第二引数に渡したSymbolはメソッド名 | |
on({ | |
subject: 'Amazon Web Services Invoice Available', | |
from: '[email protected]' |
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 yaml = require("js-yaml"); | |
const fs = require("fs"); | |
const path = require("path"); | |
const setting = {}; | |
const CONFIG_DIR = path.join(__dirname, "../", "config"); | |
const ENVIRONMENTS_CONFIG_DIR = path.join(CONFIG_DIR, "settings"); | |
const LOCAL_CONFIG_YAML = path.join(CONFIG_DIR, "settings.local.yml"); | |
const CONFIG_YAML = path.join(CONFIG_DIR, "settings.yml"); |
OlderNewer