I hereby claim:
- I am aaronhenshaw on github.
- I am aaronbisontrails (https://keybase.io/aaronbisontrails) on keybase.
- I have a public key ASCW9o-I5ud8MjGD_WBCIidYjkKHImyp6WtcicENBJGe3Qo
To claim this, I am signing this object:
Established connection with bootstrap peer [16Uiu2HAm9RGTm8VGne5PvZGAw9KYNDggHaEQh5wiGSKgibp2G95r] | |
---------------------------------------------------------------------------------------------- | |
| Node: node | | |
| Port: 0 | | |
| IPs : /ip4/127.0.0.1/tcp/3919/ipfs/16Uiu2HAmUeXvbrhXSPQbkZpWyZ89kRCnTCLhxW11rY7jvhZM3HkT | | |
| /ip4/100.96.27.7/tcp/3919/ipfs/16Uiu2HAmUeXvbrhXSPQbkZpWyZ89kRCnTCLhxW11rY7jvhZM3HkT | | |
---------------------------------------------------------------------------------------------- | |
20:07:29.089 INFO keep-beaco: new relay entry requested: [&{Payment:+0 PreviousEntry:+10920102476789591414949377782104707130412218726336356788412941355500907533021 Seed:+63298657547152514731225823108792331452673489959881918470009857865243924868334 GroupPublicKey:[136 39 97 224 232 103 82 47 11 127 158 105 79 83 245 48 209 115 253 15 40 162 125 195 53 2 |
#!/bin/sh | |
#wget https://gist.githubusercontent.com/aaronhenshaw/6f88c6f882b295238c8953043ac0f9e0/raw/7523d7bdb803041c0bcf7e00d936a6c260bbcfb7/install-bminer.sh; chmod +x install-bminer.sh; sudo ./install-bminer.sh | |
#sudo ./install-bminer.sh aaron%2Btest%40website.co workerName | |
: ${1?Need a value for miner address} | |
: ${2?Need a value for worker name} | |
MINERUSER=$1 | |
MINERWORKER=$2 |
### Install, build and RUN Grin — Then stop it | |
sudo apt-get update && sudo apt-get dist-upgrade -y && sudo apt install build-essential cmake git libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev pkg-config libssl-dev llvm wget -y | |
mkdir /opt/ | |
cd /opt/ | |
wget https://github.com/mimblewimble/grin-miner/releases/download/v1.0.2/grin-miner-v1.0.2-480780314-linux-amd64.tgz | |
tar -xvf grin-miner-v1.0.2-480780314-linux-amd64.tgz -C . | |
mv grin-miner-v1.0.2 grin-miner |
#!/bin/bash | |
journalctl -u livepeer-transcoder.service -f | \ | |
while read line ; do | |
echo "$line" | grep "Called reward for round" | |
if [ $? = 0 ] | |
then | |
curl -s -d "to=%2Byour_number" -d "body=Completed Reward Call!" https://utils.lib.id/sms@1.0.4/ | |
fi | |
echo "$line" | grep "Invoking transaction: \"reward\"" |
I hereby claim:
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1NXeNDwyykEALcaMFuqA7iDRRnsr8Gviyp https://explorer.blockstack.org/address/1NXeNDwyykEALcaMFuqA7iDRRnsr8Gviyp |
############# | |
### RUN BUILD | |
############# | |
WORKDIR ${PROJECT_HOME}/app | |
RUN grails clean | |
EXPOSE 8443 | |
CMD ["grails", "prod", "run-app", "--https"] |
############# | |
### PULL REPO | |
############# | |
ENV PROJECT_HOME /opt/something | |
RUN mkdir ${PROJECT_HOME} | |
RUN git clone git@github.com:XXX/something.git ${PROJECT_HOME}/app | |
############# | |
### RUN BUILD | |
############# |
####################### | |
### SSH KEYS FOR GITHUB | |
####################### | |
# Make ssh dir | |
RUN mkdir /root/.ssh/ | |
# Copy over private key, and set permissions | |
ADD github_rsa /root/.ssh/id_rsa | |
ADD github_rsa.pub /root/.ssh/id_rsa.pub | |
RUN echo "IdentityFile /root/.ssh/id_rsa" >> /etc/ssh/ssh_config |
####################### | |
### SSH KEYS FOR GITHUB | |
####################### | |
# Make ssh dir | |
RUN mkdir /root/.ssh/ | |
# Copy over private key, and set permissions | |
ADD github_rsa /root/.ssh/id_rsa | |
ADD github_rsa.pub /root/.ssh/id_rsa.pub | |
RUN echo "IdentityFile /root/.ssh/id_rsa" >> /etc/ssh/ssh_config |