I hereby claim:
- I am mdub on github.
- I am woollyams (https://keybase.io/woollyams) on keybase.
- I have a public key ASDhdRjoPOFNNVYlC2L3dC52RKdigaxEKbBSWdMizDS9Ywo
To claim this, I am signing this object:
A -> B | |
A -> C |
version: "3.3" | |
volumes: | |
shared: {} | |
services: | |
docker: | |
image: docker:rc-dind | |
privileged: true |
[alias] | |
b = branch | |
ci = commit | |
co = checkout | |
l = log --oneline --decorate --graph | |
s = status | |
pr = pull --rebase | |
cleanup = !git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d | |
[url "https://github.com/"] |
version: "2" | |
services: | |
dev: | |
image: ruby:2.3 | |
volumes: | |
- .:/project | |
- ruby2.3-bundle-cache:/usr/local/bundle | |
working_dir: /project |
I hereby claim:
To claim this, I am signing this object:
require "spec_helper" | |
require "pact/matchers" | |
require "pact/matchers/unix_diff_formatter" | |
require "term/ansicolor" | |
RSpec::Matchers.define :match_data do |expected| | |
match do |actual| | |
difference(actual).empty? |
# nested data usually auto-indents okay | |
x = { | |
:A => { | |
:a => 'a' | |
} | |
} | |
# but a comma after a brace throws things off |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'json' | |
require 'yaml' | |
data = YAML.load(STDIN.read) | |
puts JSON.pretty_generate(data) |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'json' | |
require 'yaml' | |
JSON.create_id = "__disabled__" | |
data = JSON.parse(STDIN.read) | |
YAML.dump(data, STDOUT) |
#! /usr/bin/env ruby | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any | |
# means. | |
require 'aws-sdk' |