Skip to content

Instantly share code, notes, and snippets.

@gvvynplaine
Last active November 6, 2019 16:36
Show Gist options
  • Save gvvynplaine/9d2a6ee54f388826c7efced0bf4d9d56 to your computer and use it in GitHub Desktop.
Save gvvynplaine/9d2a6ee54f388826c7efced0bf4d9d56 to your computer and use it in GitHub Desktop.
minergate-cli
#!/bin/bash
echo AEON, BCN, ETC, ETH, XMC, XMR, ZEC
read -p "Input email": email
read -p "Input coin": coin
read -p "Input threads": threads
read -p "Input gpu": gpu
if [ $gpu == "yes" ]
then minergate-cli --user $email --$coin $threads --gpu
fi
if [ $gpu == "no" ]
then minergate-cli --user $email --$coin $threads
fi
@echo off
echo AEON, BCN, ETC, ETH, XMC, XMR, ZEC
set /p email=Input email:
set /p coin=Input coin:
set /p threads=Input threads:
set /p gpu=Use gpu:
if %gpu%==yes minergate-cli --user %email% --%coin% %threads% --gpu
if %gpu%==no minergate-cli --user %email% --%coin% %threads%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment