new 操作符做了这些事: 1.它创建了一个全新的对象; 2.它会被执行[[Prototype]](也就是__proto__)链接; 3.它使this指向新创建的对象; 4.通过new创建的每个对象最终被[[Prototype]]链接到这个函数的prototype对象上; 5.如果函数没有返回对象类 ...
分类:
其他好文 时间:
2019-12-07 12:34:28
阅读次数:
150
链表 节点 Node up; Node down; Object o; 属性Node first; Node last; int size; 方法 add(Object o); remove(int index); get(int index); getNode(int index); isEmpt ...
分类:
编程语言 时间:
2019-12-07 12:31:12
阅读次数:
107
1、官网下载 https://www.centos.org/download/ 第一个是默认当前版本 第二个是选择其他版本 二、其他渠道下载 http://mirrors.163.com/ ...
分类:
系统相关 时间:
2019-12-07 10:26:03
阅读次数:
71
修改nginx配置文件,在 块中添加以下内容: 重启nginx,就能继续工作了~ ...
分类:
Web程序 时间:
2019-12-06 23:40:14
阅读次数:
128
点击事件代码: function addnewstatio() { var newstationname = $('#newstationname').val(); var newbusinfo = $('#newbusinfo').val(); var newstationstarttime = ...
分类:
其他好文 时间:
2019-12-06 23:22:22
阅读次数:
152
RewriteEngine On# 将404页面跳转到 http://abc.com/ ErrorDocument 404 http://abc.com/# 将 不是abc.com 永久跳转到 http://abc.comrewriteCond %{http_host} !^abc.com [NC] ...
分类:
数据库 时间:
2019-12-06 21:17:47
阅读次数:
95
CentOS repo: wget http://mirrors.163.com/.help/CentOS6-Base-163.repo EPEL wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noar ...
分类:
其他好文 时间:
2019-12-06 19:00:16
阅读次数:
105
我们已知,yum upgrade命令可以将整个系统升级到最新版本。 但是很多时候,我们需要更新到指定版本,比如,当前最新的CentOS版本是7.6.1810 但是我需要更新到7.4,可以如下这样做: 1. CentOS的repo是不维护历史版本的。所有历史版本都在这里, http://vault.c ...
分类:
其他好文 时间:
2019-12-06 13:40:50
阅读次数:
340
首先要导入registry的镜像文件 1.普通的registry 一条命令创建一个仓库 docker run d p 5000:5000 restart=always name registry v /opt/myregistry:/var/lib/registry registry 上传镜像到私有 ...
分类:
其他好文 时间:
2019-12-05 22:15:39
阅读次数:
126
1 NX11+VS2013 2 3 4 #include <uf.h> 5 #include <uf_modl.h> 6 7 8 UF_initialize(); 9 10 //创建块 11 UF_FEATURE_SIGN Sign = UF_NULLSIGN;//设置布尔 12 double Co ...
分类:
其他好文 时间:
2019-12-05 22:10:23
阅读次数:
165