- Apply the settings below
- Load up the LRPi tablet app on the 'master'
- Hit the 'pair' button at the top of the screen
- Wait until it says 'unpair'
- Load up the LRPi tablet app on the 'slave'
- It should say: 'Sorry, I'm being controlled by another LushRoom π'
- Use the LRPi tablet app on the 'master' as usual
- When done, hit 'unpair' on the 'master'
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
x-pg-healthcheck: &pg-healthcheck | |
healthcheck: | |
test: ["CMD-SHELL", "pg_isready -U postgres"] | |
interval: 5s | |
timeout: 5s | |
retries: 5 | |
x-pg-config: &shared-pg-config | |
image: postgres:13.0-alpine | |
restart: 'unless-stopped' |
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
DO NOT RUN THIS CODE | |
IT IS LIKELY AN ATTACK | |
TREAD CAREFULLY | |
DO NOT BELIEVE IN FREE BA TICKETS | |
BA TICKETS ARE EXPENSIVE AS SHIT AND THERE'S NO WAY THEY WOULD OFFER SUCH JOY IN SUCH unprecedented TIMES |
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 | |
is_ready_string="accepting connections" | |
postgres_ready=0 | |
timescale_ready=0 | |
all_postgres_are_ready=0 | |
echo $postgres_response | |
echo $timescale_response |
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
# devices / volumes inspired by: | |
# https://github.com/scottsideleau/docker-vlc | |
PORT=80 | |
sudo docker run -it --rm --network host -p $PORT:$PORT \ | |
--env PORT=$PORT \ | |
-v $HOME/.pulse:/home/vlc/.pulse:rw \ | |
-v /dev/shm:/dev/shm \ | |
-v /dev/snd:/dev/snd \ |
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
// ETLite.js is a cool name, eh? | |
// A slight bastardisation of the 'Chain of Responsibility' pattern | |
// Inspired by: | |
// https://github.com/InBrewJ/ts-for-dsa-minimal/blob/master/typescript-tasks/003-fizzbuzz-chain-responsibility/003-fizzbuzz-chain-responsibility.ts | |
// In a sense, is this is a 'Tree of Responsibility'? | |
// It's kind of like a DAG. It IS a DAG? | |
// We essentially want a tree of stages | |
// At the end of the pipeline, dump a report |
OlderNewer