<match dummy.tag>
@type copy
<store>
@type relabel
@label @bigquery-out
</store>
<store>
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
# require 'active_support/all' | |
# require 'test/unit' | |
p({"foo" => "bar"} == {"foo" => "bar"}) # => true | |
p [{"foo" => "bar"}] == [{"foo" => "bar"}] # => true |
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
FROM appbase | |
# install npm & bower packages | |
WORKDIR /root | |
COPY package.json bower.json /root/ | |
RUN npm install --only=prod && \ | |
npm cache clean && \ | |
bower install --allow-root | |
# install gems |
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
require 'pp' | |
require 'timeout' | |
require 'terminal-table' | |
require 'paint' | |
class EcsDeploy | |
WAIT_TIMEOUT = 300 | |
CHECK_INTERVAL = 5 | |
attr_reader \ |
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
namespace :docker do | |
desc "build and push docker image on remote host" | |
task :build do | |
docker_registry_host = SSHKit::Host.new(fetch(:docker_registry_host)) | |
docker_registry_host.ssh_options = { | |
user: "ec2-user", | |
keys: ENV['SSH_KEY'], | |
} | |
sha1 = `git rev-parse #{fetch(:branch)}`.chomp |
Caused by: org.embulk.config.ConfigException: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.Character out of VALUE_STRING token
at [Source: N/A; line: -1, column: -1]
at org.embulk.config.ModelManager.readObjectWithConfigSerDe(org/embulk/config/ModelManager.java:75)
at org.embulk.config.DataSourceImpl.loadConfig(org/embulk/config/DataSourceImpl.java:220)
at org.embulk.standards.CsvFormatterPlugin.transaction(org/embulk/standards/CsvFormatterPlugin.java:91)
at org.embulk.spi.FileOutputRunner$RunnerControl$1.run(org/embulk/spi/FileOutputRunner.java:101)
at org.embulk.spi.util.Encoders$RecursiveControl.transaction(org/embulk/spi/util/Encoders.java:77)
at org.embulk.spi.util.Encoders.transaction(org/embulk/spi/util/Encoders.java:33)
at org.embulk.spi.FileOutputRunner$RunnerControl.run(org/embulk/spi/FileOutputRunner.java:98)
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
require 'msgpack' | |
data = { | |
"foo" => "bar", | |
"ascii" => "bar".force_encoding(Encoding::ASCII_8BIT), | |
"utf8" => "あいうえお".force_encoding(Encoding::UTF_8), | |
"bad_ascii" => "あいうえお".force_encoding(Encoding::ASCII_8BIT), | |
"binary" => "Ruby".unpack("U*").pack("i*"), | |
"int" => 42, | |
"float" => 2.3, |
ESM Drinkup で提供予定のお酒一覧
- いづみ橋 恵 青ラベル 純米吟醸 1800ml
- いづみ橋 桃色黒とんぼ きもと純米酒 1800ml
- 七本鎗 無有(むう) 無農薬純米 1800ml
- 七本鎗 純米吟醸 "吟吹雪" 1800ml
- 七田 純米吟醸 雄町50 1800ml
- 三井の寿(みいのことぶき) 純米吟醸 酒未来 福岡県産 1800ml
- 上喜元 純米 "雄町" 1800ml
- 作 雅乃智(純米大 吟醸中取り) 1.8L
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
class TestObject | |
def initialize(name) | |
@name = name | |
@children = [] | |
end | |
def add_child(child) | |
@children << child | |
self | |
end |
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
class CreateUsers < ActiveRecord::Migration | |
def change | |
create_table :users do |t| | |
t.string :name | |
t.references :user_account | |
t.timestamps null: false | |
end | |
end | |
end |