Wednesday, April 17, 2013

Friday, April 12, 2013

bitcoin - pool management - cgminer or bfgminer

To ADD a Pool
After the miner has started
1. Press P to access pool management
-- press A to add a pool
-- enter URL of the pool (press Enter)
-- enter "worker" name or username at your pool (press Enter)
-- enter password for that worker (press Enter)
2. Press S to access Settings to save your config file
-- press W to write the file
-- press Enter for bfgminer.conf or choose another file name


To REMOVE a Pool
After the miner has started
1. Press P to access pool management
-- press R to remove a pool from the list above
-- enter the # of the pool you want to remove (again, see list above, it should start with 0: Enabled GBT ...)
2. Press S to access Settings to save your config file
-- press W to write the file
-- press Enter for bfgminer.conf or choose another file name

Thursday, March 21, 2013

xubuntu brightness


sudo su
root@xubuntu:/home/pedro/Dropbox/www/kits# echo 10 > /sys/class/backlight/acpi_video0/brightness

Monday, March 18, 2013

How to detect if datatables is loaded


if($.fn.dataTableExt){
console.log('datatables ok');
}else{
console.log('datatables ko');
//head.ready(function() {head.js("js/libs/jquery.dataTables.min.1.9.4.js")});
}

systemd-timesyncd

sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd