View dashboard-proxy.conf
# 在 /etc/hosts 先添加 a.brockex.com 到 主路由器的基础网络IP地址 指向。
# 10.xx.xx.xx a.brockex.com
server {
listen 443;
server_name a.brockex.com;
ssl_certificate /etc/nginx/ssl/server.crt;
View ethereum-nodes-for-yunbi.sh
admin.addPeer("enode://3dde41a994b3b99f938f75ddf6d48318c78ddd869c70b48d00b922190bb434fc5474f6250c143723f4387273d123e02f6a38f07d0311f240d2915f6140e09850@207.226.141.212:30303")
admin.addPeer("enode://7ab8fa90b204f2146c00939b8474549c544caa3598a0894fa639a5cdbd992cbc6135fd776f8bcf97ae95fdaa3afbfa2d107fea71549119afd7ea57356b899be5@121.201.24.236:30303")
admin.addPeer("enode://db81152a8296089b04a21ad9bf347df3ff0450ffc8215d9f50c400ccf8d18963118010cacf03c4b71981cf9cac5394438cab3039e98db4d2aae5859ab7d1793e@139.198.1.244:30303")
View account_data_example.json
{
"currency": "cny", // 账户的币种 例如 cny btc
"balance":"100243840.0", // 账户余额, 不包括冻结资金
"locked":"0.0" // 账户冻结资金
}
View conver_base64.rb
# encoding: UTF-8
require 'base64'
File.readlines('new.txt').each do |line|
puts line
if line =~ /b64\](.*)\[/
puts Base64.decode64($1)
end
end
View gist:e4f15716c37bd3f84ea7
[ 92%] Building CXX object programs/js_operation_serializer/CMakeFiles/js_operation_serializer.dir/main.cpp.o
In file included from /home/muse/muse/libraries/chain/include/graphene/chain/protocol/types.hpp:38:0,
from /home/muse/muse/libraries/chain/include/graphene/chain/protocol/base.hpp:26,
from /home/muse/muse/libraries/chain/include/graphene/chain/protocol/operations.hpp:25,
from /home/muse/muse/libraries/chain/include/graphene/chain/protocol/fee_schedule.hpp:25,
from /home/muse/muse/libraries/chain/include/graphene/chain/protocol/protocol.hpp:25,
from /home/muse/muse/programs/js_operation_serializer/main.cpp:24:
/home/muse/muse/libraries/fc/include/fc/static_variant.hpp: In instantiation of ‘const size_t fc::impl::type_info<graphene::chain::limit_order_object>::size’:
/home/muse/muse/libraries/fc/include/fc/static_variant.hpp:185:49: required from ‘class fc::static_variant<graphene::chain::limit_order_object>’
/home/mu
View gist:30ad19e161a096c8ed62
admin.addPeer('enode://123d37ae8e215b1ec6c9cb94cc8881a88457d6c6f0a7db13cf62a7b38a1e69852ad385c5a62135c81a635531885015db02012bc87c4dec2a501980bd1cc42a0a@50.103.117.68:30303')
admin.addPeer('enode://190ff5006dcecf96cebe6746cfd15d610cbfb32a666884c8dd546eae67bc1b589029f0c8ad389ee7c77f27cd93c7a5f454efa57ec3fee4d661c1e3dc44a5997f@24.251.161.112:30303')
admin.addPeer('enode://a979fb575495b8d6db44f750317d0f4622bf4c2aa3365d6af7c284339968eef29b69ad0dce72a4d8db5ebb4968de0e3bec910127f134779fbcb0cb6d3331163c@52.16.188.185:30303')
admin.addPeer('enode://e54dfed083740840240c5b418fc4b381e23fb7b558e5e1f6ab7aceba49e6134a7b4ced0411596b0dc6ccc90fafac730df7bb1493610f29b051240c4d32fa5d8a@144.132.21.240:30303')
admin.addPeer('enode://548be394ae76f92224d8581d0e22167aefd6d2f06c0d42f40080c96bd96b75b3aec0171209ba0a42a16290a70dd3966292b9f9135f376b1d523e4973d9b8cda8@79.98.29.154:30303')
admin.addPeer('enode://4fb85e61a015b089e4f73c69919469813118f20c22d22aac2104dc302c550607e1ba0a1270b6c98b3d864e0efbe59dbb51522f4295215df33001e9520be823cf@1
View Token.sol
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {
if (msg.sender != owner) throw;
_
View gist:7e273fafa43af0e5c864
description "slanger"
author "hpyhacking <https://yunbi.com>"
start on startup
stop on shutdown
respawn
respawn limit unlimited
chdir /root
View gist:b0c9af3cc29507cf4b17
[ 90%] Built target genesis_update
[ 90%] Built target get_dev_key
[ 91%] Built target witness_node
[ 91%] Built target delayed_node
[ 92%] Building CXX object programs/js_operation_serializer/CMakeFiles/js_operation_serializer.dir/main.cpp.o
In file included from /home/muse/muse/libraries/chain/include/graphene/chain/protocol/types.hpp:38:0,
from /home/muse/muse/libraries/chain/include/graphene/chain/protocol/base.hpp:26,
from /home/muse/muse/libraries/chain/include/graphene/chain/protocol/operations.hpp:25,