Note: this is a work in progress, and is subject to change soon.
save a chart directory
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
alert('hello world'); | |
</script> | |
</body> | |
</html> |
package main | |
import ( | |
"context" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"github.com/containerd/containerd/content/local" | |
"github.com/containerd/containerd/images" |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/bin/bash -ex | |
CLUSTER_NAME=${CLUSTER_NAME:-mycluster} | |
go get -u sigs.k8s.io/kind | |
kind delete cluster --name=$CLUSTER_NAME || true | |
kind create cluster --name=$CLUSTER_NAME | |
SET_KUBE_CMD="export KUBECONFIG="$(kind get kubeconfig-path --name="$CLUSTER_NAME")"" | |
$SET_KUBE_CMD |
#!/bin/bash -ex | |
export HELM_HOME="/tmp/helm3" | |
mkdir -p "${HELM_HOME}/bin" | |
rm -f helm-release.tar.gz | |
wget -O helm-release.tar.gz https://get.helm.sh/helm-v3.0.0-alpha.1-darwin-amd64.tar.gz | |
if [[ "$(openssl dgst -sha256 helm-release.tar.gz | awk '{print $2}')" != "f562e5bbb5b8b8a6a46c080970c1fea35ff908a1402f56e5d4c8f327c9ff4835" ]]; then | |
echo "checksum does not match" | |
exit 1 |
#!/bin/bash -ex | |
export HELM_HOME="/tmp/helm3" | |
mkdir -p "${HELM_HOME}/bin" | |
rm -f helm-release.tar.gz | |
wget -O helm-release.tar.gz https://get.helm.sh/helm-v3.0.0-alpha.1-darwin-amd64.tar.gz | |
if [[ "$(openssl dgst -sha256 helm-release.tar.gz | awk '{print $2}')" != "w562e5bbb5b8b8a6a46c080970c1fea35ff908a1402f56e5d4c8f327c9ff4835" ]]; then | |
echo "checksum does not match" | |
exit 1 |
#!/bin/bash -ex | |
# | |
# Magic Helm 3.0.0-alpha1 macOS install script here: | |
# https://gist.github.com/jdolitsky/0ec804b09f24a24b05acb681f01903c9 | |
# ---> | |
GIST_ID="${GIST_SLUG:-jdolitsky/0ec804b09f24a24b05acb681f01903c9}" | |
GIST_FILE="${GIST_FILE:-install_helm3alpha1_mac.sh}" | |
GIST_URL="https://gist.githubusercontent.com/${GIST_ID}/raw/${GIST_FILE}" |
#!/usr/bin/env bash | |
set -euo pipefail | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
cd "${DIR}" | |
REQUIRED_SYSTEM_COMMANDS=( | |
"go" | |
"octant" | |
"fswatch" |
/* | |
new_private_list_with_all_followed_users.go | |
Script to add everyone you follow on Twitter to a new private list | |
Usage (requires Go 1.13+): | |
// Name of the Twitter list (should not exist yet, will be created) | |
export TW_LIST_NAME="<new_list_name>" |