一个请求通过经过中间件最后生成响应 基于koa2的demo const Koa = require('koa'); const app = new Koa(); const PORT = 3000; // #1 app.use(async (ctx, next)=>{ console.log('wa ...
分类:
其他好文 时间:
2021-04-15 12:19:38
阅读次数:
0
题目: Implement a function that receives two IPv4 addresses, and returns the number of addresses between them (including the first one, excluding the la ...
分类:
其他好文 时间:
2021-04-15 12:16:50
阅读次数:
0
主要测试了各方式clone的情况: 1. 安装gitlab,配置ip:port。 常规步骤: yum install -y curl policycoreutils-python openssh-server wget https://mirrors.tuna.tsinghua.edu.cn/git ...
分类:
其他好文 时间:
2021-04-15 12:08:39
阅读次数:
0
Docker部署PostGres docker run -d --name postgres --restart always -e POSTGRES_USER='postgres' -e POSTGRES_PASSWORD='123456' -e ALLOW_IP_RANGE=0.0.0.0/0 ...
分类:
其他好文 时间:
2021-04-14 12:43:56
阅读次数:
0
fofa: body="和信下一代云桌面" 构造发送数据包: POST /Upload/upload_file.php?l=test HTTP/1.1 Host:x.x.x.x User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWe ...
分类:
其他好文 时间:
2021-04-14 12:41:47
阅读次数:
0
不多言了,看图操作三部曲 1.登陆Dell 的web idac后台 2.网络→服务→VNC 3.安装VNC Viewer,ip+端口直连 ...
分类:
其他好文 时间:
2021-04-14 12:40:30
阅读次数:
0
1、添加线程组 2、添加HTTP请求 接口模板: http://132.232.44.158:8080/morning/getAllGoods 所以配置为: 协议:http 服务器名称或IP地址:132.232.44.158(服务器ip地址,部署在本地则为127.0.0.1) 端口号:8080(配置 ...
分类:
其他好文 时间:
2021-04-14 12:28:46
阅读次数:
0
<a id="ajax_submit">悄悄提交</a> <script> $('#ajax_submit').click(function () { $.ajax({ url:"/host/", type:'POST', data:{'k1':123,'k2':'root'}, success:f ...
分类:
Web程序 时间:
2021-04-14 12:21:15
阅读次数:
0
return [ 'connector' => 'Redis', // Redis 驱动 'expire' => null, // 任务的过期时间,默认为60秒; 若要禁用,则设置为 null 'default' => 'default', // 默认的队列名称 'host' => '127.0.0 ...
分类:
其他好文 时间:
2021-04-14 12:15:40
阅读次数:
0
1.1 套接字 C语言网络编程其实本质上也是多进程之间通过socket套接字进行通信,知识进程可能位于不同的服务器上,常用的TCP/IP协议有3种套接字类型,如下所示: 1.1.1 流套接字(SOCK_STREAM) 流套接字用于提供面向连接、可靠的数据传输服务,该服务保证数据能够实现无差错、无重复 ...
分类:
编程语言 时间:
2021-04-14 12:08:37
阅读次数:
0