new Date() //Thu Dec 27 2018 12:16:16 GMT+0800 (中国标准时间); new Date('2018-1-1,12:20:20'/1258454512000) //转换时间格式的字符串或者1970到现在的毫秒数 为中国标准时间 new Date().getH ...
分类:
Web程序 时间:
2018-12-27 13:15:01
阅读次数:
189
参考文档: http://jm.taobao.org/2017/01/12/rocketmq quick start in 10 minutes/ http://rocketmq.apache.org/docs/quick start/ https://www.jianshu.com/p/82406 ...
分类:
其他好文 时间:
2018-12-27 00:32:21
阅读次数:
106
[root@localhost ~]# yum -y install wget wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz && tar xzf oneinstack-full.tar.gz && ./oneinstack/inst ...
分类:
其他好文 时间:
2018-12-21 19:43:25
阅读次数:
238
string redisConnectionString = Configuration.GetSection("Storage:Redis").GetValue("ConnectionString"); string redisInstanceName = Configuration.GetSec... ...
分类:
Web程序 时间:
2018-12-20 00:56:31
阅读次数:
747
Bo Qian's YouTube Channel Modern C++ 1. Learn C++ 11 in 20 Minutes - Part 1 Vector initializer. Extended curly braces initialization to any classes, t ...
分类:
其他好文 时间:
2018-12-15 22:03:28
阅读次数:
232
过程: Filling queue with 20000 CIFAR images before starting to train. This will take a few minutes. step 0, loss =4.68 (19.0 examples/sec; 6.734 sec/bat ...
分类:
其他好文 时间:
2018-12-14 22:49:43
阅读次数:
223
1、将时间戳转换成 2018-12-13 17:35:26 ...
分类:
其他好文 时间:
2018-12-13 19:16:52
阅读次数:
177
此时针是以画布的中心为圆心; ctx.translate(width/2,width/2); 此函数是将画布的原点移到(width/2,width/2) 数字的位置我们利用了三角函数的原理 x=rcosα; y=rsinα; α = 2 * π * i * 30 / 360; 利用取余把12,3,6 ...
分类:
其他好文 时间:
2018-12-12 20:40:10
阅读次数:
213
A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents ...
分类:
编程语言 时间:
2018-12-12 19:02:37
阅读次数:
168