This file contains hidden or 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
| #include "main.h" | |
| typedef void (*Func)(); | |
| typedef struct s_double_press_description { | |
| controller_digital_e_t button; | |
| Func func; | |
| } DoublePressDescription; |
This file contains hidden or 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
| class Geocoding { | |
| search(query, callback) { | |
| // dosomething and take data | |
| // data = 1 | |
| // | |
| // let data = 1 | |
| //return data | |
| // | |
| jQuery.ajax('a.json', function(data) { |
This file contains hidden or 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
| # 在 /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; |
This file contains hidden or 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
| 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") |
This file contains hidden or 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
| 0x300f1F9a68cF3Ff5c066dc9e52690Af987e67D1f |
This file contains hidden or 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
| { | |
| "currency": "cny", // 账户的币种 例如 cny 或 btc | |
| "balance":"100243840.0", // 账户余额, 不包括冻结资金 | |
| "locked":"0.0" // 账户冻结资金 | |
| } |
This file contains hidden or 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
| # encoding: UTF-8 | |
| require 'base64' | |
| File.readlines('new.txt').each do |line| | |
| puts line | |
| if line =~ /b64\](.*)\[/ | |
| puts Base64.decode64($1) | |
| end | |
| end |
This file contains hidden or 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
| [ 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 |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| contract owned { | |
| address public owner; | |
| function owned() { | |
| owner = msg.sender; | |
| } | |
| modifier onlyOwner { | |
| if (msg.sender != owner) throw; | |
| _ |
NewerOlder