This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE SUB delay (seconds!) | |
SCREEN 13 | |
RANDOMIZE TIMER | |
DIM prevCircX(1 TO 360) | |
DIM prevCircY(1 TO 360) | |
DIM prevInCircX(1 TO 360) | |
DIM prevInCircY(1 TO 360) | |
DO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// the Aisatana track MIDI notes | |
const notes = [ | |
{ | |
"name": "E3", | |
"midi": 52, | |
"time": 0, | |
"velocity": 0.30708661417322836, | |
"duration": 0.5882355 | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Forked from https://raw.githubusercontent.com/linuxserver/docker-docker-compose/master/run.sh | |
# | |
# Run docker-compose in a container | |
# | |
# This script will attempt to mirror the host paths by using volumes for the | |
# following paths: | |
# * $(pwd) | |
# * $(dirname $COMPOSE_FILE) if it's set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
networks: | |
web: | |
external: true | |
internal: | |
external: false | |
services: | |
blog: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[http.middlewares.simpleAuth.basicAuth] | |
users = [ | |
"YourUsername:$apr1$bJDZ0TQm$IBSNb2xcRsYrIdcJxNG1h." | |
] | |
[http.routers.api] | |
rule = "Host(`dashboard.example.com`)" | |
entrypoints = ["websecure"] | |
middlewares = ["simpleAuth"] | |
service = "api@internal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[entryPoints] | |
[entryPoints.web] | |
address = ":80" | |
[entryPoints.web.http.redirections.entryPoint] | |
to = "websecure" | |
scheme = "https" | |
[entryPoints.websecure] | |
address = ":443" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BUCKET=your-backup-bucket-name-here | |
REGION=eu-west-2 | |
aws iam create-user --user-name velero | |
cat > velero-policy.json <<EOF | |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function allOSRealPath() { | |
if isOSWindows | |
then | |
path="" | |
case $1 in | |
.* ) path="$PWD/${1#./}" ;; | |
/* ) path="$1" ;; | |
* ) path="/$1" ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo tee /etc/apt/sources.list.d/kubernetes.list &>/dev/null <<EOF | |
deb http://apt.kubernetes.io/ kubernetes-xenial main | |
EOF | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
sudo apt-get update | |
# Pin / install specific versions of the following components | |
sudo apt-get install -qy kubelet=1.16.2-00 kubectl=1.16.2-00 kubeadm=1.16.2-00 kubernetes-cni=0.7.5-00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
labels: | |
app: metallb | |
name: metallb-system | |
--- | |
apiVersion: policy/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: |
NewerOlder