This file contains hidden or 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
diff --git a/descriptor/BUILD.bazel b/descriptor/BUILD.bazel | |
new file mode 100644 | |
index 0000000..eb76723 | |
--- /dev/null | |
+++ b/descriptor/BUILD.bazel | |
@@ -0,0 +1,26 @@ | |
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | |
+ | |
+go_library( | |
+ name = "go_default_library", |
This file contains hidden or 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
[2020-01-25 06:25:40.510][1][debug][config] [external/envoy/source/common/config/grpc_mux_impl.cc:132] Received gRPC message for type.googleapis.com/envoy.api.v2.ClusterLoadAssignment at version 1579933540 | |
[2020-01-25 06:25:40.511][1][debug][upstream] [external/envoy/source/common/upstream/upstream_impl.cc:250] transport socket match, socket default selected for host with address 172.17.0.21:9001 | |
[2020-01-25 06:25:40.511][1][debug][upstream] [external/envoy/source/common/upstream/upstream_impl.cc:250] transport socket match, socket default selected for host with address 172.17.0.10:9001 | |
[2020-01-25 06:25:40.511][1][debug][upstream] [external/envoy/source/common/upstream/upstream_impl.cc:250] transport socket match, socket default selected for host with address 172.17.0.14:9001 | |
[2020-01-25 06:25:40.511][1][debug][upstream] [external/envoy/source/common/upstream/upstream_impl.cc:250] transport socket match, socket default selected for host with address 172.17.0.8:9001 | |
[2020-01-25 06:25:40.511][1][debug][upstrea |
This file contains hidden or 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Crosstool-NG Configuration | |
# | |
CT_CONFIGURE_has_xz=y | |
CT_MODULES=y | |
# | |
# Paths and misc options | |
# |
This file contains hidden or 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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"math" | |
"os" | |
"time" | |
gdax "github.com/preichenberger/go-coinbase-exchange" |
This file contains hidden or 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 python | |
import sys | |
import json | |
import requests | |
from decimal import Decimal | |
import logging | |
from logging.handlers import RotatingFileHandler | |
worklog = logging.getLogger('sweep_funds') | |
#shandler = logging.handlers.RotatingFileHandler('sweep_funds.log', maxBytes=1024*1024*10, backupCount=1000) |
This file contains hidden or 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
# this tool can be used to create sweep transactions for bitcoin cash | |
# it's designed to send all coins from one mixdepth at a time to a single | |
# address with a small fee. | |
# bitcoin cash donations: 128Q5Ro2c9Enb5DhG7wSBmws8nCtC7e5x8 | |
# sample run command: | |
# python bcash-tool.py -m 1 -g 10 -a 128Q5Ro2c9Enb5DhG7wSBmws8nCtC7e5x8 -f 3000 wallet.json | |
# this tool does not broadcast the signed transaction, it only prints it to the terminal |
This file contains hidden or 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
import ( | |
"encoding/json" | |
"strings" | |
) | |
type S struct { | |
Id int `json:"id"` | |
} | |
func (s *S) FromJsonString(in_string string) { |
This file contains hidden or 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
--- | |
- name: Determine if Home | |
hosts: localhost | |
gather_facts: false | |
tasks: | |
- shell: dig +short myip.opendns.com @resolver1.opendns.com | |
register: myip | |
changed_when: false | |
- shell: dig +short <home dns> @resolver1.opendns.com | |
register: homeip |
This file contains hidden or 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
--- | |
- name: Determine if Home | |
hosts: localhost | |
gather_facts: false | |
tasks: | |
- shell: dig +short myip.opendns.com @resolver1.opendns.com | |
register: myip | |
- shell: dig +short <my home dns> @resolver1.opendns.com | |
register: homeip | |
- set_fact: home="{{ myip.stdout == homeip.stdout }}" |
This file contains hidden or 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
--- | |
- name: Update servers | |
hosts: servers | |
user: root | |
tasks: | |
apt: upgrade=yes update_cache=yes | |
- name: Update aws | |
hosts: aws | |
user: ubuntu |
NewerOlder