docker-compose -p lagoon exec broker sh
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
======================================== | |
Logs on pod lagoon-build-shxxsg | |
======================================== | |
Agent pid 28 | |
Identity added: /home/.ssh/key (/home/.ssh/key) | |
############################################## | |
+ set -eo pipefail | |
+ set -o noglob | |
+ set +x | |
build-deploy-tool 0.13.6 go version go1.18.4 linux/amd64 (built: 2022-07-20T03:01:49Z / 45220a0) |
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
#!/usr/bin/env python3 | |
# NeoPixel library strandtest example | |
# Author: Chris Davis (cdchris12@gmail.com) | |
# | |
# Showcases various animations on a strip of NeoPixels. | |
import time | |
from rpi_ws281x import Adafruit_NeoPixel, Color | |
# from collections import OrderedDict | |
import argparse |
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 | |
# use oc | |
OC=oc | |
usage() { | |
echo "Usage: ./migrate-route.sh -s nginx-ns1 -d nginx-ns2 -r my.route.example" | |
echo "Options:" | |
echo " -s <SOURCE_NAMESPACE> #required" | |
echo " -d <DEST_NAMESPACE> #required" |
Per http://docs.ansible.com/ansible/playbooks_vault.html you can set an environment variable to use a password file for vault access. We can use this to create an environment variable to hold the password.
Copy vault-env
from this project to ~/bin
. Then add this to your ~/.bashrc
:
export ANSIBLE_VAULT_PASSWORD_FILE=~/bin/vault-env
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' | |
services: | |
nginx: | |
image: nginx:latest | |
container_name: nginx-proxy | |
volumes: | |
- ./nginx.conf:/etc/nginx/nginx.conf | |
- ./omada.crt:/etc/ssl/certs/omada.crt | |
- ./omada.key:/etc/ssl/certs/omada.key | |
restart: always |
cat /etc/sysconfig/network-scripts/ifcfg-bond0.100 > /etc/sysconfig/network-scripts/ifcfg-bond0.200
vi /etc/sysconfig/network-scripts/ifcfg-bond0.200
ip link add link bond0 name bond0.200 type vlan id 200
ip link set bond0.200 up
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<title>Starter Template for Bootstrap</title> | |
<!-- Bootstrap core CSS --> |
go get golang.org/x/crypto/pbkdf2
go run pbkdf.go
#OUTPUT---
KEY=...
IV=...
#---OUTPUT
FILEIN=2018-12-10-094956-65761430-a301-4203-b3b9-3cff284dac86
FILEOUT=094956-65761430-a301-4203-b3b9-3cff284dac86
openssl enc -d -aes-256-ctr -in $FILEIN -nosalt -p -K $KEY -iv $IV -out $FILEOUT.bz2
I hereby claim:
- I am shreddedbacon on github.
- I am shreddedbacon (https://keybase.io/shreddedbacon) on keybase.
- I have a public key ASCko2Ann_oJeH0twctpyUOXqRxeUTzwePXPwCAXezWW5Ao
To claim this, I am signing this object:
NewerOlder