Running kata-collect-data.sh
version 2.2.0 (commit )
at 2021-09-11.00:46:02.252524179+0000
.
Runtime
{ | |
"variables": { | |
"host": "default" | |
}, | |
"builders": [ | |
{ | |
"type": "docker", | |
"image": "debian:latest", | |
"commit": "true", | |
"run_command": [ |
<!doctype html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<div id="graph"></div> | |
<script src="https://d3js.org/d3.v5.min.js"></script> | |
<script> | |
(async () => { | |
overlap = 5 |
{ | |
"variables": { | |
"host": "default", | |
}, | |
"builders": [ | |
{ | |
"type": "docker", | |
"image": "debian:9.6", | |
"commit": true, | |
"run_command": [ |
variable bucket { | |
description = "AWS S3 bucket name to use for state storage" | |
type = string | |
} | |
variable dynamodb_table { | |
description = "AWS DynamoDB table name to use for state locking" | |
type = string | |
} |
package main | |
import ( | |
"context" | |
"fmt" | |
"os" | |
"github.com/google/go-github/v31/github" | |
"golang.org/x/oauth2" | |
) |
#!/usr/bin/env bash | |
# | |
# This script is used for configuring terraform and it's remote state backend | |
# for a specific environment. This is done by sourcing a backend config in the | |
# `dev` folder under the git root directory. Note that the backend config file | |
# name needs to end with a `.hcl` extension and the file basename is used as | |
# the environment name provided. It also sets a `TF_VAR_envname` with the | |
# environment name as value. | |
# | |
# For distinguishing the different environments the script also sets `PS1`. |
package main | |
import ( | |
"bytes" | |
"fmt" | |
) | |
func CountFunc(s []byte, f func(rune) bool) int { | |
n := 0 | |
for i := 0; i < len(s); i++ { |
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# sudo ./domains.sh | tee domains.txt | awk '/AVAILABILITY_AVAILABLE$/ {print $1}' | |
structs=$(find / -maxdepth 2 -mindepth 2 \ | |
| grep -E "^/(media|run|dev)" \ | |
| grep -v -E "(_|\.)" \ |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"net/http" | |
"time" | |
) |