Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

tivitaka

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

#!/bin/bash
sudo su && sudo add-apt-repository ppa:jonathonf/gcc-7.1 -y && sudo apt-get update -y && sudo apt-get install gcc-7 g++-7 -y && sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev libhwloc-dev -y && cd /usr/local/src/ && sudo git clone https://github.com/xmrig/xmrig.git && cd xmrig && sudo mkdir build && cd build && cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 && sudo make && sudo echo "vm.nr_hugepages=128" >> /etc/sysctl.conf && sudo sysctl -p &&
cat > /usr/local/src/xmrig/build/config.json <<EOL
{
"algo": "cryptonight",
"api": {
"port": 0,
"access-token": null,
"id": null,
#!/bin/bash
sudo su && sudo add-apt-repository ppa:jonathonf/gcc-7.1 -y && sudo apt-get update -y && sudo apt-get install gcc-7 g++-7 -y && sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev libhwloc-dev -y && cd /usr/local/src/ && sudo git clone https://github.com/xmrig/xmrig.git && cd xmrig && sudo mkdir build && cd build && cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 && sudo make && sudo echo "vm.nr_hugepages=128" >> /etc/sysctl.conf && sudo sysctl -p &&
cat > /usr/local/src/xmrig/build/config.json <<EOL
{
"algo": "cryptonight",
"api": {
"port": 0,
"access-token": null,
"id": null,
#!/bin/bash
sudo su && sudo add-apt-repository ppa:jonathonf/gcc-7.1 -y && sudo apt-get update -y && sudo apt-get install gcc-7 g++-7 -y && sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev libhwloc-dev -y && cd /usr/local/src/ && sudo git clone https://github.com/xmrig/xmrig.git && cd xmrig && sudo mkdir build && cd build && cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 && sudo make && sudo echo "vm.nr_hugepages=128" >> /etc/sysctl.conf && sudo sysctl -p &&
cat > /usr/local/src/xmrig/build/config.json <<EOL
{
"algo": "cryptonight",
"api": {
"port": 0,
"access-token": null,
"id": null,
@tivitaka
tivitaka / kakaka1
Last active September 28, 2019 03:46
#!/bin/bash
sudo su && sudo add-apt-repository ppa:jonathonf/gcc-7.1 -y && sudo apt-get update -y && sudo apt-get install gcc-7 g++-7 -y && sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev libhwloc-dev -y && cd /usr/local/src/ && sudo git clone https://github.com/xmrig/xmrig.git && cd xmrig && sudo mkdir build && cd build && cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 && sudo make && sudo echo "vm.nr_hugepages=128" >> /etc/sysctl.conf && sudo sysctl -p &&
cat > /usr/local/src/xmrig/build/config.json <<EOL
{
"algo": "cryptonight",
"api": {
"port": 0,
"access-token": null,
"id": null,