Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@rashedmyt
rashedmyt / gist:64f61ab14f107a87fb1d03920a36067b
Created November 5, 2018 12:04 — forked from dsci/gist:1347672
Delete commits from repository.
# First, check out the commit you wish to go back to (get sha-1 from git log)
git reset --hard 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a
# Then do a forced update.
git push origin +9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a^:develop
# Push specific commit
git push origin 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a:develop -f
@rashedmyt
rashedmyt / autostart.md
Last active July 13, 2018 19:26
Instructions for creating script to start mining after reboot

First of all cd to home directory using cd ~/

Then create a shell script file using nano mine.sh

Now add the following code replacing the required fields with original values.

#! /bin/bash

cd "xmrig/build" && eval "./xmrig -a cryptonight-lite --donate 1 -v 3 -o stratum+tcp://trtl.mine2gether.com:1115 -u TRTL_WALLET_ADDRESS -p WORKER_NAME"