This will guide you through setting up a replica set in a docker environment using.
- Docker Compose
- MongoDB Replica Sets
- Mongoose
- Mongoose Transactions
Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!
| #!/bin/bash | |
| set -e | |
| # NetBird Setup for Podman Quadlets | |
| # Target: /etc/containers/systemd | |
| # Based on https://github.com/netbirdio/netbird/blob/614e7d5b90667b807e788dd3f0d7421dac4a8cac/infrastructure_files/getting-started.sh | |
| # Mainly translated using GEMINI 3 PRO (After weeks of trying to get Netbird to work, this Finally worked...) | |
| # ORIGINAL LICENSE: |
| <domain type='kvm'> | |
| <name>cloudhypervisor</name> | |
| <uuid>4dea22b3-1d52-d8f3-2516-782e98ab3fa0</uuid> | |
| <os> | |
| <type>hvm</type> | |
| <kernel>hypervisor-fw</kernel> | |
| </os> | |
| <memory unit='G'>2</memory> | |
| <devices> | |
| <disk type='file'> |
This will guide you through setting up a replica set in a docker environment using.
Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!
To use media keys on the Ducky One 2 Skyline, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.
Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.
As an example, to bind Fn+PgUp to the play/pause media function:
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """Minimal python commad line.""" | |
| import sys | |
| import argparse | |
| import logging |
| #!/usr/bin/env python | |
| #Copyright (C) 2009 Allen Sanabria | |
| #This program is free software; you can redistribute it and/or modify it under | |
| #the terms of the GNU General Public License as published by the Free Software Foundation; | |
| #either version 2 of the License, or (at your option) any later version. | |
| #This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | |
| #without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| #See the GNU General Public License for more details. You should have received a copy of i |
| #!/bin/bash | |
| function main() | |
| { | |
| monitor_from_file $* | |
| } | |
| function monitor_vpn_ip_port() | |
| { | |
| local CONN_NAME=$1 |