2018年3月14日
We’re pleased to announce that ACMEv2 and wildcard certificate support is live! With today’s new features we’re continuing to break down barriers for HTTPS adoption across the Web by making it even easier for every website to get and manage certificates. ACMEv21.7k is an updated version of our ACME protocol which has gone through the IETF standards process, taking into account feedback from industry experts and other organizations that might want to use the ACME protocol for certificate issuance and management some day. Wildcard certificates2.0k allow you to secure all subdomains of a domain with a single certificate. Wildcard certificates can make certificate management easier in some cases, and we want to address those cases in order to help get the Web to 100% HTTPS. We……
阅读全文
2018年3月6日
Linux中zip压缩和unzip解压缩命令详解 把/home目录下面的mydata目录压缩为mydata.zip zip -r mydata.zip mydata #压缩mydata目录 把/home目录下面的mydata.zip解压到mydatabak目录里面 unzip mydata.zip -d mydatabak 把/home目录下面的abc文件夹和123.txt压缩成……
阅读全文
2018年2月9日
<script> // 获取滚动条当前的位置 function getScrollTop() { var scrollTop = 0; if (document.documentElement && document.documentElement.scrollTop) { scrollTop = document.documentElement.scrollTop; } else if (document.body) { scrollTop = document.body.scrollTop; } return scrollTop; } // 获取当前可是范围的高度 function getClientHeight() { var clientHeight = 0; if (document.body.clientHeight && document.documentElement.clientHeight) { clientHeight = Math.min(document.body.clientHeight, document.documentElement.clientHeight); } else { clientHeight = Math.max(document.body.clientHeight, document.documentElement.clientHeight); } return clientHeight; } // 获取文档完整的高度 function getScrollHeight() { return Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); } // 注册页面滚动事件 window.onscroll = function () { if (getScrollTop() + getClientHeight() == getScrollHeight()) { console.log("到达底部……
阅读全文
2018年2月5日
点击蓝灯->设置->高级设置,查看HTTP(S)代理服务器,例如:127.0.0.1:40941 在命令行运行: export http_proxy="127.0.0.1:40941" && export https_proxy="127.0.0.1:40941"……
阅读全文
2018年1月31日
自推出以来,Google的Go编程语言(Golang)越来越受主流用户的欢迎。在2016年12月的一份调研中,3,595名受访者中有89%表明他们在工作中或工作以外用Go语言编程。 此外,在编程语言中,Go语言在专业知识和偏好方面排名最高。2017年7月,在Tiobe的年度编程语言……
阅读全文
2018年1月30日
属性声明是由关键字 public,protected 或者 private 开头,然后跟一个普通的变量声明来组成。属性中的变量可以初始化,但是初始化的值必须是常数,这里的常数是指 PHP 脚本在编译阶段时就可以得到其值,而不依赖于运行时的信息才能求值。 class Controller { private $Domain = 'https://www.cnbattle.com'; // private $Url = $this->Domain.'/index.php'; 这样是错误的 private $Url; public function __construct(){ $this->Url = $this->Domain.'/index.php'; } }……
阅读全文
2018年1月27日
/禁用右键 document.oncontextmenu = function () { return false; }; //禁用开发者工具F12 document.onkeydown = function () { if (window.event && window.event.keyCode == 123) { event.keyCode = 0; event.returnValue = false; return false; } };……
阅读全文
2018年1月25日
在网卡文件中修改 echo 'DNS1="114.114.114.114" ' >> /etc/sysconfig/network-scripts/ifcfg-eth0 在主机表文件host文件中修改 echo "223.231.234.33 www.baidu.com" >> /etc/hosts 在域名服务器中修改 echo 'nameserver 114.114.114.114' >> /etc/resolv.conf 来源:http://blog.csdn.net/zouqingfang/article/details/52161976……
阅读全文
2018年1月22日
Ajenti:Linux和BSD控制面板。官网 Feathur:VPS供应和管理软件。官网 ISPConfig:Linux主机控制面板。官网 VestaCP:用于Linux和Nginx的主机面板。官网 Virtualmin:基于webmin的Linux控制面板。官网 ZPanel:Linu……
阅读全文
2018年1月22日
由于安装了多个版本造成的,请彻底卸载重新安装需要的版本即可.……
阅读全文