This is an OpenPGP proof that connects 1B21F334A6BEBE958764387204DB417981CAE6A9 to @arcezd.
For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:1B21F334A6BEBE958764387204DB417981CAE6A9]
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: 1B21 F334 A6BE BE95 8764 3872 04DB 4179 81CA E6A9 | |
Comment: Diego Arce (Zuora) <[email protected]> | |
Comment: Diego Arce <[email protected]> | |
Comment: Diego Arce <[email protected]> | |
xsFNBGAWyoQBEACpw+HzPPDz4sc9NGj/TjbZMfA2hRV9myU451EQql2+/641h/9t | |
IPsIo921jvpGxs6GTAuoAx6XGNIKMMI2opsZ0HzH2SqTsj6BnPEp1dhFF+zcsJdN | |
FHWQDjvThBdac8duzuO7T5C+utrUo3pshENjkipwBYhgHiamy0Z6yByoEGPEaCpI | |
tKbJjWtMWNnSWyXfzRbbhbF1oxDODTyIN3ohFlQyftjcrQ/7XFabD25jUL7qFG48 |
# Default settings for amethyst | |
# Repo: `https://github.com/ianyh/Amethyst` | |
# | |
# Note due to issue 1419 (https://github.com/ianyh/Amethyst/issues/1419) some | |
# config values may conflict and not work if they are the same as the default | |
# values for amathyst. You can see these values on github at | |
# https://github.com/ianyh/Amethyst/blob/development/Amethyst/default.amethyst | |
# If you're experiencing conflicts and the settings are the same as the default, | |
# comment out the commands in this file. | |
# |
import board | |
import neopixel | |
pixels = neopixel.NeoPixel(board.D18, 19) | |
#pixels[0] = (255, 0, 128) | |
#pixels.fill((255, 0, 255)) ## all yellow | |
#pixels.fill((255,0,128)) | |
#for x in range(7, 12): | |
# pixels[x] = (255, 255, 0) |
locals { | |
main_vpc_cidr_block = "10.0.0.0/16" | |
public_subnets = { | |
"PublicSubnetA" = { | |
cidr_block = "10.0.1.0/24", | |
availability_zone_id = "use1-az4" | |
}, | |
"PublicSubnetB" = { | |
cidr_block = "10.0.2.0/24", | |
availability_zone_id = "use1-az6" |
This is an OpenPGP proof that connects 1B21F334A6BEBE958764387204DB417981CAE6A9 to @arcezd.
For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:1B21F334A6BEBE958764387204DB417981CAE6A9]
FROM node:12-alpine AS builder | |
# Use build directory | |
WORKDIR /build | |
# Copy app files | |
COPY ./ /build/ | |
# Install node dependencies | |
RUN npm install |
DISCLAIMER: Copied from [https://raspberrypi.stackexchange.com/questions/85958/easy-backups-and-snapshots-of-a-running-system-with-lvm/85959]
Moving the installation isn't the problem but the LVM drivers must be loaded on boot up so the root partition can be mounted and used for booting. Fortunately the Raspberry Pi supports loading a ramdisk for initrd so we have to do an additional step to create the initram containing drivers for LVM.
The following is only for a quick setup an initramfs where you have to monitor kernel updates by yourself. To use a more automated setup an initramfs you can look at How can I use an init ramdisk (initramfs) on boot up Raspberry Pi?.
If you are unexperienced with linux please try it first with a new image how I did for this How To. You can loose all data.
For reference I use Raspbian Buster with Desktop 2020-02-13, flashed it to a SD Card and boot it in a RasPi. First do an upgrade to get the latest software versions and instal
#!/bin/bash | |
if [ "$(docker info --format '{{.Swarm.LocalNodeState}}')" = "inactive" ]; then | |
echo "Node is not in a swarm cluster" | |
exit 0 | |
elif [ "$(docker info --format '{{.Swarm.LocalNodeState}}')" = "active" ]; then | |
echo "Node is in a swarm and healthy" | |
elif [ "$(docker info --format '{{.Swarm.LocalNodeState}}')" = "pending" ]; then | |
echo "Node is in a swarm but no quorum" | |
elif [ "$(docker info --format '{{.Swarm.LocalNodeState}}')" = "locked" ]; then |
#!/bin/bash | |
yum -y update | |
sudo yum install -y yum-utils \ | |
device-mapper-persistent-data \ | |
lvm2 | |
sudo yum-config-manager \ | |
--add-repo \ | |
https://download.docker.com/linux/centos/docker-ce.repo | |
sudo yum install docker-ce docker-ce-cli containerd.io |
# Homebrew EXPORT | |
export PATH="$PATH:$HOME/.local/bin" | |
# NVM EXPORT | |
export NVM_DIR="$HOME/.nvm" | |
source $(brew --prefix nvm)/nvm.sh | |
# PYENV EXPORT | |
export PYENV_ROOT=/usr/local/var/pyenv | |
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi |