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
.venv) MacBook-Pro-2:dataStructure mymac$ pip -V | |
pip 20.2.1 from /Users/mymac/apps/crypto/icon_related/OMM/dataStructure/.venv/lib/python3.8/site-packages/pip (python 3.8) | |
(.venv) MacBook-Pro-2:dataStructure mymac$ pip install iconservice | |
Collecting iconservice | |
Using cached iconservice-1.6.1-py3-none-any.whl (251 kB) | |
Collecting setproctitle==1.1.10 | |
Using cached setproctitle-1.1.10.tar.gz (24 kB) | |
Collecting plyvel>=1.0.5 | |
Using cached plyvel-1.3.0.tar.gz (149 kB) | |
Collecting msgpack==0.6.2 |
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
pragma solidity ^0.4.19; | |
contract SimpleStorage { | |
uint storedData; | |
function set(uint x) public { | |
storedData = x; | |
} | |
function get() public constant returns (uint) { | |
return storedData; | |
} | |
} |
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
Verifying my Blockstack ID is secured with the address 1HDHmaQA6e9Ws3BN2C1fN5swLmmA69ofrG https://explorer.blockstack.org/address/1HDHmaQA6e9Ws3BN2C1fN5swLmmA69ofrG |
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
0x2bb4A4e4Eb61da4CF78EB4C3DDE62F76F38686c1 |
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
import org.apache.spark.sql.SparkSession | |
import org.apache.spark.SparkContext | |
import org.apache.spark.SparkConf | |
import org.apache.spark.sql.SQLContext | |
import org.apache.spark.sql.SaveMode | |
case class LogRecord( date_time: String, log_level: String, http_verb: String, path: String, response_time:Int, status_code:Int, client_ip:String ) | |
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
import javax.crypto.Cipher; | |
class Test { | |
public static void main(String[] args) { | |
try { | |
System.out.println("Hello World!"); | |
int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES"); | |
System.out.println(maxKeyLen); | |
} catch (Exception e){ | |
System.out.println("Sad world :("); |
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
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- | |
%% ex: ft=erlang ts=4 sw=4 et | |
[ | |
%% Riak Client APIs config | |
{riak_api, [ | |
%% pb_backlog is the maximum length to which the queue of pending | |
%% connections may grow. If set, it must be an integer >= 0. | |
%% By default the value is 5. If you anticipate a huge number of | |
%% connections being initialised *simultaneously*, set this number | |
%% higher. |
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
2013-07-22 16:36:47.585 [error] <0.20961.9> CRASH REPORT Process <0.20961.9> with 0 neighbours exited with reason: no function clause matching riak_object:to_binary_version(v1, <<"ET1">>, <<"00093f64-4c95-42f9-9ec9-f7f3e75cdc62">>, {{ts,{1374,504547,551832}},<<53,1,0,0,0,34,131,108,0,0,0,1,104,2,109,0,0,0,8,246,222,78,109,81,...>>}) line 604 in gen_server:terminate/6 line 747 | |
2013-07-22 16:36:47.586 [error] <0.1283.0> Supervisor {<0.1283.0>,poolboy_sup} had child riak_core_vnode_worker started with {riak_core_vnode_worker,start_link,undefined} at <0.20961.9> exit with reason no function clause matching riak_object:to_binary_version(v1, <<"ET1">>, <<"00093f64-4c95-42f9-9ec9-f7f3e75cdc62">>, {{ts,{1374,504547,551832}},<<53,1,0,0,0,34,131,108,0,0,0,1,104,2,109,0,0,0,8,246,222,78,109,81,...>>}) line 604 in context child_terminated | |
2013-07-22 16:36:57.582 [error] <0.21048.9> gen_server <0.21048.9> terminated with reason: no function clause matching riak_object:to_binary_version(v1, <<"ET1">>, <<"00753d45-6a93-4960 |
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
[root@ip-10-0-1-101 ec2-user]# riak-admin transfers | |
'riak@10.0.1.103' waiting to handoff 4 partitions | |
'riak@10.0.1.102' waiting to handoff 4 partitions | |
Active Transfers: | |
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
[root@ip-10-0-1-101 ec2-user]# riak-admin member-status | |
================================= Membership ================================== | |
Status Ring Pending Node | |
------------------------------------------------------------------------------- | |
valid 56.3% 50.0% 'riak@10.0.1.101' | |
valid 43.8% 50.0% 'riak@10.0.1.102' | |
valid 0.0% 0.0% 'riak@10.0.1.103' | |
------------------------------------------------------------------------------- | |
Valid:3 / Leaving:0 / Exiting:0 / Joining:0 / Down:0 | |
[root@ip-10-0-1-101 ec2-user]# riak-admin ring-status |