This file contains 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 | |
# Tmux script to create 2 dcrd nodes connected in series. | |
# Network layout: | |
# master <-> 1 | |
# 19555 19665 | |
set -e | |
SESSION="dcrd-simnet-nodes" | |
NODES_ROOT=~/dcrdsimnetnodes |
This file contains 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
init.d script: | |
#!/system/bin/sh | |
iptables -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination 8.8.8.8:53 | |
iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to-destination 8.8.8.8:53 |
This file contains 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/bash | |
# script adapted from https://medium.com/coinmonks/bitcoin-lightning-network-run-your-node-at-home-for-fun-and-no-profit-da5b61be2ba9 | |
LND_VERSION=v0.5.1-beta | |
ARCH=linux-armv7 | |
LND_ARCHIVE=lnd-${ARCH}-${LND_VERSION}.tar.gz | |
cd /tmp \ | |
&& wget https://github.com/lightningnetwork/lnd/releases/download/${LND_VERSION}/${LND_ARCHIVE} \ | |
&& wget https://github.com/lightningnetwork/lnd/releases/download/${LND_VERSION}/manifest-${LND_VERSION}.txt \ |
This file contains 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/bash | |
ALS=$1 | |
export TIME_VALUE_OFFSET=$2 | |
export ID_OFFSET=$3 | |
if [ "$ALS" == "" -o "$TIME_VALUE_OFFSET" == "" -o "$ID_OFFSET" == "" ]; then | |
echo "$0 <liveset.als> <locator time offset (bars)> <locator ID offset>" | |
exit |
This file contains 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
docker pull peterzen/popcorntime | |
docker run -it --privileged -e "container=docker" -v /sys/fs/cgrosys/fs/cgroup -v /var/run/dbus:/var/run/dbus -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix peterzen/popcorntime:latest /root/Popcorn-Time |
This file contains 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 | |
DNS_PUBLIC=tcp://1.1.1.1 TORSOCKS_ALLOW_INBOUND=1 torsocks monerod --p2p-bind-ip 127.0.0.1 --no-igd --hide-my-port --block-sync-size 10 --rpc-bind-ip 0.0.0.0 --confirm-external-bind # --detach | |
This file contains 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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFjwDlcBEAC7WYhY/n9Z6tOZ5NBa/0ltWD5PjwtFZXTU62xq1w9oh/27AqA4 | |
TaIHk8kP5OLsutlAQOk1g27XPL+zohU0RslaBTfrmNEvSTMNYPM6tE4e6c2qvOgE | |
uKOPZHZS0bZ95pAduEqDvfyfcocut8bWc6eJ3qARwuXiML6R8fdPwKES+xvn+q+H | |
x9ZK0dJ6joeJgmbOzuECy8V+qexyyRuxK5vftpwt6txWIwWaXCqdglRhvqj0LnYd | |
668s5nGUQabOeqp2t/6wQVuLsxhLNPZ4/YEVkiEB67Z2P4ADbNQScfglU8hzH1R7 | |
qugV6QVKHrPxm3MbKfxphGbFOMoqlUpFzyW9bA+PJ5iwJiSJYaze4yrdEcCaErTK | |
Sdf8zM0mHkdIH7nctDgvP9J3/RbKfOvkxEPIPtv5AM+D8pX7m08pG23RZRd53ekX | |
65q03QAzT41lUQ0eEMmuVki2O2YmajYtiqv0kf4ZzuqgtFW5J6UlCeduTa4bniha |
This file contains 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
ticketbuyer.maxfee=0.01 | |
ticketbuyer.minfee=0.001 | |
ticketbuyer.dontwaitfortickets=1 | |
ticketbuyer.expirydelta=40 | |
ticketbuyer.maxpriceabsolute=80 | |
ticketbuyer.balancetomaintainabsolute=0 | |
ticketbuyer.balancetomaintainrelative=0 |
This file contains 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/bash | |
# create user | |
adduser peter | |
cp -rv .ssh ~peter | |
chown -R peter.peter ~peter | |
# partition block storage | |
#parted -s /dev/vdb mklabel gpt | |
#parted -s /dev/vdb unit mib mkpart primary 0% 100% |
This file contains 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
#copay-builder | |
FROM centos:latest | |
LABEL description="Copay builder image" | |
LABEL version="3.5.0" | |
LABEL maintainer "peter@froggle.org" | |
ENV NODE_VERSION v7.10.0 | |
ENV TERM linux | |
ENV USER build |
NewerOlder