02 2017 档案
摘要:In a web browser, visit mysql.com page: Locate the desired version, and update it as needed in the link below: Execute the following command: dnf inst
阅读全文
摘要:Normally, documents on different pages are able to communicate between each other only if their domains, protocols and ports match up. HTML 5 specific
阅读全文
摘要:Linux的内存分配采取的是一种更加积极的分配策略,它假设应用申请了内存空间后并不会立即去使用它,所以允许一定量的超售,当应用真的需要使用它的时候,操作系统可能已经通过回收了其他应用的内存空间而变得有能力去满足这个应用的需求,简单的说,就是允许应用申请比实际可分配空间(包括物理内存和Swap)更多的
阅读全文
摘要:WRONGTYPE Operation against a key holding the wrong kind of value github:https://github.com/antirez/redis/issues/2864 原因为redis存在一个同key但是类型不同的数据,在插入新类型
阅读全文
摘要:如果MM是小写,就表示时间里的分钟yyyy-MM-dd HH:mm:ss (年-月-日 时:分:秒) yyyy-MM-dd HH:mm:ss 年-月-日 时:分:秒大写是为了区分“月”与“分”顺便说下HH为什么大写,是为了区分12小时制与24小时制。小写的h是12小时制,大写的H是24小时制。书写格
阅读全文
摘要:概念: PostgreSQL (pronounced "post-gress-Q-L") is an open source relational database management system ( DBMS ) developed by a worldwide team of volunte
阅读全文
摘要:数据库构架设计中主要有Shared Everthting、Shared Nothing、和Shared Disk: Shared Everthting:一般是针对单个主机,完全透明共享CPU/MEMORY/IO,并行处理能力是最差的,典型的代表SQLServer Shared Disk:各个处理单元
阅读全文
摘要: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
阅读全文
摘要:进入目录: cd /etc/sysconfig/network-scripts/ cd /etc/sysconfig/network-scripts/ 用ls命令查看网卡配置文件名(在CENTOS7中网卡名貌似变成了随机数字,所以每台机器的网卡名并不相同) 编辑网卡配置文件,将最后一行的ONBOOT
阅读全文
摘要:跨子域的iframe高度自适应 比如 'https://www.kzwr.com/topics/baidu' 嵌入了 'http://pan.kzwr.com/',这种跨子域的页面,实现起来也比较简单,看下面的详细代码:
阅读全文
摘要: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...
阅读全文
摘要:public static void CmdKillProcess(int pid) { string cmdStr = string.Format("taskkill /pid {0} /f &exit", pid); using (Process process = new Process())
阅读全文
摘要:Application.Exit会在所有前台线程退出后,退出应用, Environment.Exit则立即终止进程,相比之下Environment.Exit更狠些 private static void ReStart() { Application.Exit(); System.Diagnosti
阅读全文
摘要:Thanks to the ASP.NET Core middleware pipeline, it is relatively simple to add additional HTTP headers to your application by using custom middleware.
阅读全文

浙公网安备 33010602011771号