1.新建一个js页面 event.js,里面放三个调用函数,并把这三个函数暴露出去 function on(event, fn, ctx) { if (typeof fn != "function") { console.error('fn must be a function') return } ...
分类:
微信 时间:
2020-03-14 18:13:25
阅读次数:
74
1003 Emergency (25分) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities ...
分类:
其他好文 时间:
2020-03-14 13:14:44
阅读次数:
85
AD活动目录的优点:-集中管理:对象主要是用户和计算机。-便捷的网络资源访问:用户登录域中任意一台计算机都可以访问域中的资源。-可扩展性:Ecchange服务器 集中管理:-用户:用户描述、部门、邮件地址、电话和住址等。-联系人:所在公司的名称和地址、邮件地址、传真等。 管理AD中的计算机、组合OU ...
分类:
其他好文 时间:
2020-03-13 20:39:32
阅读次数:
77
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:
其他好文 时间:
2020-03-13 13:03:41
阅读次数:
52
设置好menuconfig后,sudo make 然后拷到nfs目录,启动后出现错误如图: 此时的bin目录下文件状态 使用sudo chown root * -R后,状态为: 这条命令的意思是更改当前目录下所有的文件的owner(就是所有者)为root,-R意思是循环遍历,如果当前目录下有子目录, ...
分类:
其他好文 时间:
2020-03-13 01:29:25
阅读次数:
142
在云服务器上安装上mysql5.7后,登录后报错error:1820 1820的错误就是 You must reset your password using ALTER USER statement before executing this statement. 解释:在执行此语句之前,必须使用 ...
分类:
数据库 时间:
2020-03-12 19:09:06
阅读次数:
58
1105 Spiral Matrix (25分) This time your job is to fill a sequence of N positive integers into a spiral matrix in non increasing order. A spiral matrix ...
分类:
其他好文 时间:
2020-03-11 23:40:07
阅读次数:
75
1 #include <bits/stdc++.h> 2 #define dbg(x) cout << #x << "=" << x << endl 3 #define eps 1e-8 4 #define pi acos(-1.0) 5 6 using namespace std; 7 typed ...
分类:
其他好文 时间:
2020-03-10 01:12:16
阅读次数:
52
一:文件写入: (1):文件操作需要加载fs核心模块。 /* 文件写入:分为同步和异步写入。 1:同步写入函数:fs.writeFileSync(file,data,options) ; 2:异步写入函数:fs.writeFile(file,data,options,callback) ; 3:参数 ...
分类:
Web程序 时间:
2020-03-09 22:33:07
阅读次数:
85
1则代表的是对年份操作,2是对月份操作,3是对星期操作,5是对日期操作,11是对小时操作,12是对分钟操作,13是对秒操作,14是对毫秒操作。 public static Date addYears(Date date, int amount) { return add(date, 1, amoun ...
分类:
编程语言 时间:
2020-03-09 15:05:43
阅读次数:
99