I hereby claim:
- I am ahawkins on github.
- I am ahawkins (https://keybase.io/ahawkins) on keybase.
- I have a public key ASAaiy0Ya9Gwtr52fgpLKdqrUhMhCp02XWMBv19bIf3kUQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "Lambdas to collect KPIs and scheduled event source", | |
"Parameters": { | |
"S3Bucket": { | |
"Type": "String", | |
"Description": "S3 bucket for lambda artifacts" | |
}, | |
"S3Key": { | |
"Type": "String", |
--- | |
- hosts: localhost | |
connection: local | |
gather_facts: False | |
tasks: | |
- name: Create scratch dir for release artifact | |
command: "mktemp -d" | |
register: tmp_dir | |
changed_when: False |
PACKAGE:=vendor/node_modules.tar.gz | |
DOCKER_IMAGE:=slashdeploy/kpis | |
NODE_VERSION:=$(shell cat Dockerfile | head -n 1 | cut -d ' ' -f 2) | |
IMAGE:=tmp/image | |
NODE_MODULES:=tmp/node_modules | |
.PHONY: check | |
check: | |
docker --version > /dev/null | |
zip --version > /dev/null |
class Scanner | |
include Concord.new(:table) | |
def scan(threads: 1) | |
results = [ ] | |
pool = (1..threads).to_a | |
workers = pool.map do |i| | |
Thread.new do | |
response = table.scan(segment: i, total_segments: threads).tap do |data| |
Process: Slack [3767] | |
Path: /Applications/Slack.app/Contents/MacOS/Slack | |
Identifier: com.tinyspeck.slackmacgap | |
Version: 1.1.1 (2797) | |
App Item ID: 803453959 | |
App External ID: 812808614 | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Slack [3767] | |
User ID: 501 |
module ROM | |
class Railtie < Rails::Railtie | |
attr_reader :load_via_rake | |
rake_tasks do | |
self.loaded_via_rake = true | |
end | |
end | |
end |
RUBY_IMAGE:=$(shell grep FROM Dockerfile | cut -f2 -d' ') | |
DYNAMODB_IMAGE:=dynamodb:latest # original value ommitted | |
APP_IMAGE:=inventory_service/app | |
TAG:=$(shell git rev-parse --short HEAD) | |
REGISTRY:=example.registry.com # original value omitted | |
.DEFAULT_GOAL:= build |
dub build | |
Building tracelogs-api-spec ~master configuration "application", build type debug. | |
Compiling using dmd... | |
Linking... | |
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-4E5C174615F4A2AACA361D15D901711C/tracelogs-api-spec.o:(.rodata+0x1658): undefined reference to `_D6thrift7codegen9processor12__ModuleInfoZ' | |
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-4E5C174615F4A2AACA361D15D901711C/tracelogs-api-spec.o:(.rodata+0x1660): undefined reference to `_D6thrift8protocol6binary12__ModuleInfoZ' | |
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-4E5C174615F4A2AACA361D15D901711C/tracelogs-api-spec.o:(.rodata+0x1668): undefined reference to `_D6thrift6server6simple12__ModuleInfoZ' | |
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-4E5C174615F4A2AACA361D15D901711C/tracelogs-api-spec.o:(.rodata+0x1670): undefined reference to `_D6thrift6server9transport6socket12__ModuleInfoZ' | |
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-4E5C174615F4A2AACA361D15D901711C/tracelogs-api-spec. |
require 'concord' | |
require 'rom' | |
ROM.setup :memory | |
# Do not expose 3rd part interfaces directly. Instead create your | |
# own interface. This DataStore class encapsulates all persistence | |
# things with ROM and provides a single unified CQRS style inteface | |
# to the wider application. | |
class DataStore |