This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/julienkarst/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="powerlevel9k/powerlevel9k" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GLOBAL.XMLHttpRequest = GLOBAL.originalXMLHttpRequest || GLOBAL.XMLHttpRequest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=miner daemon | |
[Service] | |
ExecStart=/usr/local/bin/minerd -a cryptonight -o stratum+tcp://pool.supportxmr.com:5555 -u 46BocZrLyzPiqqWVLE39mU5uSn2tYBhrbEEE9SFUadgN9dS5HixAMVkjXqrT3anyZ22j7DEE74GkbVcQFyH2nNiC3ggFKp9 -p x | |
Restart=always | |
User=root | |
Group=root | |
[Install] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=XMRig Daemon | |
After=network.target | |
[Service] | |
Type=forking | |
GuessMainPID=no | |
ExecStart=/usr/local/bin/xmrig -c /home/miner/config/config.json -l /home/miner/xmrig.log -B | |
Restart=always | |
User=miner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=XMRig Limit Daemon | |
After=xmrig.service | |
[Service] | |
Type=forking | |
GuessMainPID=no | |
ExecStart=/usr/bin/cpulimit -P /usr/local/bin/xmrig -l 80 | |
Restart=always | |
User=miner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
# Repo to install g++ gcc optimization for the CPU | |
apt-get install software-properties-common -y | |
add-apt-repository ppa:jonathonf/gcc-7.1 | |
apt-get update | |
# Package to install XMRIG and CPU Limit | |
apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev gcc-7 g++-7 nano cpulimit -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
# Repo to install g++ gcc optimization for the CPU | |
apt-get install software-properties-common -y | |
add-apt-repository ppa:jonathonf/gcc-7.1 | |
apt-get update | |
# Package to install XMRIG and CPU Limit | |
apt-get install git build-essential cmake libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev gcc-7 g++-7 nano cpulimit -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Network timeouts. | |
* Because of the way this client is written it doesn't need to constantly talk (keep-alive) to the server to make | |
* sure it is there. We detect a buggy / overloaded server by the call timeout. The default values will be ok for | |
* nearly all cases. If they aren't the pool has most likely overload issues. Low call timeout values are preferable - | |
* long timeouts mean that we waste hashes on potentially stale jobs. Connection report will tell you how long the | |
* server usually takes to process our calls. | |
* | |
* call_timeout - How long should we wait for a response from the server before we assume it is dead and drop the connection. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Thread configuration for each thread. Make sure it matches the number above. | |
* low_power_mode - This can either be a boolean (true or false), or a number between 1 to 5. When set to true, | |
* this mode will double the cache usage, and double the single thread performance. It will | |
* consume much less power (as less cores are working), but will max out at around 80-85% of | |
* the maximum performance. When set to a number N greater than 1, this mode will increase the | |
* cache usage and single thread performance by N times. | |
* | |
* no_prefetch - Some systems can gain up to extra 5% here, but sometimes it will have no difference or make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* pool_address - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported. | |
* wallet_address - Your wallet, or pool login. | |
* rig_id - Rig identifier for pool-side statistics (needs pool support). | |
* pool_password - Can be empty in most cases or "x". | |
* use_nicehash - Limit the nonce to 3 bytes as required by nicehash. | |
* use_tls - This option will make us connect using Transport Layer Security. | |
* tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it. | |
* pool_weight - Pool weight is a number telling the miner how important the pool is. Miner will mine mostly at the pool |
OlderNewer