記事は Qiita に書いています。
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
source "https://rubygems.org" | |
gem "tumugi", "~> 0.6.3" |
記事は Qiita に書いています。
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
#!/usr/bin/env python | |
import subprocess | |
import docker | |
import dockerpty | |
from os import path | |
import argparse | |
def get_hosts_list(filename): | |
hosts_list = [] |
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
node_modules | |
*.log |
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
/** | |
* HipChat client for Google Apps Script. | |
* This code is based on node-hipchat https://github.com/nkohari/node-hipchat/blob/master/lib/hipchat.js | |
*/ | |
(function(global) { | |
var HipChatClient = (function () { | |
HipChatClient.prototype.host = 'api.hipchat.com'; | |
function HipChatClient(apikey) { |
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
####################################################### | |
# Google Container Engine helper functions | |
# | |
# Prerequisities | |
# - gcloud | |
# - jq | |
####################################################### | |
function create_network() { | |
network=$1 |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" |
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
--- | |
# based on http://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent2.sh | |
- name: add apt key | |
apt_key: url=http://packages.treasuredata.com/GPG-KEY-td-agent state=present | |
- name: add apt repository | |
apt_repository: repo='deb [arch=amd64] http://packages.treasuredata.com/2/ubuntu/trusty/ trusty contrib' state=present | |
- name: install td-agent |
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
/* | |
* dependencies: | |
* Momement: 'MHMchiX6c1bwSqGM1PZiW_PxhMjh3Sh48' | |
*/ | |
/** | |
* @see https://developers.google.com/apps-script/reference/mail/mail-app | |
*/ | |
function sendMail(recipients, subject, doc) { | |
var attachment = doc.getAs('application/pdf'); |
NewerOlder