ywzqwwt (25)in #beautiful • 6 years ago • Nonea beautiful old townLast weekend, I went to a very beautiful place in China, Wuzhen. I attended the CTO conference there. I know a lot of…ywzqwwt (25)in #poetry • 6 years ago • None橘子洲一分好奇登船去,上岸方知是橘洲。静幽深处藏伟人,解放中国耀东方。ywzqwwt (25)in #nginx • 6 years ago • Nonecentos7+nginx-1.13.5搭建mp4视频服务器1、yum -y install gcc-c++ 2、wget 3、tar -zxvf nginx-1.13.5.tar.gz 4、cd nginx-1.13.5 5、./configure…ywzqwwt (25)in #hundredfold • 6 years ago • NoneThe potential hundredfold coin:trueFirst this is not investment advice.Nor is to recommend you to buy it.this is just to introduce some situations of…ywzqwwt (25)in #oracle • 6 years ago • NoneOracle里二进制与十进制的相互转换Oracle里有内建函数bin_to_num可以将二进制数转换为十进制数,但这个函数的入参是个数不定的0或1: [sql] view plaincopy SELECT BIN_TO_NUM (1, 1, 1, 1, 0, 1, 1)…ywzqwwt (25)in #pow • 6 years ago • None以太坊POW流程总结Pow算法概念简单,即工作端提交难以计算但易于验证的计算结果,其他节点通过验证这个结果来确信工作端完成了相当的工作量。…ywzqwwt (25)in #avoid • 6 years ago • NoneHow to avoid being dismissedWhat you need to do is to keep learning and constantly improve your strength.ywzqwwt (25)in #happiest • 6 years ago • NoneThe happiest thing(最开心的事情)The happiest thing for me is that everyday when i wake up , i suprised to find that i am alive,so i must cherish this…ywzqwwt (25)in #hdfs • 6 years ago • Nonehdfs数据迁移确保被迁移的服务器(HDFS)新创建的文件夹权限是777。2.确保被迁移的服务器namenode、datanode、yarn的进程都在,迁移过程中跑map。3.同一版本迁移:bin/hadoop distcp…ywzqwwt (25)in #metaq • 6 years ago • Nonemetaq总结1.使用的包直接导的metaq软件中的lib里面的所有 2.主要写的生产者和消费者 3.另外特别注意需要注册 topic 在metaq/conf下面的server.ini 上代码:生产者 package…ywzqwwt (25)in #sql • 6 years ago • None查询表详情在command模式下,输入 desc 表名 在sql下可用 select t.table_name,t.column_name,c.DATA_TYPE||'(' ||c.DATA_LENGTH||')',t.comments…ywzqwwt (25)in #oracle • 6 years ago • NoneORACLE查看某个表的主外键关系SELECT USER_CONS_COLUMNS.CONSTRAINT_NAME AS 约束名, USER_CONS_COLUMNS.TABLE_NAME AS 子表名…ywzqwwt (25)in #oracle • 6 years ago • NoneDCL DDL DMLDCL 权限控制 GRANT 权限名称 TO 用户名 REVOKE 权限名称 FROM 用户名 DDL 对象的管理 CREATE CREATE USER 用户名 IDENTIFIED BY 密码 ALTER ALTER…ywzqwwt (25)in #lose • 6 years ago • NoneHow to lose weightwhat we just should is 1、eat less 2、more running 3、action 4、Insistywzqwwt (25)in #eth • 6 years ago • None以太坊开发--truffle和testrpc使用介绍0、truffle是本地的用来编译、部署智能合约的工具,而testrpc不同于geth,geth是真正的以太坊环境,testrpc是在本地使用内存模拟的一个以太坊环境,对于开发调试来说,更为方便快捷,当你的合约在testrpc中测试通过后,ywzqwwt (25)in #truechain • 6 years ago • Nonetruechain环境搭建Windows环境 第一步:编译环境安装 1.1 :找到安装路径" 1.2:下载合适的msi,作者本身的是windows 64位的,所以,直接下载:go1.9.2.windows-amd64.msi…ywzqwwt (25)in #true • 6 years ago • NoneTrueChain方案设计TrueChain方案设计 1 Introduction…ywzqwwt (25)in #eth • 6 years ago • None以太坊源码调试环境搭建1、go get后,所有依赖包都有了,但在goland里面跑的时候报错:# github.com/ethereum/go-ethereum/crypto/secp256k1;exec: "gcc": executable file…ywzqwwt (25)in #oracle • 6 years ago • Noneoracle 完整总结版1、创建用户 CREATE USER IDENTIFIED BY ALTER USER SYSTEM IDENTIFIED BY a12345; DROP USER SYSTEM 2、给用户赋予权限 连接权限…ywzqwwt (25)in #preparedstatement • 6 years ago • NonePreparedStatement execute执行插入成功却返回false用PreparedStatement的execute方法执行sql插入语句,执行成功,但是返回结果却为false。 boolean execute() throws SQLException在此 PreparedStatement…