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 that +biddster is my blockchain ID. https://onename.com/biddster |
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 script work on any system using systemd as the init process. | |
# It works on Debian/Raspbian Jessie. | |
# If you have Debian/Rapbian Wheezy and want to use this script with systemd | |
# follow the information here : https://wiki.debian.org/systemd | |
# To easily download, install and set at startup: | |
# wget -O /tmp/download https://gist.github.com/biddster/9a700b0974f3a7b7a34e/download && sudo tar -zxf /tmp/download --strip-components 1 -C /etc/systemd/system/ && sudo systemctl --reload-daemon && sudo systemctl enable Node-RED | |
# To consult the log : journalctl -u Node-RED | |
[Unit] |
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/bash | |
function exit_if { | |
retcode=$? | |
[[ $retcode = 0 ]] || { echo "${1} - exit code [${retcode}]"; exit $retcode; } | |
} | |
cd | |
apt-get update |
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/bash | |
TAG=${1?"Usage: $0 <release version>"} | |
function exit_if { | |
retcode=$? | |
[[ $retcode = 0 ]] || { echo "${1} - exit code [${retcode}]"; exit $retcode; } | |
} | |
if [[ -n "$(git status --porcelain)" ]]; then | |
echo "Uncommited changes detected!" |
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/bash | |
#set -x | |
SALT_MASTER_IP=${1?"Please specify the salt-master ip address"} | |
function exit_if { | |
retcode=$? | |
[[ $retcode = 0 ]] || { echo "${1} - exit code [${retcode}]"; exit $retcode; } | |
} |