什么是quic? quic解决了什么问题?HTTP和QUIC QUIC :Quick UDP Internet Connections;是一种新的默认加密的互联网通信协议,它提供了许多改进,旨在加速HTTP通信,同时使其变得更加安全,其最终目的是在web上代替TCP和TLS协议 可以看到发起http ...
分类:
其他好文 时间:
2020-05-03 16:47:53
阅读次数:
77
一,创建用户模型 命令行模式下输入如下命令 php artisan make:model Models/Admin/User -m 后回车 该命令两个作用: 一是在app目录下创建了 Models/Admin/User.php 二是在database/migrations 下创建了对应的迁移文件 二 ...
分类:
其他好文 时间:
2020-05-03 11:01:10
阅读次数:
57
垂直分库是指按照业务将表进行分类,分布到不同的数据库上面,每个库可以放在不同的服务器上,它的核心理念是专库专用。 (1)创建数据库,创建表 CREATE DATABASE `user_db` CHARACTER SET 'utf8' COLLATE 'utf8_general_ci'; USE us ...
分类:
数据库 时间:
2020-05-02 21:08:51
阅读次数:
195
概述 中文官网:http://www.mybatis.cn 参考教程:https://www.w3cschool.cn/mybatis MyBatis Plus:http://mp.baomidou.com/#/quick-start 主要步骤:添加配置、生成MyBatis模板、编写服务接口、配置打 ...
分类:
编程语言 时间:
2020-05-02 19:07:12
阅读次数:
62
一、读文件操作 func FileRead(path string) { file, err := os.Open(path) if err != nil { fmt.Println("open file err=", err) } rb := make([]byte, 1024, 1024) fo ...
分类:
其他好文 时间:
2020-05-02 18:33:14
阅读次数:
63
Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 ...
分类:
其他好文 时间:
2020-05-02 14:51:55
阅读次数:
49
private void ExecCheckExe(){ string exefile = "d:\\chktool\\checktool.exe"; if (File.Exists(exefile)) { Process process = new Process(); ProcessStartI ...
1 本地Java8+Maven环境已经ok 2 官网下载Nacos 按照官网说明下载安装运行即可 https://nacos.io/en us/docs/quick start.html 3 运行bin目录下的startup.cmd成功后直接访问http://localhost:8848/nacos ...
分类:
编程语言 时间:
2020-05-01 14:16:55
阅读次数:
87
路径操作 path模块 from os import path #os 模块常用函数,os.path模块 p = path.join('/etc/','sysconfig','network') #拼接 print(type(p),p) print(path.exists(p)) #存在性判断 pr ...
分类:
编程语言 时间:
2020-05-01 01:10:10
阅读次数:
77
1.Introduction The Valgrind tool suite provides a number of debugging and profiling tools that help you make your programs faster and more correct. Th ...
分类:
其他好文 时间:
2020-04-30 21:38:42
阅读次数:
74