- 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 hidden or 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
# NOTE! default password for 'hackboard' user is HB2 - CHANGE IT | |
# Also note that the standard Debian distro seems to come from huawei? | |
# You may or may not care about this. You probably should! | |
# This is a fun post: | |
# https://www.reddit.com/r/hackboard2/comments/17hgq4i/finally_got_my_8gb_with_case_some_initial/?rdt=40227 | |
# hackboard@HB2:~$ date | |
# Thu 12 Sep 2024 07:56:14 PM BST | |
# hackboard@HB2:~$ lsb_release -a |
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
## See https://stackoverflow.com/a/66766065/8249410 | |
## IN A REBASE, THE MEANING OF OURS / THEIRS IS REVERSED | |
## Because we're replaying commits over the other branch, the commits you're adding over the | |
## base branch become 'theirs' wrt the base branch | |
## capeesh? | |
## To choose the influence of `origin/main` for rebase conflicts | |
git rebase -s recursive -X ours origin/main | |
## To choose the influence of your current branch for rebase conflicts |
This file contains hidden or 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
is:open is:pr -author:app/dependabot |
This file contains hidden or 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
git co -b feature-name | |
# ... do some stuff | |
git commit -am "message" | |
# .. go away for a while | |
git fetch origin/master | |
git rebase origin master | |
# ... do some more work | |
git add . | |
git commit --amend |
NewerOlder