ethereum private node chain

1、geth https://blog.fukuball.com/ethereum-%E9%96%8B%E7%99%BC%E7%AD%86%E8%A8%98-22geth-%E5%9F%BA%E7%A4%8E%E7%94%A8%E6%B3%95%E5%8F%8A%E6%9E%B6%E8%A8%AD-muti-nodes-%E7%A7%81%E6%9C%89%E9%8F%88/ 2、Ganache one click blockchain https://truffleframework.com/ganache https://truffleframework.com/ 3、MetaMask wallet

2018-11-01 · 1 min · 10 words · Me

gin-jwt 又更新了 renew again

1、Authenticator old:Authenticator: func(userId string, password string, c *gin.Context) New: ============================ `` type login struct { Username string `form:"username" json:"username" binding:"required"` Password string `form:"password" json:"password" binding:"required"` } Authenticator: func(c *gin.Context) (interface{}, error) { var loginVals login if err := c.ShouldBind(&loginVals); err != nil { return "", jwt.ErrMissingLoginValues } userID := loginVals.Username password := loginVals.Password `` 2、authMiddleware old: authMiddleware := jwt.GinJWTMiddleware{ New: authMiddleware, err := jwt.New(&jwt.GinJWTMiddleware{

2018-10-29 · 1 min · 64 words · Me

[轉]linux改時區

https://blog.keniver.com/2017/06/linux-%E8%A8%AD%E5%AE%9A%E4%BF%AE%E6%94%B9%E6%99%82%E5%8D%80/ sudo dpkg-reconfigure tzdata

2018-10-27 · 1 min · 4 words · Me

mac 上好用、簡單修圖軟體 evernote skitch

https://evernote.com/intl/zh-tw/products/skitch

2018-10-22 · 1 min · word · Me

vue

[Vue.js] 簡單登入頁面路由part1 https://yuugou727.github.io/blog/2017/11/11/vue-login-practice/ [Vue.js] 簡單登入頁面路由part2 https://yuugou727.github.io/blog/2017/11/14/vue-login-practice-2/ [Vue.js] global method 的復用 https://yuugou727.github.io/blog/2017/11/25/vue-global-methods/

2018-10-18 · 1 min · 11 words · Me