Geth同步的创世区块数据里居然没有交易数据 发表于 2018-11-02 | 分类于 BlockChain | 创世区块中的数据那里去了?创世区块是硬编码在代码中的: https://www.zhihu.com/question/64984873https://zhuanlan.zhihu.com/p/29028693 创世区块初始化数据 阅读全文 »
CentOS 账号登录提示 LC_CTYPE 不存在 发表于 2018-11-02 | 分类于 计算机 , OPS | vi /etc/environment 或者 ~/.bash_profile add these lines… 12LANG=en_US.utf-8LC_ALL=en_US.utf-8 参考: https://gist.github.com/ibrahimlawal/bfec7 ... 阅读全文 »
类 MySQL 数据库字符集 发表于 2018-10-30 | 分类于 计算机 , MySQL | 快速开始-- 数据库, 数据表字符集的更改show variables like '%char%';alter database dbname default character set = utf8;alter table dbname.tablename convert to char ... 阅读全文 »
Golang 常用框架 发表于 2018-10-28 | 分类于 计算机 , Golang | Http 服务Note: 参考文档 https://studygolang.com/articles/11897?fr=sidebar Ginhttps://github.com/gin-gonic/ginhttps://gin-gonic.github.io/gin Irishttps://git ... 阅读全文 »
TradingView入门指南文档 发表于 2018-10-28 | 分类于 计算机 , 前端 | 中文文档https://b.aitrade.ga/books/tradingview/book/Running-Your-Charting-Library.html WIKIhttps://www.tradingview.com/wiki/Main_Page 官方网址https://cn.tradi ... 阅读全文 »
Golang 文件目录最佳实践 发表于 2018-10-26 | 分类于 计算机 , Golang | 首先参考前面 Golang 新项目实践 - 搭建环境 内容. 然后这次主要说说文件结构方面的内容: 方案一: 每个服务一个单独工程文件夹 以服务名创建一个目录, 比如 ~/demo-service-1, 然后添加 .envrc: 12export GOPATH=`pwd` ... 阅读全文 »
Git 开发工作流 发表于 2018-10-20 | 分类于 计算机 , Git | 开发流程 本地开发 - 开发前要在 issue 上面添加对应功能点或者修复的问题 提交分支 - 先提交到 fork 工程 走 Pull Request 到 develop 分支 合并 master 分支 生成 Release 版本 发布 提交前运行验证脚本一般情况, 项目应该在初始化时构建可行性验 ... 阅读全文 »
CentOS Vultr 账号登录提示LC_CTYPE不存在 发表于 2018-10-07 | 分类于 计算机 , OPS | 1vi /etc/environment 增加如下内容: 12LANG=en_US.utf-8LC_ALL=en_US.utf-8 阅读全文 »
服务器时区和时间问题 发表于 2018-10-04 | 分类于 计算机 , OPS | 同步 NTP(Networking Time Protocol) 时间可以找一下可用的同步服务器: https://www.ntppool.org/zone/cn 也可以自建时间同步服务器: https://www.freebsd.org/doc/zh_CN/books/handbook/netwo ... 阅读全文 »
MacOS 更改文件默认打开方式 发表于 2018-10-04 | 分类于 MacOS | 以前一直使用 option + 鼠标右键, 但是这只能设置当前这个文件的默认打开方式, 而无法将全部该扩展名的都设置了. 例如我想用 Sublime Text 默认打开所有 md 结尾的文件, 那么总要一个一个设置… 今天发现直接在该类型任一文件右击, 点击 Get Info -> Open ... 阅读全文 »