Skip to content

Instantly share code, notes, and snippets.

View NESS-Network's full-sized avatar

PrivateNess.Network NESS-Network

View GitHub Profile
package main
import (
"encoding/hex"
"fmt"
"github.com/skycoin/skycoin/src/cipher"
"github.com/skycoin/skycoin/src/cipher/base58"
)
@jeromy-vandusen-obs
jeromy-vandusen-obs / DockerSwarmCheatSheet.md
Last active November 26, 2025 01:51
Docker Swarm Cheat Sheet

Docker Swarm Cheat Sheet

Initialize the local Docker service as a swarm manager. As a guideline, in production you should have 3 to 5 managers. Swarm is managed through port 2377, which should be blocked from external access.

$ docker swarm init

Join an existing swarm as a worker node. Replace $SWARM_MANAGER with the IP address or domain name of a swarm manager node.

@gusar1991
gusar1991 / emerRPCdriver.py
Created May 24, 2018 12:58
Emercoin json-rpc simple python driver
import json
import requests
class EmercoinClient(object):
def __init__(self,
user='rpcuser from emercoin.conf',
password='rpcpassword from emercoin.conf',
protocol='http',
host='hostname or IP where EMC is running',