摘要: 数据库构架设计中主要有Shared Everthting、Shared Nothing、和Shared Disk: Shared Everthting:一般是针对单个主机,完全透明共享CPU/MEMORY/IO,并行处理能力是最差的,典型的代表SQLServer Shared Disk:各个处理单元 阅读全文
posted @ 2017-02-14 15:10 FreePress 阅读(23670) 评论(0) 推荐(6) 编辑
摘要: Installing DNF Currently the DNF package comes from the EPEL repository, so if your Linux system is not already configured to use this repository, sim 阅读全文
posted @ 2017-02-13 15:38 FreePress 阅读(2507) 评论(0) 推荐(0) 编辑
摘要: 进入目录: cd /etc/sysconfig/network-scripts/ cd /etc/sysconfig/network-scripts/ 用ls命令查看网卡配置文件名(在CENTOS7中网卡名貌似变成了随机数字,所以每台机器的网卡名并不相同) 编辑网卡配置文件,将最后一行的ONBOOT 阅读全文
posted @ 2017-02-13 15:32 FreePress 阅读(1789) 评论(0) 推荐(0) 编辑
摘要: 跨子域的iframe高度自适应 比如 'https://www.kzwr.com/topics/baidu' 嵌入了 'http://pan.kzwr.com/',这种跨子域的页面,实现起来也比较简单,看下面的详细代码: 阅读全文
posted @ 2017-02-10 14:55 FreePress 阅读(273) 评论(0) 推荐(0) 编辑
摘要: How many people would you like to invite? Enter the invitee's info. body {background: #bassa55; font-family: sans-serif;} p {margin: 1em 0 .5em} input { font-si... 阅读全文
posted @ 2017-02-08 14:33 FreePress 阅读(434) 评论(0) 推荐(0) 编辑
摘要: public static void CmdKillProcess(int pid) { string cmdStr = string.Format("taskkill /pid {0} /f &exit", pid); using (Process process = new Process()) 阅读全文
posted @ 2017-02-06 00:06 FreePress 阅读(1653) 评论(0) 推荐(0) 编辑
摘要: Application.Exit会在所有前台线程退出后,退出应用, Environment.Exit则立即终止进程,相比之下Environment.Exit更狠些 private static void ReStart() { Application.Exit(); System.Diagnosti 阅读全文
posted @ 2017-02-05 23:34 FreePress 阅读(622) 评论(0) 推荐(0) 编辑
摘要: Thanks to the ASP.NET Core middleware pipeline, it is relatively simple to add additional HTTP headers to your application by using custom middleware. 阅读全文
posted @ 2017-02-01 16:21 FreePress 阅读(382) 评论(0) 推荐(0) 编辑
摘要: At the beginning of each new year, many people take on a challenge to learn something new or commit to reinforcing existing skills. Over the next two 阅读全文
posted @ 2017-01-18 18:43 FreePress 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 在oracle中,如果已经存在的数据的某些列,假如要更换类型的话,有的时候是比较麻烦的, 会出现:ORA-01439: column to be modified must be empty to change datatype 修改方法为: Kzwr alter table test add tm 阅读全文
posted @ 2017-01-13 17:14 FreePress 阅读(463) 评论(0) 推荐(0) 编辑