一、三次握手过程 在TCP/IP协议中,TCP协议提供可靠的连接服务,采用三次握手建立一个连接。如下图所示: 首先,客户端开始的时候,首先创建sock文件描述符,接着就进行connect发起连接服务器请求,阻塞等待服务器应答。 接着,服务器开始的时候,分配一个listen_sock文件描述符,接着进 ...
分类:
其他好文 时间:
2019-12-26 00:02:15
阅读次数:
103
命令行安装 环境依赖: 必须安装node 验证node是否安装 对应显示版本号即可,如下图: 全局安装vue-cli 如安装过程中安装较慢或较慢,使用手机4G热点安装,亲测好用。 安装成功如下: 创建一个基于 webpack 模板的新项目 进入项目,安装并运行: 成功执行以上命令后访问 http:/ ...
分类:
其他好文 时间:
2019-12-25 22:07:03
阅读次数:
124
一、 Blue(100% red centre)> Rare/Bloody(75% red centre) > medium rare(50% red centre) > medium(25% red centre) > medium well(hint of pink) > well done(1 ...
分类:
其他好文 时间:
2019-12-25 01:34:56
阅读次数:
97
1.设置为null 2.建表时其他参数的设置 3.set的使用 4.ManyToMany参数(through,db_constraint) 5.db_constraint ),但是不用约束字段了,一般公司都用false,这样就省的报错,因为没有了约束(Field字段对象,既约束,又建立表与表之间的关 ...
分类:
数据库 时间:
2019-12-24 14:04:02
阅读次数:
93
Problem Description Problems that require minimum paths through some domain appear in many different areas of computer science. For example, one of th ...
分类:
其他好文 时间:
2019-12-21 20:35:46
阅读次数:
66
mac 遇到的问题 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) sudo mysql.server start 无法启动 mysqld 还是不行 versio ...
分类:
数据库 时间:
2019-12-14 21:12:25
阅读次数:
112
Description After going through the receipts from your car trip through Europe this summer, you realised that the gas prices varied between the cities ...
分类:
其他好文 时间:
2019-12-14 13:36:13
阅读次数:
81
An introduction to using and visualizing channels in Go 原文: https://www.sohamkamani.com/blog/2017/08/24/golang-channels-explained/ An introduction to ...
分类:
其他好文 时间:
2019-12-09 21:17:58
阅读次数:
101
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll ...
分类:
其他好文 时间:
2019-12-08 10:24:10
阅读次数:
84
官网下载地址:http://ricostacruz.com/nprogress/ npropress.css /* Make clicks pass-through */ #nprogress { pointer-events: none; } #nprogress .bar { backgroun ...
分类:
其他好文 时间:
2019-12-06 19:14:42
阅读次数:
111