I hereby claim:
- I am deepinthought on github.
- I am deepinthought (https://keybase.io/deepinthought) on keybase.
- I have a public key ASAi9fXT9vrsVkkuG7YgD0hmc8rKE2Wtc-kBXYfx36iMgwo
To claim this, I am signing this object:
#!/bin/sh | |
# fix permissions (wrong if docker mounted volume) | |
chown -R elasticsearch:elasticsearch /var/lib/elasticsearch | |
# now switch to elasticsearch user and run in foreground | |
echo Starting: /usr/share/elasticsearch/bin/elasticsearch -Des.default.config=$CONF_FILE -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=$LOG_DIR -Des.default.path.data=/var/lib/elasticsearch -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=$CONF_DIR $@ | |
su elasticsearch -s /bin/sh -c "/usr/share/elasticsearch/bin/elasticsearch -Des.default.config=$CONF_FILE -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=$LOG_DIR -Des.default.path.data=/var/lib/elasticsearch -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=$CONF_DIR $@" |
I hereby claim:
To claim this, I am signing this object:
provider "aws" { | |
region = "us-east-1" | |
shared_credentials_file = "~/.aws/credentials" | |
profile = "${var.aws_profile}" | |
} | |
terraform { | |
backend "s3" { | |
bucket = "your.bucket.com" | |
key = "path/to" |
#! /bin/bash | |
# This script runs on os x. | |
SITES=( "speedtest-lon1.digitalocean.com" \ | |
"speedtest-sfo1.digitalocean.com" \ | |
"speedtest-ams1.digitalocean.com" \ | |
"speedtest-ams2.digitalocean.com" \ | |
"speedtest-nyc1.digitalocean.com" \ | |
"speedtest-nyc2.digitalocean.com" \ |
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
// Set your variables below
SHEET_NAME="MC-Import-Data"
URL="https://coinmarketcap.com/currencies/views/all/"
// Create a trigger to refresh every 5 minutes
function myFunctionA() {
ScriptApp.newTrigger("getData")
.timeBased()
.everyMinutes(5)
#!/usr/bin/env bash | |
#file: ~/.docker/docker_lib_functions.sh | |
#? REF: https://dev.to/argherna/bash-functions-and-aliases-for-the-beginning-docker-developer-d4 | |
# Runs Docker build and tag it with the given name. | |
# | |
docker_build_tag() { | |
if [ $# -lt 1 ]; then | |
echo "Usage $FUNCNAME DIRNAME [TAGNAME ...]" |
#!/bin/bash | |
# Simple helper script that iterates over available repositories and clones them down. | |
# I know it could use some work. | |
export USER=syntaqx | |
curl -u $GITHUB_TOKEN:x-oauth-basic 'https://api.github.com/orgs/$USER/repos?per_page=100' | jq '.[].ssh_url' -r | while read url; do git clone "$url"; done |
variable "nodes" { | |
type = map(object({ | |
size = string | |
count = number | |
})) | |
default = { | |
manager = { | |
size = "s-1vcpu-1gb" | |
count = 1 | |
} |
*, | |
::after, | |
::before { | |
box-sizing: border-box | |
} |