清除坏的\:\镜像 docker rmi $(docker images -f "dangling=true" -q)

Vicw.com用户头像 - XanderCheung XanderCheung 4698 0 1

周琦尽力了,输球不怪他。发球出失误,只因压迫大。八成命中率,得分一十加。火锅篮板送,你还想要啥?队友全是坑,早被打成瓜。赵睿投不准,艾伦快打卡。小川总受伤,联妹...

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

宿主机已经运行mysql在3306端口,这个时候 映射容器中的 mysql '3306:3306' 就会和外部冲突,这个时候 映射 3308 到容器mysql的3306CONTAINER ID        IMAGE                    COMMAND    ...

Vicw.com用户头像 - XanderCheung XanderCheung 17112 0 1

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

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

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

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

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

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

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

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

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

程序猿 - SIMSKY Vue 前后端分离

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

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

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

Vicw.com用户头像 - XanderCheung XanderCheung 7598 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 5564 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 4513 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 4365 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 4215 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 4733 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 5422 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 4469 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 3861 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 4726 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 6565 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 4538 0 0

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

Vicw.com用户头像 - MIHU MIHU 5374 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 5139 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 4569 0 1

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

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

Vicw.com用户头像 - XanderCheung XanderCheung 5417 0 1

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

Vicw.com用户头像 - XanderCheung XanderCheung 7672 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 6540 0 0

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

Vicw.com用户头像 - XanderCheung XanderCheung 6955 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 8225 0 0