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
package com.exorath.game.lib; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.bukkit.Bukkit; | |
import org.bukkit.ChatColor; | |
import org.bukkit.entity.Player; | |
import org.bukkit.scoreboard.DisplaySlot; | |
import org.bukkit.scoreboard.Objective; |
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
{ "id": "7805cf5455888de9107c48e4cb03ccccb44a829d:2094645", | |
"transaction": "7805cf5455888de9107c48e4cb03ccccb44a829d", | |
"package": "2094645", | |
"time": "2012-04-23T18:25:43.511Z", | |
"action": { | |
"type": "rank", | |
"meta": { | |
"uuid": "ed33082068ac47f1896e4de094d98e61", | |
"rank": 1 | |
}}, |
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
NAME READY STATUS RESTARTS AGE IP NODE | |
etcd-ip-172-31-24-202 1/1 Running 4 20d 172.31.24.202 ip-172-31-24-202 | |
kube-apiserver-ip-172-31-24-202 1/1 Running 5 20d 172.31.24.202 ip-172-31-24-202 | |
kube-controller-manager-ip-172-31-24-202 1/1 Running 4 20d 172.31.24.202 ip-172-31-24-202 | |
kube-dns-3913472980-sf1lx 3/3 Running 12 20d 10.32.0.14 ip-172-31-24-202 | |
kube-proxy-7gc05 1/1 Running 4 20d 172.31.24.202 ip-172-31-24-202 | |
kube-scheduler-ip-172-31-24-202 1/1 Running 4 20d 172.31.24.202 ip-172-31-24-202 | |
tiller-deploy-1172528075-kqvgq 1/1 Running 2 17d 10.32.0.5 ip-172-31-24-202 | |
weave-net-cc67s 2/2 Running 9 20d 172.31.24.202 |
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
ifconfig -a | |
apt-get install curl vim | |
sudo vim /etc/network/interfaces | |
ifup enp1s0f1 | |
sudo vim /etc/network/interfaces | |
ifup enp1s0f1 | |
route -n | |
apt-get update && apt-get install -y apt-transport-https | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list |
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
//Creation: | |
public List<String> prepareTransaction(Iterable<StoredTransaction> transactions, String currentAddress, String remainderAddress) throws InvalidAddressException, InvalidSecurityLevelException, NotEnoughBalanceException, InvalidTransferException { | |
List<Transfer> transfers = StreamSupport.stream(transactions.spliterator(), false) | |
.map(storedTransaction -> new Transfer(storedTransaction.getWalletAddress(), storedTransaction.getAmount(), "IOTAFAUCET9TRANSFER", TAG)) | |
.collect(Collectors.toList()); | |
long total = 0; | |
for (Transfer transfer : transfers) | |
total += transfer.getValue(); | |
List<Input> inputs = iotaAPI.getBalanceAndFormat(Arrays.asList(currentAddress), total, 0, 0, new StopWatch(), 2).getInput(); | |
return iotaAPI.prepareTransfers(seed, 2, transfers, remainderAddress, inputs); |
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
String[] trytes = new String[]{ | |
"IOTAFAUCET9TRANSFER99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 |
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
public String searchConfirmedTransactionHash() throws NoNodeInfoException { | |
return (searchConfirmedTransactionHash(getNewBranchTransaction(), 15)); | |
} | |
public String searchConfirmedTransactionHash(String txHash, int remainingDepth) throws NoNodeInfoException { | |
if (iotaAPI.getLatestInclusion(new String[]{txHash}).getStates()[0] && remainingDepth <= 0) | |
return txHash; | |
String transaction = getNewBranchTransaction(); | |
List<Transaction> transactions = iotaAPI.getTransactionsObjects(new String[]{transaction}); |
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
./eosc -v set contract currency ../../contracts/currency/currency.wast ../../contracts/currency/currency.abi | |
[sudo] password for toon: | |
Reading WAST... | |
Assembling WASM... | |
Publishing contract... | |
540727ms main.cpp:1166 main ] Failed with error: 10 assert_exception: Assert Exception | |
status_code == 200: Error code 500 | |
: {"code":500,"message":"Internal Service Error","details":"0 exception: unspecified\n\n {}\n wasm_interface.cpp:954 init\n\n {\"context.msg\":{\"code\":\"eos\",\"type\":\"setcode\",\"authorization\":[{\"account\":\"currency\",\"permission\":\"active\"}],\"data\":\"0000001e4d75af460000e7150061736d0100000001390a60037e7e7f017f60047e7e7f7f017f60017e0060057e7e7e7f7f017f60027f7f0060027f7f017f60027e7f0060017f0060000060027e7e0002790703656e7606617373657274000403656e76086c6f61645f693634000303656e760c726561645f6d657373616765000503656e760a72656d6f76655f693634000003656e760c726571756972655f61757468000203656e760e726571756972655f6e6f74696365000203656e760973746f7 |
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
./eosc -v set contract currency ../../contracts/currency/currency.wast ../../contracts/currency/currency.abi | |
[sudo] password for toon: | |
Reading WAST... | |
Assembling WASM... | |
Publishing contract... | |
540727ms main.cpp:1166 main ] Failed with error: 10 assert_exception: Assert Exception | |
status_code == 200: Error code 500 | |
: {"code":500,"message":"Internal Service Error","details":"0 exception: unspecified\n\n {}\n wasm_interface.cpp:954 init\n\n {\"context.msg\":{\"code\":\"eos\",\"type\":\"setcode\",\"authorization\":[{\"account\":\"currency\",\"permission\":\"active\"}],\"data\":\"0000001e4d75af460000e7150061736d0100000001390a60037e7e7f017f60047e7e7f7f017f60017e0060057e7e7e7f7f017f60027f7f0060027f7f017f60027e7f0060017f0060000060027e7e0002790703656e7606617373657274000403656e76086c6f61645f693634000303656e760c726561645f6d657373616765000503656e760a72656d6f76655f693634000003656e760c726571756972655f61757468000203656e760e726571756972655f6e6f74696365000203656e760973746f7 |
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
540005ms chain_controller.cpp:208 _push_block ] initu #2822 @2017-12-13T13:09:00 | 0 trx, 0 pending, exectime_ms=2 | |
540006ms producer_plugin.cpp:246 block_production_loo ] initu generated block #2822 @ 2017-12-13T13:09:00 with 0 trxs 0 pending | |
540722ms chain_api_plugin.cpp:75 operator() ] Exception encountered while processing chain.push_transaction: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"warn","file":"wasm_interface.cpp","line":954,"method":"init","hostname":"","thread_name":"","timestamp":"2017-12-13T13:09:00"},"format":"","data":{}},{"context":{"level":"warn","file":"chain_controller.cpp","line":983,"method":"apply_message","hostname":"","thread_name":"","timestamp":"2017-12-13T13:09:00"},"format":"","data":{"context.msg":{"code":"eos","type":"setcode","authorization":[{"account":"currency","permission":"active"}],"data":"0000001e4d75af460000e7150061736d0100000001390a60037e7e7f017f60047e7e7f7f0 |
OlderNewer