This change require this other change
Inside the class ThemeTable you must change the configuration from this code
UIManager.put("Table.alternateRowColor", this.isAlternaterowcolor());
import com.sun.javafx.application.PlatformImpl; | |
import java.awt.BorderLayout; | |
import java.awt.Dimension; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import javafx.application.Platform; | |
import javafx.collections.ObservableList; | |
import javafx.embed.swing.JFXPanel; | |
import javafx.scene.Group; | |
import javafx.scene.Node; |
from binascii import unhexlify | |
from hashlib import sha256 | |
header = unhexlify("0101000000010000000000000000000000000000000000000000000000000000000000ffffffff4d04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73ffffffff0100f2052a01000000434104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac00000000") | |
print(sha256(sha256(header).digest()).hexdigest()) |
import java.util.Enumeration; | |
import java.util.SortedSet; | |
import java.util.TreeSet; | |
import javax.swing.UIDefaults; | |
import javax.swing.UIManager; | |
public class ListUIDefaultsKeys { | |
public static void main(String args[]) throws Exception { | |
UIManager.LookAndFeelInfo looks[] = UIManager |
def calculatesYear(): | |
numbersBlock = 0 | |
blockToHeaving = 210000 | |
starYear = 2008 | |
buildBitcoin = 50 | |
print("-------- Value to start ----------") | |
print("Num. block: ", numbersBlock) | |
print("Num. Block: ", blockToHeaving) | |
print("Miner build bitcoin: ", buildBitcoin) |
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException | |
rpc_user = 'vincent' | |
rpc_password = 'vincent' | |
rpc_connection = AuthServiceProxy("http://%s:%[email protected]:18332"%(rpc_user, rpc_password)) | |
def createNewAddress(): | |
address = rpc_connection.getnewaddress(); |
This change require this other change
Inside the class ThemeTable you must change the configuration from this code
UIManager.put("Table.alternateRowColor", this.isAlternaterowcolor());
/** | |
* Convert array bytes to string. | |
**/ | |
std::string ToString(uint8_t bytes[Ripemd160::HASH_LEN]){ | |
std::string hashResult; | |
std::stringstream stream; | |
for(int i = 0; i < Ripemd160::HASH_LEN; i++){ | |
int valueInt = static_cast<int>(bytes[i]); | |
stream << std::hex << std::setprecision(2) << std::setw(2) << std::setfill('0') << valueInt; | |
} |
#!/bin/bash | |
#linux Script to clean docker containers and images | |
$RUN_WITH_SUDO=1 #Insert 0if you have docker with user permission | |
if [! RUN_WITH_SUDO] | |
then | |
for NAME in $(sudo docker ps -a) | |
do |