I hereby claim:
- I am halfb00t on github.
- I am halfb00t (https://keybase.io/halfb00t) on keybase.
- I have a public key ASA8IPG9exntY63MDv_WHwb_QfFHDsqLDJNU1yHL8dvZcAo
To claim this, I am signing this object:
| -- | |
| -- This will register the "planet" table within your AWS account | |
| -- | |
| CREATE EXTERNAL TABLE planet ( | |
| id BIGINT, | |
| type STRING, | |
| tags MAP<STRING,STRING>, | |
| lat DECIMAL(9,7), | |
| lon DECIMAL(10,7), | |
| nds ARRAY<STRUCT<ref: BIGINT>>, |
| # ssh key generator data source expects the below 3 inputs, and produces 3 outputs for use: | |
| # "${data.external.ssh_key_generator.result.public_key}" (contents) | |
| # "${data.external.ssh_key_generator.result.private_key}" (contents) | |
| # "${data.external.ssh_key_generator.result.private_key_file}" (path) | |
| data "external" "ssh_key_generator" { | |
| program = ["bash", "${path.root}/../ssh_key_generator.sh"] | |
| query = { | |
| customer_name = "${var.customer_name}" | |
| customer_group = "${var.customer_group}" |
I hereby claim:
To claim this, I am signing this object:
| import sys, time, subprocess, socket, telnetlib | |
| from datetime import datetime | |
| from collections import defaultdict | |
| from boto.ec2.cloudwatch import CloudWatchConnection | |
| MAPPINGS = { | |
| # Memcached name: (AWS Name, AWS Metric Type, Calculation Method) | |
| 'uptime': ('Uptime', 'Count', 'gauge'), |
| #!/usr/bin/env bash | |
| set -e | |
| function usage() { | |
| set -e | |
| cat <<EOM | |
| ##### ecs-run ##### | |
| Simple script for running tasks on Amazon Elastic Container Service | |
| One of the following is required: | |
| Required arguments: |
| // -*- mode: groovy -*- | |
| // vim: set filetype=groovy : | |
| node( 'some_node' ) { | |
| stage( "Phase 1" ) { | |
| sshagent( credentials: [ 'some_creds' ] ) { | |
| checkout scm | |
| def lastSuccessfulCommit = getLastSuccessfulCommit() | |
| def currentCommit = commitHashForBuild( currentBuild.rawBuild ) | |
| if (lastSuccessfulCommit) { |
| #!/bin/bash | |
| additional_strace_args="$1" | |
| MASTER_PID=$(ps auwx | grep php-fpm | grep -v grep | grep 'master process' | cut -d ' ' -f 6) | |
| while read -r pid; | |
| do | |
| if [[ $pid != $MASTER_PID ]]; then | |
| nohup strace -r -p "$pid" $additional_strace_args >"$pid.trc" 2>&1 & |
| kernel: | |
| image: linuxkit/kernel:4.9.75 | |
| cmdline: "console=tty0 console=ttyS0 console=ttyAMA0" | |
| init: | |
| - linuxkit/init:5a577d070817b4f17821657823082651baafd4ed | |
| - linuxkit/runc:abc3f292653e64a2fd488e9675ace19a55ec7023 | |
| - linuxkit/containerd:e58a382c33bb509ba3e0e8170dfaa5a100504c5b | |
| - linuxkit/ca-certificates:de21b84d9b055ad9dcecc57965b654a7a24ef8e0 | |
| onboot: | |
| - name: sysctl |