nodejs端实现模块化的方式通常是通过commonjs,使用模块化可以复用js代码,使得逻辑结构更为清晰。 commonjs的语法规则如下通过 module.exports 或者 exports 导出,通过 require函数来导入 // a.js 导出内容 const name = 'alice ...
分类:
Web程序 时间:
2021-06-15 17:57:25
阅读次数:
0
def encode(matched, priors, variances): """Encode the variances from the priorbox layers into the ground truth boxes we have matched (based on jaccard ...
分类:
其他好文 时间:
2021-06-15 17:35:17
阅读次数:
0
WEB服务与NGINX(2)-NGINX的I/O模型 1. linux I/0模型及在NGINX中的应用 1.1 I/O模型概述 I/O在计算机中指的是INPUT和OUPUT,IOPS(INPUT/OUTPUT per second)每秒的输入输出量(或读写次数),是衡量I/O性能的主要指标之一。 ...
分类:
Web程序 时间:
2021-06-13 10:47:01
阅读次数:
0
一线企业应用的最佳实践方式 一套可执行、可复用的企业应用代码 详解Go项目开发5大核心流程 一次掌握Go项目开发常用技能点 孔令飞 腾讯云资深工程师,前Red Hat、联想云工程师。 拥有多年Go项目开发经验,参与过腾讯云云函数 SCF、腾讯游戏容器平台 TenC、腾讯游戏微服务中台等大型企业项目的 ...
分类:
编程语言 时间:
2021-06-13 10:40:53
阅读次数:
0
CentOS 安装 nginx 教程 下载安装包 cd /usr/local wget http://nginx.org/download/nginx-1.19.8.tar.gz 安装依赖 yum install gcc-c++ yum install pcre yum install pcre-d ...
分类:
其他好文 时间:
2021-06-13 10:38:46
阅读次数:
0
mysql-索引 21.6.12【索引的分类】 单列索引:索引加在一个列上 普通索引(normal): alter table user add index `name`(`name`) 唯一索引(unique): alter table user add unique index `code`(` ...
分类:
数据库 时间:
2021-06-13 10:24:21
阅读次数:
0
下面这篇博客,很详细,基于源码: https://my.oschina.net/u/4933191/blog/4896611 下面这篇博客基于案例,生动: https://www.cnblogs.com/code-duck/p/13433809.html ...
分类:
移动开发 时间:
2021-06-13 09:57:29
阅读次数:
0
nginx.conf配置 #user nobody; user www www; worker_processes 8; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log in ...
分类:
其他好文 时间:
2021-06-13 09:55:40
阅读次数:
0
1、去官网https://redis.io/下载对应的nginx包,推荐使用稳定版,上传到centos系统 /home/software/ 解压 tar -zxvf redis-5.0.5.tar.gz 或 使用linux wget命令:wget http://download.redis.io/r ...
分类:
其他好文 时间:
2021-06-13 09:30:04
阅读次数:
0
数据类型导航: 1.整数数据类型 2.浮点型数据类型 3.字符数据类型 4.日期和时间数据类型 5.文本和图形数据类型 6.货币数据类型 7.位数据类型 8.二进制数据类型 9.其他数据类型 10.自定义数据类型 引言:数据类型是一种属性,用于指定对象可保存的数据的类型,SQL Server中支持多 ...
分类:
数据库 时间:
2021-06-13 09:28:38
阅读次数:
0