Skip to content

Instantly share code, notes, and snippets.

View buzzkillb's full-sized avatar
💭
vibe hardest!

buzzkillb

💭
vibe hardest!
View GitHub Profile
#!/bin/bash
#Collateral Staker
#copy alias to alias.txt
awk '{if(NR==1) print $1}' fortunastake.conf > alias.txt
#copy first line, columns 1, 2, 3 of fortunastake.conf to temporary file
awk '{if(NR==1) print $1, $2, $3 }' fortunastake.conf > staking1.txt
#remove first line from fortunastake.conf
sed -i.bak -e '1d' fortunastake.conf
#stop denarius daemon

Keybase proof

I hereby claim:

  • I am buzzkillb on github.
  • I am buzzkillb (https://keybase.io/buzzkillb) on keybase.
  • I have a public key ASApuJAz2FSJcZDcZN9sBVO34UcZglmHtY938m6KVDawawo

To claim this, I am signing this object:

#compile xmrrig on Manjaro
sudo pacman -S base-devel cmake libuv libmicrohttpd openssl hwloc libutil-linux
git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build && cd $_
cmake ..
make

@buzzkillb
buzzkillb / save-ram.sh
Created October 26, 2019 18:18
run multiple daemons and alternate them
#!/bin/bash
#chmod +x save-ram.sh
#screen -S saveram
#./save-ram.sh
#start forever loop
while true; do
#stop 10-35 and start 75-100
for ((i=10; i<36; i++))
@buzzkillb
buzzkillb / restart-daemon.sh
Created October 21, 2019 01:54
restart many denarius daemons
#!/bin/bash
#using denarius.daemon snap
#stop and start 01-09
for ((i=1; i<10; i++))
do
echo "denarius_0$i.daemon stop"
denarius_0$i.daemon stop
sleep 10
echo "denarius_0$i.daemon"
denarius_0$i.daemon

Keybase proof

I hereby claim:

  • I am buzzkillb on github.
  • I am buzzkillb (https://keybase.io/buzzkillb) on keybase.
  • I have a public key ASDtfi3aDIzV4x64ptmWwPLflU-0bOni42XqzCqDDkRZRAo

To claim this, I am signing this object: