Skip to content

Instantly share code, notes, and snippets.

View dymurray's full-sized avatar

Dylan Murray dymurray

  • Red Hat
  • Raleigh, NC
View GitHub Profile
---
registry:
- type: openshift
# NOTE: Careful with registry.name; it *must* match the name that was used when
# the broker was originally brought up
name: reg
url: https://registry.connect.redhat.com
user: rhci-test
pass:
white_list:
# This is an example of an OpenShift-Ansible host inventory that provides the
# minimum recommended configuration for production use. This includes 3 masters,
# two infra nodes, two compute nodes, and an haproxy load balancer to load
# balance traffic to the API servers. For a truly production environment you
# should use an external load balancing solution that itself is highly available.
[masters]
master.example.com ansible_host=172.17.0.1
[etcd:children]
# This is an example of an OpenShift-Ansible host inventory that provides the
# minimum recommended configuration for production use. This includes 3 masters,
# two infra nodes, two compute nodes, and an haproxy load balancer to load
# balance traffic to the API servers. For a truly production environment you
# should use an external load balancing solution that itself is highly available.
[masters]
localhost
[etcd]
//
// Copyright (c) 2018 Red Hat, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
//
// Copyright (c) 2018 Red Hat, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
This file has been truncated, but you can view the full file.
**** BEGIN LOGGING AT Mon Nov 13 13:57:35 2017
Nov 13 13:57:35 * Now talking on #bitcoincash
**** BEGIN LOGGING AT Mon Nov 13 13:57:35 2017
Nov 13 13:57:35 * Now talking on #bitcoincash
Nov 13 13:57:35 Nov 13 13:57:35 * Topic for #bitcoincash is: Bitcoin Cash : peer-to-peer electronic cash - https://www.bitcoincash.org/
* Topic for #bitcoincash is: Bitcoin Cash : peer-to-peer electronic cash - https://www.bitcoincash.org/
Nov 13 13:57:35 * Topic for #bitcoincash set by freetrader!6739481f@gateway/web/freenode/ip.103.57.72.31 at Wed Jul 19 13:31:18 2017
Nov 13 13:57:35 * Topic for #bitcoincash set by freetrader!6739481f@gateway/web/freenode/ip.103.57.72.31 at Wed Jul 19 13:31:18 2017
{u'items': [{u'dockerImageManifestMediaType': u'application/vnd.docker.distribution.manifest.v2+json', u'dockerImageMetadataVersion': u'1.0', u'dockerImageLayers': [{u'mediaType': u'application/vnd.docker.image.rootfs.diff.tar.gzip', u'name': u'sha256:45a2e645736c4c66ef34acce2407ded21f7a9b231199d3b92d6c9776df264729', u'size': 70389679}, {u'mediaType': u'application/vnd.docker.image.rootfs.diff.tar.gzip', u'name': u'sha256:734fb161cf896cf5c25a9a857a4b4d267bb5a59d5acf9ba846278ab3f3d1f5d5', u'size': 256}, {u'mediaType': u'application/vnd.docker.image.rootfs.diff.tar.gzip', u'name': u'sha256:78efc9e155c4f5ac3665c4ef14339c305672468520dc0d5ad5a254ce90a1ec28', u'size': 68747156}, {u'mediaType': u'application/vnd.docker.image.rootfs.diff.tar.gzip', u'name': u'sha256:8a3400b7e31a55323583e3d585b3b0be56d9f7ae563187aec96d47ef5419982a', u'size': 1979}, {u'mediaType': u'application/vnd.docker.image.rootfs.diff.tar.gzip', u'name': u'sha256:1fec2e47b4d1591a1196592b71667add558eb99e7a57601f487de5c6134b9220', u'size': 225452638
#!/usr/bin/env python
import urllib2
import json
import sys
import time
import wget
import os
if len(sys.argv) == 1:
@dymurray
dymurray / foo
Created December 14, 2017 22:56
{
"address": "198uJefNKWvg4Nq1PPZtKoECutXcMhkSJV",
"received": 110512438,
"sent": 9721145,
"balance": 100791293,
"tx_count": 5,
"unconfirmed_tx_count": 0,
"unconfirmed_received": 0,
"unconfirmed_sent": 0,
"unspent_tx_count": 3,
#!/usr/bin/env python
import time, sys
from electroncash import SimpleConfig, Network, daemon, wallet
from electroncash.util import print_msg, json_encode, PrintError
## CONFIG
password = ""
wallet_path = "/home/<user>/.electron-cash/wallets/<wallet>"