1:开启对页面的压缩处理 gzip on; //开启压缩 gzip_min_length 1000; //小文件不压缩 gzip_comp_level 4; //压缩比率 gzip_types text/plain text/css application/json application/x-ja ...
分类:
其他好文 时间:
2021-06-02 15:02:12
阅读次数:
0
An exception was thrown while activating Castle.Proxies.ProcedureAppServiceProxy.Autofac.Core.DependencyResolutionException: An exception was thrown w ...
分类:
其他好文 时间:
2021-06-02 14:54:19
阅读次数:
0
自动化开发部署和测试 在之前章节中有一个IsValid方法,检查银行账号是是否符合校验码要求,由于这种方法很容易出现代码错误,都会写一个短小的程序来测试验证此方法。 class Program { [STAThread] static void Main(string[] args) { strin ...
分类:
其他好文 时间:
2021-06-02 14:49:27
阅读次数:
0
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev ...
分类:
其他好文 时间:
2021-06-02 14:41:17
阅读次数:
0
前言 之前都是框架类的知识,记住了以后开始补充其中的血肉,相当于是丰富其中的细节信息 确实初看一遍面向对象还是简单,但是落到细节上还是要反复推敲思考的 1. main方法中的array(数组) String [] arr :用来获取键盘录入的参数 在写好.java代码后,首先要命令行中运行 >jav ...
分类:
编程语言 时间:
2021-06-02 14:17:00
阅读次数:
0
简述Spring Cloud Gateway 是 Spring Cloud 的一个子项目,该项目是基于 Spring 5.0,Spring Boot 2.0 和 Project Reactor 等技术开发的网关,它旨在为微服务架构提供一种简单有效的统一的 API 路由管理方式。 Spring Clo ...
分类:
其他好文 时间:
2021-06-02 14:13:45
阅读次数:
0
幂等性概念 数学中的定义:其任意多次执行所产生的影响均与一次执行的影响相同。比如f(f(x)) = f(x). HTTP协议中的定义:在HTTP/1.1规范中幂等性的定义是:HTTP方法的幂等性是指一次和多次请求某一个资源应该具有同样的副作用。其中GET,PUT, DELETE 如何测试幂等性 幂等 ...
分类:
其他好文 时间:
2021-06-02 14:05:20
阅读次数:
0
class Main { public static void main(String[] args) { b bb = new b(); } } class a{ // a(){ 注释我会报错 // System.out.println("a"); // } a(int a){ System.ou ...
分类:
编程语言 时间:
2021-06-02 13:54:11
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:50:16
阅读次数:
0
#include<stdio.h> int main(){ int n; cin>>n; for(int i=1;i<=n;i++)cin>>a[i]; for(int i=1;i<=n;i++)cin>>b[i]; int x=1,y=1,tot=0; while(x<=n&&y<=n){ if( ...
分类:
编程语言 时间:
2021-06-02 13:49:15
阅读次数:
0