WumingXiaozu 无名小卒

I am Nobody - WumingXiaozu


  • 首页

  • 区块链

  • 量化投资

  • 开发者

  • 标签

  • 归档

  • 分类

  • 关于

  • 站点地图

  • 搜索

Golang 的错误处理

发表于 2018-11-02 | 分类于 计算机 , Golang |
在开始编写 Golang 代码之前, 先随便引入了一个 MYSQL 的包, 准备简单写写对数据库的操作. 但是刚一上手就发现一个问题, 如何处理引入包抛出的各种异常问题呢? 如何抛出一个错误首先了解一下 error 类型: error interface &#; Error ...
阅读全文 »

Geth同步的创世区块数据里居然没有交易数据

发表于 2018-11-02 | 分类于 BlockChain |

创世区块中的数据那里去了?

创世区块是硬编码在代码中的:

https://www.zhihu.com/question/64984873
https://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 ...
阅读全文 »
<<1…222324…49>>
Justin Chow

Justin Chow

485 日志
45 分类
192 标签
RSS
GitHub Gitee Coding E-Mail QQ
Links
  • Kali官网
  • HackFun
  • 强哥运营笔记
© 2012 — 2022 Justin Chow
京ICP备2021012931号