Skip to content

Instantly share code, notes, and snippets.

Lilith Moon Cohen lilithmooncohen

  • Slalom _build
  • Boulder, CO
Block or report user

Report or block lilithmooncohen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am rythehuman on github.
  • I am rythehuman (https://keybase.io/rythehuman) on keybase.
  • I have a public key ASDHyMWnuTV9b1QzD1taRD9O_pfpSl_Qpv3rDhp5DgCK7wo

To claim this, I am signing this object:

View kitchen_terraform_run
➜ make test_integration
./test/integration/gcloud/run.sh
Creating main.tf file
Creating outputs.tf file
Fetching https://github.com/terraform-google-modules/kitchen-inspec.git
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/.
Fetching gem metadata from https://rubygems.org/.
View issue-1826-debug.txt
➜ issue-1826 cat main.tf
locals {
credentials_file_path = "./sa-key.json"
}
provider "google" {
credentials = "${file(local.credentials_file_path)}"
}
resource "google_project" "project" {
View gist:01b180b897b0eac4f1c0f09088cb2da4
#!/bin/bash
set -e
if [ "$#" -lt 4 ]; then
>&2 echo "Not all expected arguments set."
exit 1
fi
PROJECT_ID=$1
@lilithmooncohen
lilithmooncohen / gist:ab3e3780071f1fb6f8616402890e0af4
Created Jul 30, 2018
google_project app engine feature setting multiple applies
View gist:ab3e3780071f1fb6f8616402890e0af4
➜ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
View keybase.md

Keybase proof

I hereby claim:

  • I am ryanckoch on github.
  • I am ryanckoch (https://keybase.io/ryanckoch) on keybase.
  • I have a public key whose fingerprint is 87D1 3A7A 0BC7 38C2 00E1 9E58 5099 E6DB 7387 08BD

To claim this, I am signing this object:

View docker-playground.sh
#!/bin/bash
# Description: This script spins up a multi node Docker Swarm w/ Docker
# Networking and Consul discovery w/ Registrator
# Author: Ryan C Koch
# ryanckoch@gmail.com
# Usage: bash docker-playground.sh usage
PLAYGROUND_NAME="docker-playground"
CONSUL_IMAGE="progrium/consul"
View gist:42e4d8b4a9abbffb28c0
#!/bin/bash
# ------------------------------------------------------------------
# Author: Ryan C Koch - ryanckoch@gmail.com
# Purpose: CHECK TCP AND UDP CONNECTIVITY BETWEEN
# SOURCE AND DESTINATION HOSTS
# ------------------------------------------------------------------
SOURCE_FILE="source.hosts"
DESTINATION_FILE="destination.hosts"
LOG_VERBOSE="logs/verbose.log"
@lilithmooncohen
lilithmooncohen / gist:9794015
Last active Aug 29, 2015
Simple script to return TCP memory settings and actual usage.
View gist:9794015
#!/bin/bash
# Author: Ryan C Koch - ryanckoch@gmail.com
# Purpose: Returns TCP Memory settings and Usage
# Arguments: low - Return Low Threshold Setting
# mem - Return Memory Pressure Setting
# out - Return Out of Socket Setting
# use - Return Actual Usage
# use_thresh - Check Usage Against Settings and Return Threshold
SETTINGS=$(cat /proc/sys/net/ipv4/tcp_mem)
You can’t perform that action at this time.