原文:https://blog.risingstack.com/node-js-best-practices/Coding styleCallback约定模块应该暴露一个error-first的callback例如:module.exports = function (dragonName, cal...
分类:
Web程序 时间:
2015-07-30 16:26:45
阅读次数:
145
1 Index.html -->2 cal.js/** * Created by Jackey Li on 2015/7/26. */import {Hello} from './profile.js';class Calc { constructor(){ thi...
分类:
其他好文 时间:
2015-07-28 22:55:11
阅读次数:
171
Max Sum Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to cal....
分类:
其他好文 时间:
2015-07-28 12:55:12
阅读次数:
135
date输出日期和时间cal查看当月日历cal-y查看全年日历修改系统时间date-s"2014-12-3013:23:23"网络更新时间yuminstall-yntpntpdatentp.fudan.edu.cn使用复旦大学的时间服务器,校对时间。date+%F只打印日期如:2014-12-30date+%T只打印时间如:13:23:23date+%Y只打印年如:2014..
分类:
其他好文 时间:
2015-07-27 16:33:57
阅读次数:
99
题意:给出平面上N(cal(midmid)) r= midmid...
分类:
其他好文 时间:
2015-07-25 10:46:39
阅读次数:
127
枚举差和差的1/2#include
#include
#include
using namespace std;double a[111];
double d[111];
int n;bool cal(double dis) {
int ok = 1;
for(int i=1; i<n-1; i++) {...
分类:
其他好文 时间:
2015-07-25 00:16:46
阅读次数:
118
Java获得当前时间1 java.util.Date date = new java.util.Date();2 Timestamp time = new Timestamp(date.getTime());Java获得昨天的时间1 Calendar cal = Calendar.getInstan...
分类:
数据库 时间:
2015-07-24 16:04:08
阅读次数:
233
稍微麻烦点的就是需要求导判断最小值的位置#include"cstdio"#include"cstring"#include"algorithm"#include"cmath"#define MAXN 505using namespace std;double cal(double x,double ...
分类:
其他好文 时间:
2015-07-23 19:41:38
阅读次数:
121
关于回波损耗 和 驻波比的摘要以下摘自:http://www.soontai.com/cal_rtvswr.htmlRL = 20log((VSWR+1) / (VSWR-1)) VSWR = (1+(10^RL/20)) / ((10^RL/20)-1) * RL = Return LossRet...
分类:
其他好文 时间:
2015-07-23 17:32:16
阅读次数:
114
//
// main.m
// a+b
//
#import
#import "Calcultor.h"
int main(int argc, const char * argv[])
{
Calcultor * cal = [[Calcultor alloc]init];
[cal setA:10];
[cal setB:20];
in...
分类:
移动开发 时间:
2015-07-22 09:24:51
阅读次数:
135