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
#!/bin/bash | |
CLOCK=100 | |
MEM=900 | |
CMD='/usr/bin/nvidia-settings' | |
echo "performance" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | |
echo "performance" >/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor | |
echo 2800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq | |
echo 2800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |
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
[Desktop Entry] | |
Type=Application | |
Exec=/home/miner/gpu-performance.sh | |
Hidden=false | |
NoDisplay=false | |
X-GNOME-Autostart-enabled=true | |
Name[pl_PL]=Start GPU Performance | |
Name=Start GPU Perofrmance | |
Comment[pl_PL]= | |
Comment= |
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
[Desktop Entry] | |
Type=Application | |
Exec=/home/miner/init-mining.sh | |
Hidden=false | |
NoDisplay=false | |
X-GNOME-Autostart-enabled=true | |
Name[pl_PL]=Start ETH Mining | |
Name=Start ETH Mining | |
Comment[pl_PL]= | |
Comment= |
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
Section "ServerLayout" | |
Identifier "Layout0" | |
Screen 0 "Screen0" 0 0 | |
Screen 1 "Screen1" 0 0 | |
Screen 2 "Screen2" 0 0 | |
Screen 3 "Screen3" 0 0 | |
Screen 4 "Screen4" 0 0 | |
Screen 5 "Screen5" 0 0 | |
InputDevice "Keyboard0" "CoreKeyboard" | |
InputDevice "Mouse0" "CorePointer" |
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
#!/bin/bash | |
export GPU_FORCE_64BIT_PTR=0 | |
export GPU_MAX_HEAP_SIZE=100 | |
export GPU_USE_SYNC_OBJECTS=1 | |
export GPU_MAX_ALLOC_PERCENT=100 | |
export GPU_SINGLE_ALLOC_PERCENT=100 | |
./ethminer/ethminer --cuda-parallel-hash 8 --farm-recheck 150 -U -S {pool address} -O {wallet}.RIG |
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
#!/bin/bash | |
export GPU_FORCE_64BIT_PTR=0 | |
export GPU_MAX_HEAP_SIZE=100 | |
export GPU_USE_SYNC_OBJECTS=1 | |
export GPU_MAX_ALLOC_PERCENT=100 | |
export GPU_SINGLE_ALLOC_PERCENT=100 | |
./claymore/ethdcrminer64 -epool {pool address} -ewal {wallet}.RIG -epsw x -mode 1 -ftime 10 |
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
#!/bin/bash | |
sleep 15 && gnome-terminal --geometry=170x45 --command "/home/miner/start-eth-claymore.sh" |
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
$factory = $this->get('security.encoder_factory'); | |
$encoder = $factory->getEncoder($user); | |
$password = $encoder->encodePassword(TUTAJ_HASLO, TUTAJ_SALT); |
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
<?php | |
$menu_name = 'main-primary-menu'; | |
$locations = get_nav_menu_locations(); | |
$menu = wp_get_nav_menu_object( 45 ); //wpisane na sztywno ID lokalizacji menu | |
$menu_items = wp_get_nav_menu_items($menu->term_id); | |
echo '<ul id="menu-'.$menu_name.'">'; | |
echo '<li class="current_page_item"><a href="'.get_bloginfo('url').'">Strona Główna</a></li>'; | |
foreach ( (array) $menu_items as $key => $menu_item ) |
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
<?php | |
use Doctrine\ORM\EntityManager; | |
/** | |
* Retrieve one random item of given class from ORM repository. | |
* | |
* @param EntityManager $em The Entity Manager instance to use | |
* @param string $class The class name to retrieve items from | |
* @return object | |
*/ |
NewerOlder