This file contains hidden or 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
<?php | |
$json = '[ | |
{ | |
"categories": "10,11", | |
"title": "Promos", | |
"columns": "col-md-3" | |
}, | |
{ | |
"categories": "10,12", |
This file contains hidden or 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
<?php | |
$json = '[ | |
{ | |
"categories": "10,11", | |
"title": "Promos", | |
"columns": "col-md-3" | |
}, | |
{ | |
"categories": "10,12", |
This file contains hidden or 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
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz | |
tar -xzvf db-4.8.30.NC.tar.gz | |
cd db-4.8.30.NC/build_unix | |
../dist/configure --enable-cxx --prefix=/usr | |
make -j8 | |
sudo checkinstall --fstrans=no --pkgversion=4.8.30 --pgkname=libdb-dev --nodoc -y |
This file contains hidden or 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
#!/usr/bin/php -q | |
# // Script to auto reboot rigs with stuck_miners condition | |
<?php | |
$ethosurl = "http://hashr9.ethosdistro.com/?json=yes"; | |
$json6 = file_get_contents($ethosurl); | |
$ethosjson = json_decode($json6); | |
foreach($ethosjson->rigs as $rig_id => $k) { | |
if(is_array($ethosjson->rigs) || is_object($ethosjson->rigs)) { |
This file contains hidden or 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
echo "7" > /sys/class/drm/card0/device/pp_dpm_sclk |
This file contains hidden or 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
Mining with ethOS on Suprnova. | |
So ethOS is basically shipped per default to mine on pools such as ethermine, nanopool and others that use wallet addresses as the account and that do NOT require workers. | |
Classic pools like Suprnova and Coinmine do require workers, this is where you need special steps to be able to mine on it with ethOS. | |
First of all, you will need to add a worker on Suprnova for EACH ethOS rigs you have. | |
The worker MUST be your rig's hostname. To find out, simply login in SSH and you'll see a similar line: | |
08:26 PM root@bd3655 10.34.0.187 [71.5 hash] /root # | |
In this case here, our worker will be bd3655. |
This file contains hidden or 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
disallow && minestop && sudo killall -9 sa-solver | |
cd ~ && sudo rm -rf silentarmy | |
git clone https://github.com/mbevand/silentarmy && cd ~/silentarmy && make | |
sudo rm -f /usr/local/bin/{silentarmy,sa-solver} && sudo cp ~/silentarmy/{silentarmy,sa-solver} /usr/local/bin | |
allow && show miner |
This file contains hidden or 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
disallow && minestop && cd ~ && sudo rm -r silentarmy && git clone https://github.com/mbevand/silentarmy &&n cd silentarmy && make && sudo rm -f /usr/local/bin/{silentarmy,sa-solver} && sudo cp ~/silentarmy/{silentarmy,sa-solver} /usr/local/bin && allow && show miner |