1.下载elasticsearch-6.8.7 https://www.elastic.co/cn/downloads/elasticsearch 2.下载moloch-2.2.2-1.x86_64.rpm https://molo.ch/index#home (注:moloch对ela版本要有很严 ...
分类:
其他好文 时间:
2020-03-06 15:04:08
阅读次数:
149
我们在调用合约方法时,都可以传一些参数的,比如转账金额 value。 value 的单位是 wei,这是一个很小的单位,所以一般数值很大。 注意,把 ether 转 wei 需要先把 ether 的值转成字符串,不然就会报出标题中的错误。 比如 0.1 ether 转 wei 使用 web3.uti ...
分类:
Web程序 时间:
2020-03-06 01:48:49
阅读次数:
141
我们在调用合约方法时,都可以传一些参数的,比如转账金额 value。 value 的单位是 wei,这是一个很小的单位,所以一般数值很大。 如果误把 ether 当成 wei 传参,就会报标题中的错误。 注意,把 ether 转 wei 需要先把 ether 的值转成字符串。 比如 0.1 ethe ...
分类:
Web程序 时间:
2020-03-06 01:15:35
阅读次数:
94
参见:https://blog.gmem.cc/cygwin-faq 比如:apt-cyg install nano apt-cyg search 7z 这样安装apt-cyg: git clone https://github.com/transcode-open/apt-cyg.git chmo ...
如何向屏幕加入一行文字? 1. 常用创建标签方法汇总: a. Label::create() // // 被声明为已否决 b. Label::createWithSystemFont() c. Label::createWithTTF() 2. 标签加入特效汇总(列出顺序与源码构建顺序一致): a. ...
分类:
其他好文 时间:
2020-03-05 01:21:36
阅读次数:
102
如何创建一个精灵? 1. 使用一张特定的图像如创建 auto mySprite = Sprite::create("mySprite.png"); 注意:蓝色部分是背景。 2. 使用矩形 auto mySprite = Sprite::create("mySprite.png", Rect(0, 0 ...
分类:
其他好文 时间:
2020-03-04 19:23:13
阅读次数:
77
官网:https://github.com/Tencent/xLua配置文档:https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/hotfix.md官方FAQ:https://github.com/Tencent/xLua/blob ...
分类:
其他好文 时间:
2020-03-02 11:07:17
阅读次数:
74
FAQ: Android app 编译好后安装到手机,运行时闪退,报如下错误: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{io.grpc.helloworldexample/io.grpc.hel ...
分类:
编程语言 时间:
2020-02-25 14:27:13
阅读次数:
65
顾名思义,address 属性不存在,请检查调用方。 比如:msg.sender.address 会有此提示,在 Solidity Contract 中,msg.sender.balance 是存在的,地址直接使用 msg.sender Link:https://www.cnblogs.com/fa ...
分类:
其他好文 时间:
2020-02-24 18:34:54
阅读次数:
96
ref : "How do I enable UBIFS?" How do I enable UBIFS? Since UBIFS works on top of UBI, you have to enable UBI first (see "here" ). Then in the Linux c ...
分类:
其他好文 时间:
2020-02-22 11:45:50
阅读次数:
76