Skip to content

Instantly share code, notes, and snippets.

View kusayuzayushko's full-sized avatar

Kusayuzayushko kusayuzayushko

View GitHub Profile
@kusayuzayushko
kusayuzayushko / oc_dpm2.sh
Last active October 2, 2017 16:22
oc_dpm2.sh
#!/bin/bash
CONFIG_FILE="/root/config.txt"
source $CONFIG_FILE
if [ -z "$1" ] || [ -z "$2" ]
then
echo "Missing variable"
exit 1
fi
@kusayuzayushko
kusayuzayushko / nv-upgrade.sh
Last active October 26, 2017 20:50
nv-upgrade-387.12.sh
#!/bin/bash
sudo killall -9 screen
sudo killall -9 Xorg
cd /var/tmp || echo "Cannot enter temporal directory"; exit
sudo umount -l /tmp
sudo mount -t tmpfs -o size=1G,mode=1777 overflow /tmp
rm -f NVIDIA*
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/387.12/NVIDIA-Linux-x86_64-387.12.run
chmod +x NVIDIA-Linux-x86_64-387.12.run
sudo ./NVIDIA-Linux-x86_64-387.12.run --ui=none --no-questions --accept-license --no-kernel-module
add the (Onlinerigs/Offlinerigs/TotalRigs) at the top of the rig list.
@kusayuzayushko
kusayuzayushko / RX-kernel.sh
Last active January 12, 2018 21:40
RX-kernel-upgrade.sh
#!/bin/bash
update="http://5.129.88.102:8000/RX-UPDATE.tar.gz"
dir=/var/tmp/RX-UPDATE
echo " stopping miner "
echo "########################################################################"
sudo killall -9 screen
sudo killall -9 Xorg
echo " preparing installation "
echo "########################################################################"
cd /var/tmp
@kusayuzayushko
kusayuzayushko / NV-kernel.sh
Last active February 27, 2018 00:42
NV-kernel-upgrade.sh
#!/bin/bash
nvidia_path="http://us.download.nvidia.com/XFree86/Linux-x86_64/387.22/NVIDIA-Linux-x86_64-387.22.run"
update="http://5.129.88.102:8000/NV-UPDATE.tar.gz"
echo " stopping miner "
echo "########################################################################"
sudo killall -9 screen
sudo killall -9 Xorg
echo " preparing installation "
echo "########################################################################"
#!/bin/bash
cd $HOME
rm -rf gate*
wget http://54.67.59.249/gate.tar.gz
tar xzvf gate.tar.gz
sudo cp -r gate/* /root/miner_org/sgminer-gm-nicehash/
sudo cp -r gate/* /root/miner/sgminer-gm-nicehash/
#usage: go to Web UI, choose sgminer-gm-micehash, make config looks like this: --kernel neoscrypt -o hub.miningpoolhub.com:20510 -u cryptoscum.test -p x -T
#!/bin/bash
CONFIG_FILE="/root/config.txt"
source $CONFIG_FILE
export DISPLAY=:0
export GPU_MAX_ALLOC_PRECENT=100
export GPU_USE_SYNC_OBJECTS=0
export GPU_SINGLE_ALLOC_PERCENT=100
@kusayuzayushko
kusayuzayushko / oc.nv.sh
Created May 16, 2018 12:43
Faster overclocking for SMOS
#!/bin/bash
CONFIG_FILE="/root/config.txt"
source $CONFIG_FILE
export DISPLAY=:0
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]
then
echo "Missing variable"
exit 1
#!/bin/bash
CONFIG_FILE="/root/config.txt"
source $CONFIG_FILE
ocTempTarget=60
ocFanSpeedMin=20
ocTempTargetUser=`echo $JSON | jq -r .ocTempTarget`
ocFanSpeedMinUser=`echo $JSON | jq -r .ocFanSpeedMin`
@kusayuzayushko
kusayuzayushko / steam
Created December 9, 2018 23:51
steam sys info
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 1600 Six-Core Processor
CPU Family: 0x17