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!
<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 |
# Since I ask this of people before using their code samples, anyone can | |
# use this under BSD. | |
import os | |
import M2Crypto | |
def empty_callback(): | |
return | |
# Seed the random number generator with 1024 random bytes (8192 bits) |