第一章.初始Web程序 1.什么是C/S架构和B/S C/S Client Server面向于客户端,用户通过客户端跟程序进行交互(需要维护客户端,成本较高) B/S Browser Server面向于浏览器,用户通过浏览器进行程序交互 2.URL:统一资源定位符(Uniform Resource ...
分类:
Web程序 时间:
2020-07-18 22:07:19
阅读次数:
117
网卡配置,请根据自己的情况,做相应的修改 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=static IPADDR=192.168.124.16 NETMASK=255.255.255.0 GATEWAY=192.168.124. ...
分类:
其他好文 时间:
2020-07-18 21:50:11
阅读次数:
284
目录 一、Nginx是什么 二、Nginx实现反向代理 2.1 正向代理和反向代理 2.2 nginx实现反向代理 2.2.1 proxy_pass配置 2.2.1.1ngx_http_rewrite_module模块 2.2.2 proxy_set_header配置 2.3 nginx实现负载均衡 ...
分类:
其他好文 时间:
2020-07-18 19:51:41
阅读次数:
73
C++基本操作 vector #####如何查找 第二维?或者第一维 【链接】对vector中的pair进行多次find操作 class isE{ isE(int val) :User(val){} bool operator()(const pair<int,int>& e)const{ retu ...
分类:
编程语言 时间:
2020-07-18 13:48:27
阅读次数:
77
实验环境:linux-3.4.2 busybox-1.20.0 问题描述: 学习驱动开发时,使用rmmod卸载已经安装成功的驱动模块时出现了rmmod: chdir(/lib/modules): No such file or directory错误提示 解决方法: 报错之后第一反应怀疑是不是驱动模 ...
分类:
其他好文 时间:
2020-07-18 11:29:57
阅读次数:
95
步骤一 webpack 配置中添加ProvidePlugin插件,congfig/webpack.config.js: module.exports = function (webpackEnv) { plugins: [ new webpack.ProvidePlugin({ $: 'jquery ...
分类:
Web程序 时间:
2020-07-18 00:58:22
阅读次数:
169
新建filter.wxs文件,文件内容如下 var format = function (text) { if (!text) { return } var reg = getRegExp('\\\\n', 'g') return text.replace(reg,'\n')} module.exp ...
分类:
微信 时间:
2020-07-17 19:33:34
阅读次数:
243
命名py脚本时,不要与python预留字,模块名等相同,即Python文件名不要使用Python系统库的名字,就是因为使用了Python系统库的名字,所以在编译的时候才会产生.pyc文件。正常的Python文件在编译运行的时候是不会产生.pyc文件的! 这类问题的解决方法则是:更改python脚本的 ...
分类:
其他好文 时间:
2020-07-17 19:27:07
阅读次数:
76
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
nginx 添加 --with-http_stub_status_module --with-http_ssl_module
分类:
Web程序 时间:
2020-07-17 16:29:55
阅读次数:
91