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
#!/bin/sh | |
NETWORK=$1 | |
OP=$2 | |
BINARY=stacks-node | |
BASEDIR=$HOME/stacks-blockchain | |
usage () { | |
echo "" | |
echo "$0 (mocknet|testnet|mainnet) (start|stop|restart)" |
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 base64 | |
import hashlib | |
source = [ | |
"/path/to/chainstate.txt", # < -- edit this path | |
"/path/to//chainstate.txt.sha256" # < -- edit this path | |
] | |
for file in source: | |
hash_md5 = hashlib.md5() | |
with open(file, "rb") as f: | |
for chunk in iter(lambda: f.read(4096), b""): |
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
Verifying my Blockstack ID is secured with the address 13EWrxFrtcKgFas5kvm3kQhX86KLjhFpCM https://explorer.blockstack.org/address/13EWrxFrtcKgFas5kvm3kQhX86KLjhFpCM |
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 os | |
import argparse | |
import re | |
import errno | |
import stat | |
import pwd | |
import grp | |
# no longer needed since we hardcoded the mount cmd for now |
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 os | |
import argparse | |
import re | |
import errno | |
import stat | |
import pwd | |
import grp | |
# no longer needed since we hardcoded the mount cmd for now |
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
Port 22 | |
Protocol 2 | |
PidFile /var/run/sshd.pid | |
LogLevel INFO | |
SyslogFacility AUTH | |
PermitEmptyPasswords no | |
PubKeyAuthentication yes | |
DSAAuthentication yes | |
IgnoreRhosts yes |
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
### Keybase proof | |
I hereby claim: | |
* I am wileyj on github. | |
* I am wileyj (https://keybase.io/wileyj) on keybase. | |
* I have a public key whose fingerprint is AE7B 37FD B634 A08F 8904 AC1A 2EF1 0D71 9C76 8737 | |
To claim this, I am signing this object: |
NewerOlder