1. 异常处理代码 /// <summary> /// 异常处理 /// </summary> public class WebExceptionFilterAttribute : IExceptionFilter { public virtual void OnException(Exceptio ...
分类:
Web程序 时间:
2020-04-27 15:12:27
阅读次数:
78
纯虚类中,纯虚析构函数。 由于子类会调用父类析构,所以春虚析构函数不同于其他纯虚函数,不只是要声明,还需要实现。 否则编译会异常。 例如 class Session:{ public: Session(); virtual ~Session()=0; } Session::~Session(){} ...
分类:
编程语言 时间:
2020-04-26 11:12:25
阅读次数:
72
NW.js https://stackoverflow.com/questions/36022891/is it possible to distribute a nwjs app as a single exe file) How to use nw package_folder_which_co ...
分类:
Web程序 时间:
2020-04-24 21:25:52
阅读次数:
84
写在前面 参考答案在看云平台发布,如果大家想阅读参考答案,可直接购买, 看云平台 50 个免费开通权限 已经使用完毕,感谢大家的支持! 有什么意见与建议欢迎您及时联系作者或留言回复! Vue开发交流微信群:(二维码定期更新,长期有效!或添加群主微信hanxuming888进群) 本文档基于vue-c ...
分类:
其他好文 时间:
2020-04-23 19:18:39
阅读次数:
126
一、构建环境介绍directorserver:192.168.50.232VIP(virtualip):192.168.50.252realserver1:192.168.50.207realserver2:192.168.50.235测试服务器:192.168.50.208三台服务器都关闭防火墙和selinux(systemctlstopfirewalld&&setenforce
分类:
其他好文 时间:
2020-04-20 23:44:22
阅读次数:
71
linux top命令VIRT,RES,SHR,DATA的含义 字体: 大 小Posted by 佚名 | tags: top VIRT RES SHR VIRT:virtual memory usage 虚拟内存1、进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等2、假如进程申请100m ...
分类:
系统相关 时间:
2020-04-20 21:29:06
阅读次数:
96
create tablespace test datafile 'D:\ytzz\Oracle\oracledata\test.DBF' size 4500M autoextend on next 100M maxsize unlimited; drop user test cascade;/cre ...
分类:
其他好文 时间:
2020-04-20 13:57:23
阅读次数:
75
Vagrant+virtualBox 1、准备工作 1)Vagrant下载 https://www.vagrantup.com/downloads.html 2)Virtualbox 5.1下载 https://www.virtualbox.org/wiki/Download_Old_Builds_ ...
分类:
其他好文 时间:
2020-04-19 00:57:57
阅读次数:
205
arm-none-eabi-gcc编译之后会显示一些信息,比如 下面就来说受每个字段的含义以及它们与bin文件大小的关系。text区是代码区,就是程序编译之后源码的区域,在烧录之后一直位于Flash ROM中。 data和bss都是指的全局变量以及函数内static的变量,区别是data是有初始值的 ...
分类:
其他好文 时间:
2020-04-17 14:05:37
阅读次数:
82