Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
###############################################################################
#
# install-full-node.sh
#
# This is the earn.com install script for Bitcoin full node based on Bitcoin Core.
#
# This script attempts to make your node automatically reachable by other nodes
# in the network. This is done by using uPnP to open port 8333 on your router
@musichook
musichook / Andrew'sDevelopmentTips\gulp.md
Last active November 27, 2021 20:37
Using environments with Gulp example

Gulp

Environment (.env file)

Configuration

Using

var gulp = require('gulp');
var _if = require('gulp-if');
@musichook
musichook / Non-actual\tmbackup.sh
Last active November 27, 2021 20:32 — forked from aidmax/tmbackup.sh
Install Time Machine service on CentOS 7
# Install Time Machine service on CentOS 7
# Updated for netatalk 3.1.12
# install required packages for compiling from source
yum install -y rpm-build gcc make wget
# install Perl-IO-socket dependency for netatalk 3.1.12
yum install -y perl-IO-Socket-INET6 perl-interpreter perl-generators libxslt
# install netatalk

Unzip all files in a directory

You can get the error caution: filename not matched when trying to unzip all archives at a directory with the command unzip *.zip or similar. Just escape the star symbol:

use

unzip \*.zip

instead of

@musichook
musichook / install_bitcoin.sh
Last active July 12, 2019 21:03 — forked from hunanboy/install_bitcoin.sh
Install Bitcoin Node (CentOS 7)
#!/bin/bash
# WARNING: 1G size ram won't work! Bitcoin "make" consumes lots of ram. Add swap first: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-7
# Adapted from: https://www.ndchost.com/wiki/how-to-install-bitcoin-on-centos-7
BITCOIN_TAG="v0.18.0"
# Install the EPEL repository
sudo yum install -y epel-release