Note - This tutorial was written using Go version 1.9 and googollee/go-socket.ioWebsockets are something I find interesting in the sense that they provide us with an alternative option to communication between applications as opposed to t...

Vicw.com用户头像 - ErvinCheung ErvinCheung 190 0 0

ADVANCEDWorking with Websockets and Socket.IO in Go - TutorialGo Protocol Buffer TutorialGo WebAssembly Tutorial - Building a Calculator TutorialGo Oauth2 TutorialGo Face Recognition Tutorial - Part 1Go Encryption and Decryption using AES -...

Vicw.com用户头像 - ErvinCheung ErvinCheung 2346 0 0

Go is an absolutely incredible language to build a wide variety of different applications in. From command-line interfaces to distributed microsystems and even cloud platforms, its' simplicity and concurrency baked in makes it a powerful ch...

Vicw.com用户头像 - ErvinCheung ErvinCheung 317 0 0

user = User.find(1) user.as_json # => { "id" => 1, "name" => "Konata Izumi", "age" => 16, #     "created_at" => "2006/08/01", "awesome" => true} ActiveRecord::Base.include_root_in_json = true user.as_json # => { "user" => { "id" => 1,...

Vicw.com用户头像 - ErvinCheung ErvinCheung 341 0 0

程序猿 - ubuntu 使用Guake终端(一键显示/隐藏终端,执行命令)

开发者最好的朋友即时执行任何命令简洁而优雅Guake拥有您需要的功能直接访问任何控制台在您的上下文切换Guake是Gnome的一个自上而下的终端, 您可以通过一键击键即时...

Vicw.com用户头像 - ErvinCheung ErvinCheung 253 0 1

https://github.com/commitizen/cz-cli安装commitizensudo npm install -g commitizen全局安装首选适配器cz-conventional-changelogsudo npm install -g cz-conventional-changelog.czrc在home目录中创建一个文件,并path引用首选...

Vicw.com用户头像 - ErvinCheung ErvinCheung 354 0 0

Consolas字体下载链接: https://pan.baidu.com/s/1fRIeQ8Pnbxa9TEgvuyiVqA 提取码: det6安装将上面下载的字体包解压,并按如下操作:sudo mkdir -p /usr/share/fonts/consolas sudo cp YaHei.Consolas.1.12.ttf /usr/share/fon...

Vicw.com用户头像 - ErvinCheung ErvinCheung 319 0 0

使用 create database 命令复制数据库到新的数据库。CREATE DATABASE targetdb WITH TEMPLATE sourcedb; 举例:CREATE DATABASE database1 WITH TEMPLATE database2;

Vicw.com用户头像 - ErvinCheung ErvinCheung 311 0 0

ruby on rails(Ruby 元编程) 动态定义实例变量使用instance_variable_set方法# obj.instance_variable_set(symbol, obj)    -> obj obj.instance_variable_set(string, obj)    -> obj class Fred  def initialize(p1, p2)    @a, @b...

Vicw.com用户头像 - ErvinCheung ErvinCheung 433 0 0

新闻热点 - 范冰冰李晨分手???

【#范冰冰李晨分手#】#我们不再是我们#刚刚,范冰冰发博表示和李晨分手:人的一生可能会经历各种告别,在我们的相遇中收获的爱和温暖都化为了永恒的力量,感谢一路走来你所...

Vicw.com用户头像 - ErvinCheung ErvinCheung 806 0 2