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
Verifying my Blockstack ID is secured with the address 1CBMJVVKkDtvLBdt5ASM3mS6fEC47R8bjK https://explorer.blockstack.org/address/1CBMJVVKkDtvLBdt5ASM3mS6fEC47R8bjK |
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=Eclair Lightning Node | |
Requires=bitcoind.service | |
After=bitcoind.service | |
[Service] | |
ExecStart=/usr/bin/java -jar /home/bitcoin/eclair/eclair-node.jar | |
Restart=always | |
RestartSec=60 | |
User=bitcoin |
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=C-Lightning daemon | |
Requires=bitcoind.service | |
Requires=getpublicip.service | |
After=bitcoind.service | |
[Service] | |
# get var PUBIP from file | |
EnvironmentFile=/home/bitcoin/publicip/publicip |
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=getpublicip.sh: get public ip address from ipinfo.io | |
After=network.target | |
[Service] | |
User=root | |
Group=root | |
Type=simple | |
ExecStart=/usr/local/bin/getpublicip.sh | |
Restart=always |
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 | |
# getpublicip.sh | |
echo 'getpublicip.sh started, writing public IP address every 10 minutes into /run/publicip' | |
while [ 0 ]; | |
do | |
printf "PUBLICIP=$(curl -vv ipinfo.io/ip 2> /run/publicip.log)\n" > /run/publicip; | |
sleep 600 | |
done; |
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 | |
# original script by Damian Mee https://github.com/meeDamian | |
# copy script to /etc/update-motd.d/ | |
# set colors | |
color_red='\033[0;31m' | |
color_green='\033[0;32m' | |
color_yellow='\033[0;33m' | |
color_gray='\033[0;37m' | |
color_darkgray='\033[1;30m' |
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
# enable color prompt (uncomment) | |
force_color_prompt=yes | |
# pimp prompt (replace the PS1 line), use only one yellow OR red, not both. | |
# yellow user | |
PS1="${debian_chroot:+($debian_chroot)}\[\e[33m\]\u \[\033[01;34m\]\w\[\e[33;40m\] ฿\[\e[m\] " | |
# red user | |
PS1="${debian_chroot:+($debian_chroot)}\[\e[31m\]\u \[\033[01;34m\]\w\[\e[33;40m\] ฿\[\e[m\] " | |
# set "ls" to always use the -la option |
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
RunAsDaemon 1 | |
PortForwarding 1 | |
ControlPort 9051 | |
CookieAuthentication 1 | |
CookieAuthFileGroupReadable 1 | |
MaxMemInQueues 256MB | |
Log notice file /var/log/tor/notices.log |
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
# Example bitcoin.conf for Thundroid | |
server=1 | |
daemon=1 | |
testnet=1 | |
txindex=1 | |
# Connection settings | |
#externalip=111.222.333.444 # to announce fixed ip | |
#port=12345 # for non-standard port | |
rpcuser=bitcoin |
OlderNewer