CELO_GENESIS_VALIDATOR_SIGNER_ADDRESS=0x2a1BfF2452AcA1ca5FFABbD34b2744109d11E4f5 CELO_GENESIS_VALIDATOR_SIGNER_BLS_PUBLIC_KEY=0122d3f6ae5e2bc6fdee3cd35a3522ea519bfa6f365451fa275c4688bcfb5cec418fa053a8859981e973ea273ca68f014e840d0ccf18cc7c498742103c3116732ef197a9f90f50bf64f83754a86ad441fe9691bfdf384a1aaacf38430a2b1001 CELO_GENESIS_VALIDATOR_SIGNER_BLS_SIGNATURE=bfcafd40590a90c488358efe8cae948f248224bbf587c0755820a6c0870bdccbf211238484178828c74afc08868e9301 CELO_RELEASE_GOLD_BENEFICIARY_ADDRESS_1=0xB1dE485616f06cB6E244932cdEfe6c4678187684 CELO_RELEASE_GOLD_BENEFICIARY_ADDRESS_2=0x5E55d7bf906f8b35adF4b73462C1a45030a2E5c9
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 | |
GO_VERSION=${GO_VERSION:=1.15.2} | |
cd /tmp/ \ | |
&& wget -q https://dl.google.com/go/go$GO_VERSION.linux-amd64.tar.gz \ | |
&& rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go*.tar.gz \ | |
&& rm go$GO_VERSION*.gz | |
echo "Creating default Go folders" |
CELO_VALIDATOR_GROUP_ADDRESS=e5de9f2d1535d5b2cf8d0ba91d1f92c475f88a3b CELO_VALIDATOR_ADDRESS=4a36b1eeb0178c9948cffb183a2333e98ebb888d
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 | |
# (miner stop || true) && cd /tmp && curl -L --insecure -s -O https://gist.githubusercontent.com/huglester/14ff9b5b8b785303d028e1a4ad86c728/raw/update-gminer.sh -o update-gminer.sh && screen -dmS updater bash update-gminer.sh | |
dt=$(date '+%Y-%m-%d_%H:%M:%S'); | |
DIRECTORY=/hive/miners/gminer/1.69 | |
rm -fr /tmp/gminer |
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
echo 'datasource_list: [ None ]' | sudo -s tee /etc/cloud/cloud.cfg.d/90_dpkg.cfg | |
sudo apt-get purge cloud-init -y | |
sudo rm -rf /etc/cloud/; sudo rm -rf /var/lib/cloud/ | |
sudo sh -c 'echo "rig2" > /etc/motd' | |
sudo rm /etc/update-motd.d/* | |
rig2 ALL=(ALL) NOPASSWD:ALL |
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
mv /etc/exim.routers.pre.conf /etc/exim.routers.pre.conf_BUG | |
echo 'lookuphost: | |
driver = dnslookup | |
domains = ! +local_domains | |
ignore_target_hosts = 127.0.0.0/8 | |
condition = "${perl{check_limits}}" | |
transport = remote_smtp | |
no_more' > /etc/exim.routers.pre.conf | |
service exim reload |
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
brew install nginx-full --with-http2 |
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
# prlctrl mount 118 | |
# vzctl mount 118 | |
cd /var/root/118/root | |
wget https://buildlogs.cdn.centos.org/c7.1511.u/iproute/20160623171333/3.10.0-54.el7_2.1.x86_64/iproute-3.10.0-54.el7_2.1.x86_64.rpm | |
# start container if not running | |
prlctrl enter 118 | |
cd /root | |
rpm -e iproute --nodeps |
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 | |
# ./convert_ploop_to_simfs.sh VEID | |
# chmod +x convert_ploop_to_simfs.sh | |
rsync_options='-aHv' | |
partition='vz' | |
if [ ! -e /etc/vz/conf/$1.conf ]; then | |
echo "Virtual server configuration file: /etc/vz/conf/$1.conf does not exist." | |
exit 1 | |
fi | |
if [ ! -d /$partition/private/$1/root.hdd ]; then |
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
#!/usr/bin/env bash | |
# vim: ai ts=2 sw=2 et sts=2 ft=sh | |
# Check OS. | |
if [[ ! "${OSTYPE}" =~ "^linux" ]] || [[ ! "$(lsb_release -c 2>/dev/null)" =~ "xenial" ]]; then | |
(>&2 echo "Error: This script is for Ubuntu 16.04 LTS (xenial) not '${OSTYPE}'.") | |
exit 1; | |
fi | |
sudo apt-get update |
NewerOlder