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 | |
PUSHOVER_TOKEN="<token>" | |
PUSHOVER_USER="<user>" | |
# The list of blocked keywords | |
declare -a BLOCKED=("uber eats" "block another keyword") | |
URL=http://192.168.0.1 | |
REFERER="$URL/index.html" | |
URL_SET="$URL/goform/goform_set_cmd_process" |
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
[Unit] | |
Description=Monero Wallet RPC | |
After=monerod.service | |
[Service] | |
User=satoshi | |
Group=satoshi | |
Type=simple | |
ExecStart=/usr/local/bin/monero-wallet-rpc --rpc-bind-ip=127.0.0.1 --disable-rpc-login \ |
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
<?php | |
require_once('vendor/autoload.php'); | |
use BitWasp\Bitcoin\Bitcoin; | |
use BitWasp\Bitcoin\Address\AddressCreator; | |
use BitWasp\Bitcoin\Key\Deterministic\HdPrefix\GlobalPrefixConfig; | |
use BitWasp\Bitcoin\Key\Deterministic\HdPrefix\NetworkConfig; | |
use BitWasp\Bitcoin\Network\Slip132\BitcoinRegistry; | |
use BitWasp\Bitcoin\Key\Deterministic\Slip132\Slip132; |
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
[Unit] | |
Description=BtcPayServer daemon | |
Requires=btcpayserver.service | |
After=nbxplorer.service | |
[Service] | |
ExecStart=/usr/bin/dotnet run --no-launch-profile --no-build -c Release -p "/home/satoshi/source/btcpayserver/BTCPayServer/BTCPayServer.csproj" -- $@ | |
User=satoshi | |
Group=satoshi | |
Type=simple |
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
[Unit] | |
Description=Monero Full Node | |
After=network.target | |
[Service] | |
User=satoshi | |
Group=satoshi | |
Type=forking | |
PIDFile=/home/satoshi/.bitmonero/monerod.pid |
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 | |
URL=http://192.168.0.1 | |
REFERER="$URL/index.html" | |
URL_SET="$URL/goform/goform_set_cmd_process" | |
URL_GET="$URL/goform/goform_get_cmd_process" | |
CONTENT_PREVIEW_LENGTH=40 | |
command -v jq >/dev/null 2>&1 || { echo >&2 "'jq' is required but not installed. Aborting."; exit 1; } |
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 | |
if [ "$1" = "start" ]; then | |
echo "Starting Lightning Network" | |
echo "=====================" | |
sudo service lnd start & | |
lncli unlock | |
elif [ "$1" = "stop" ]; then | |
echo "Stopping Lightning Network" |
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 | |
# Get number of cores to speed up the compilation time | |
CORES=$(( $(lscpu | awk '/^Socket/{ print $2 }') * $(lscpu | awk '/^Core/{ print $4 }') )) | |
# Other vars | |
IP=$(dig +short myip.opendns.com @resolver1.opendns.com) | |
BTC_CONF=~/.bitcoin/bitcoin.conf | |
LND_DIR=~/.lnd | |
LND_CONF=lnd.conf |
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
[Unit] | |
Description=NBXplorer daemon | |
Requires=bitcoind.service | |
After=bitcoind.service | |
[Service] | |
ExecStart=/usr/bin/dotnet "/home/satoshi/source/NBXplorer/NBXplorer/bin/Release/netcoreapp2.1/NBXplorer.dll" -c /home/satoshi/.nbxplorer/Main/settings.config | |
User=satoshi | |
Group=satoshi | |
Type=simple |
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 | |
TITLE=$1 | |
MESSAGE=$2 | |
PRIORITY=${3:-0} | |
RETRY=${4:-60} | |
EXPIRE=${5:-300} | |
if [ -z "$TITLE" ]; then | |
echo "No title provided" |
NewerOlder