1、编译 ./configure --prefix=/usr/local/nginx-1.8\ --with-http_stub_status_module\ (统计数据查看) --with-pcre=/opt/install/nginx/pcre-8.44\ (正则) --with-http_su ...
分类:
Web程序 时间:
2020-07-17 19:22:38
阅读次数:
72
1、编译 ./configure --prefix=/usr/local/nginx-1.8\ --with-http_stub_status_module\ (统计数据查看) --with-pcre=/opt/install/nginx/pcre-8.44\ (正则) --with-http_su ...
分类:
Web程序 时间:
2020-07-17 16:16:30
阅读次数:
71
安装 vs2015 编译 google protobuf 3.5.1 下载: protobuf 3.5.1 cmake 编译 使用 VS2015开发人员命令提示 进入 protobuf 的 cmake 目录: mkdir building && mkdir debug && mkdir releas ...
分类:
其他好文 时间:
2020-07-17 13:54:58
阅读次数:
77
传统unix应用程序设计逻辑,autoconf有一个prefix的概念。 系统的系统库,基础工具和内核是放到一套代码树中的,编译这个代码,内核和核心库,工具是一同完成的,这些都被认为是操作系统的一部分。这些核心文件,就以根目录作为prefix。所以,/是所有操作系统核心程序的prefix。 在这个核 ...
分类:
系统相关 时间:
2020-07-17 09:18:36
阅读次数:
87
参考视频:https://www.bilibili.com/video/BV14J4114768?p=198 码云:https://gitee.com/xiaoqiang001 JS部分:HTML、css要求会切图,js基础部分函数、对象和bom以及dom 1.选择器: 后代选择器:.nav a 子 ...
分类:
Web程序 时间:
2020-07-16 21:53:18
阅读次数:
133
问题:The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include' ...
分类:
其他好文 时间:
2020-07-16 21:35:07
阅读次数:
85
一、获取header方法 getheader.py # _*_ coding:utf-8 _*_ import json,requests from Common import readConfig def get_token(): "获取登录token" login=readConfig.Read ...
分类:
编程语言 时间:
2020-07-16 21:08:02
阅读次数:
78
class AppendStatus{ successed = false; constructor(){ } success(listenEvent){ this.successed = true; if(listenEvent){ listenEvent.run(); } } getStatus ...
分类:
其他好文 时间:
2020-07-16 21:01:41
阅读次数:
55
我们都知道redis是内存数据库,数据都存储在内存当中,当redis服务宕机了,就没有可用的服务了,请求数据就会失败,所以我们需要搭建多个服务(集群),当单个服务崩溃后,其他服务选择一个替代死掉的服务,继续工作。提高程序的稳定性。废话不多说了。 将压缩包解压然后复制,总共3份,我们搭建1主2从模式, ...
分类:
其他好文 时间:
2020-07-16 20:59:04
阅读次数:
107
在HotSpot虚拟机里,对象在堆内存中的存储不惧可以划分为三个部分: 对象头(Header)、实例数据(Instance Data)和对齐填充(Padding)。 对象头:包含了Mark Word(一定存在),元数据指针(一定存在),数组size(如果这个对象是个数组对象的话)。 实例数据:类元信 ...
分类:
编程语言 时间:
2020-07-16 12:19:07
阅读次数:
100