新闻热点 - 恭喜fpx成为lpl第一支进入全球总决赛的队伍!fpx将第一次代表lpl出征世界赛!

Doinb等这一刻5年了。5年前初登赛场,一手维克托名扬天下,可英雄池的属性让他饱受争议,到现在还有人提起。4年前Doinb所在的QG2比3不敌LGD,没人想到这居然是Doinb离全球总决赛最...

Vicw.com用户头像 - 撸猫铁头娃 撸猫铁头娃 2333 2 1

新闻热点 - 连续四年出征,RNG成为LPL第二支拿到S9门票的队伍

在刚刚结束的LPL夏季赛半决赛当中,RNG以3-1的比分击败TES成功挺进决赛。凭借春季赛拿到的10积分以及进入夏季赛决赛至少能够获得的90积分,RNG以保底100分的积分优势,成为继FPX之...

Vicw.com用户头像 - 撸猫铁头娃 撸猫铁头娃 1852 0 1

程序猿 - 使用阿里云加速器提升获取Docker官方镜像的速度

https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors

Vicw.com用户头像 - XanderCheung XanderCheung 1150 0 0

程序猿 - SIMSKY Vue 前后端分离

一、技术栈基于 es6、vue、vuex、vue-router 、vue-cli 、axios 和 element-ui,(请求数据使用Mock.js进行模拟)Vue 生态圈Vue Router 是 vue 官方的路由。它能快速的帮助你构建一个单页面或者多页面...

Vicw.com用户头像 - XanderCheung XanderCheung 1718 0 2

 SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname='数据库名' AND pid<>pg_backend_pid(); 

Vicw.com用户头像 - XanderCheung XanderCheung 4479 0 0

Golang Tutorial - Securing Your Go REST APIs With JWTs

Note - The full source code for this tutorial can be found here: TutorialEdge/go-jwt-tutorialJWTs, or JSON Web Tokens as they are more formally known, are a compact, URL-safe means of representing claims to be transferred between two part...

Vicw.com用户头像 - XanderCheung XanderCheung 2128 0 0

JavaScript Frontend frameworks have undoubtedly helped to push the boundaries of what was previously possible in the context of a browser. Ever more complex applications have come out built on top of the likes of React, Angular and VueJS to...

Vicw.com用户头像 - XanderCheung XanderCheung 1140 0 0

Golang Tutorial - Building a Solid Continuous Integration Pipeline with TravisCI for Your Go Projects

So, I recently partook in Hacktoberfest which is an event that helps to support thousands of different Open Source projects. Usually, I tend to get caught up in other projects or can't find the time or make up a hundred other excuses for ...

Vicw.com用户头像 - XanderCheung XanderCheung 1380 0 0

ObjectivesBy the end of this tutorial, you will be able to...Encrypt text using the AES - Advanced Encryption Standard in GoWe'll then look at writing this encrypted message to a fileFinally we'll look at how we can decrypt this message usi...

Vicw.com用户头像 - XanderCheung XanderCheung 1436 0 0

Golang Tutorial - Go Face Recognition Tutorial - Part 1

The whole area of Face Recognition is something I love reading about. Implementing a facial recognition system yourself makes you sound like you are Tony Stark and you can use them for a variety of different projects such as an automatic lo...

Vicw.com用户头像 - XanderCheung XanderCheung 1233 0 0

Welcome fellow coders! In this tutorial, we are going to be taking a look at how you can implement your own OAuth2 Server and client using the go-oauth2/oauth2 package.This is without a doubt one of the most requested topics from commento...

Vicw.com用户头像 - XanderCheung XanderCheung 1476 0 0

Update - The code in this tutorial has been updated to work with the breaking changes in Go v1.12Welcome All! With Go v1.11 having just been released with an experimental port to WebAssembly included, I thought it would be awesome to see h...

Vicw.com用户头像 - XanderCheung XanderCheung 1303 0 0

Welcome fellow coders! In this tutorial, we are going to be looking at how you can utilize the Protocol Buffers data format within your Go-based applications. We'll be covering what the data format is, and why it is an improvement over more...

Vicw.com用户头像 - XanderCheung XanderCheung 1143 0 0

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用户头像 - XanderCheung XanderCheung 1485 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用户头像 - XanderCheung XanderCheung 3292 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用户头像 - XanderCheung XanderCheung 1230 0 0

今天订单出了一个库存超卖的问题,查找了很久,才定位到原因,之前用rails也很少用到事务和锁,这里介绍一下它们。为什么要使用事务事务是指并发控制的单位,是用户定义的一...

Vicw.com用户头像 - MIHU MIHU 1694 1 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用户头像 - XanderCheung XanderCheung 1563 0 0

For general application configuration that doesn't need to be stored in a database table, I like to create a config.yml file within the config directory. [rails get yml configurations] For your example, it might look like this:defaults:...

Vicw.com用户头像 - cnelson cnelson 1538 0 1

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

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

Vicw.com用户头像 - XanderCheung XanderCheung 1238 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用户头像 - XanderCheung XanderCheung 1680 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用户头像 - XanderCheung XanderCheung 1748 0 0

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

Vicw.com用户头像 - XanderCheung XanderCheung 1244 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, ...

Vicw.com用户头像 - XanderCheung XanderCheung 2010 0 0

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

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

Vicw.com用户头像 - XanderCheung XanderCheung 1693 0 3

杂记 - 《我们与恶的距离》观后五味杂陈

    化身为恶,就在一念之间,又或者蓄谋已久,可明明孔先生说过人性本善,那是什么造就了社会高达10%,20%甚至30%的犯罪率?是社会本身。    对于“社会”这个词语,我一直概...

Vicw.com用户头像 - 一只烊烊的千纸鹤 一只烊烊的千纸鹤 1314 1 2

这是Go应用程序项目的基本布局。它不是核心Go开发团队定义的官方标准; 然而,它是Go生态系统中一组常见的历史和新兴项目布局模式。其中一些模式比其他模式更受欢迎。它还有许...

Vicw.com用户头像 - XanderCheung XanderCheung 7241 0 2